Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_low.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008213/0.0008213, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008511/0.0008511, allocations: 170.3 kB / 22.46 MB, free: 2.105 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8908/0.8908, allocations: 177.1 MB / 202.8 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002056/0.002056, allocations: 238 kB / 259.4 MB, free: 13.02 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.6766/0.6766, allocations: 138.4 MB / 454.3 MB, free: 29.99 MB / 410.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_low,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_Transmission_Functions_Validation_SelectCable_low",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_low,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_Transmission_Functions_Validation_SelectCable_low",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.222e-06/1.222e-06, allocations: 0 / 0.6463 GB, free: 1.895 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.415e-05/1.537e-05, allocations: 6.219 kB / 0.6463 GB, free: 1.887 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_low): time 0.001506/0.001521, allocations: 1.416 MB / 0.6476 GB, free: 464 kB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.2328/0.2343, allocations: 1.742 MB / 0.6494 GB, free: 55.59 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.231e-05/0.2343, allocations: 0.9375 kB / 0.6494 GB, free: 55.59 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.0008145/0.2351, allocations: 364.2 kB / 0.6497 GB, free: 55.45 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 4.014e-05/0.2352, allocations: 17.03 kB / 0.6497 GB, free: 55.44 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 4.659e-06/0.2352, allocations: 0.6562 kB / 0.6497 GB, free: 55.44 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.0001768/0.2353, allocations: 135.9 kB / 0.6498 GB, free: 55.38 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 4.327e-05/0.2354, allocations: 6.266 kB / 0.6499 GB, free: 55.38 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 7.4e-05/0.2355, allocations: 61.42 kB / 0.6499 GB, free: 55.37 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 9.87e-05/0.2356, allocations: 53.02 kB / 0.65 GB, free: 55.36 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 1.556e-05/0.2356, allocations: 2.281 kB / 0.65 GB, free: 55.36 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002815/0.2359, allocations: 180.4 kB / 0.6501 GB, free: 55.35 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 4.395e-05/0.2359, allocations: 35.78 kB / 0.6502 GB, free: 55.34 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 5.568e-05/0.236, allocations: 45.39 kB / 0.6502 GB, free: 55.33 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0002934/0.2362, allocations: 304.2 kB / 0.6505 GB, free: 55.25 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.2363, allocations: 1.766 kB / 0.6505 GB, free: 55.25 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.303e-06/0.2363, allocations: 0 / 0.6505 GB, free: 55.25 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 4.639e-06/0.2363, allocations: 0 / 0.6505 GB, free: 55.25 MB / 0.5573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0004485/0.2367, allocations: 427 kB / 0.6509 GB, free: 54.92 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.602e-05/0.2367, allocations: 13.92 kB / 0.6509 GB, free: 54.92 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.287e-05/0.2368, allocations: 108.2 kB / 0.651 GB, free: 54.8 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.283e-05/0.2368, allocations: 99.84 kB / 0.6511 GB, free: 54.72 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001153/0.237, allocations: 226.9 kB / 0.6513 GB, free: 54.51 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.675e-05/0.237, allocations: 152.8 kB / 0.6515 GB, free: 54.36 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.843e-05/0.237, allocations: 153.7 kB / 0.6516 GB, free: 54.21 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 3.457e-05/0.237, allocations: 108.2 kB / 0.6517 GB, free: 54.11 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.677e-06/0.237, allocations: 77.81 kB / 0.6518 GB, free: 54.03 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.445e-05/0.2371, allocations: 157.3 kB / 0.652 GB, free: 53.88 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.145e-05/0.2371, allocations: 150.6 kB / 0.6521 GB, free: 53.73 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.378e-05/0.2371, allocations: 156.7 kB / 0.6523 GB, free: 53.58 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001663/0.2372, allocations: 488.1 kB / 0.6527 GB, free: 53.12 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 3.489e-05/0.2373, allocations: 165.8 kB / 0.6529 GB, free: 52.95 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.227e-05/0.2373, allocations: 89.48 kB / 0.653 GB, free: 52.87 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 8.546e-06/0.2373, allocations: 75.28 kB / 0.653 GB, free: 52.79 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.508e-05/0.2373, allocations: 116.4 kB / 0.6531 GB, free: 52.68 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=0): time 6.61e-07/0.2373, allocations: 0 / 0.6531 GB, free: 52.68 MB / 0.5573 GB Notification: Performance of matching and sorting (n=0): time 9.719e-05/0.2374, allocations: 58.23 kB / 0.6532 GB, free: 52.62 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.134e-05/0.2374, allocations: 126.7 kB / 0.6533 GB, free: 52.49 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001982/0.2376, allocations: 324.7 kB / 0.6536 GB, free: 52.38 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 5.68e-06/0.2376, allocations: 27.55 kB / 0.6537 GB, free: 52.34 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 3.524e-05/0.2377, allocations: 113.6 kB / 0.6538 GB, free: 52.25 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 2.295e-06/0.2377, allocations: 0 / 0.6538 GB, free: 52.25 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.377e-05/0.2377, allocations: 65.28 kB / 0.6538 GB, free: 52.24 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 3.3e-05/0.2378, allocations: 329.8 kB / 0.6541 GB, free: 51.93 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.915e-05/0.2378, allocations: 66.62 kB / 0.6542 GB, free: 51.92 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.134e-05/0.2379, allocations: 122.2 kB / 0.6543 GB, free: 51.86 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001451/0.238, allocations: 208.8 kB / 0.6545 GB, free: 51.8 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.238, allocations: 5.344 kB / 0.6545 GB, free: 51.8 MB / 0.5573 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0002542/0.2383, allocations: 237.7 kB / 0.6548 GB, free: 51.75 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.184e-05/0.2383, allocations: 5.375 kB / 0.6548 GB, free: 51.75 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.622e-06/0.2383, allocations: 1.938 kB / 0.6548 GB, free: 51.75 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.216e-05/0.2383, allocations: 7.094 kB / 0.6548 GB, free: 51.75 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.703e-06/0.2383, allocations: 3.562 kB / 0.6548 GB, free: 51.75 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.831e-06/0.2383, allocations: 3.906 kB / 0.6548 GB, free: 51.75 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.587e-05/0.2384, allocations: 25.17 kB / 0.6548 GB, free: 51.73 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.933e-06/0.2384, allocations: 7.172 kB / 0.6548 GB, free: 51.73 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 7 (cab[1].material,cab[2].material,cab[3].material,cab[4].material,cab[5].material,cab[6].material,cab[7].material) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 7 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001253/0.2385, allocations: 233.1 kB / 0.655 GB, free: 51.53 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.368e-05/0.2385, allocations: 119 kB / 0.6551 GB, free: 51.41 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.98e-05/0.2386, allocations: 116.2 kB / 0.6553 GB, free: 51.31 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.346e-05/0.2386, allocations: 187.2 kB / 0.6554 GB, free: 51.12 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.358e-05/0.2386, allocations: 178.2 kB / 0.6556 GB, free: 50.94 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.262e-05/0.2386, allocations: 181.6 kB / 0.6558 GB, free: 50.76 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000107/0.2387, allocations: 419.2 kB / 0.6562 GB, free: 50.35 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.836e-06/0.2387, allocations: 110.2 kB / 0.6563 GB, free: 50.24 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.506e-06/0.2387, allocations: 107.7 kB / 0.6564 GB, free: 50.13 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.175e-05/0.2387, allocations: 178.6 kB / 0.6565 GB, free: 49.95 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.483e-05/0.2388, allocations: 183.6 kB / 0.6567 GB, free: 49.77 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.341e-05/0.2388, allocations: 185.1 kB / 0.6569 GB, free: 49.59 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.484e-05/0.2388, allocations: 177 kB / 0.6571 GB, free: 49.41 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.52e-05/0.2388, allocations: 320.9 kB / 0.6574 GB, free: 49.09 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 2.682e-05/0.2389, allocations: 123.7 kB / 0.6575 GB, free: 48.96 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.726e-05/0.2389, allocations: 182 kB / 0.6577 GB, free: 48.79 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.33e-05/0.2389, allocations: 108.2 kB / 0.6578 GB, free: 48.68 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.647e-05/0.239, allocations: 180.9 kB / 0.6579 GB, free: 48.49 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.625e-06/0.239, allocations: 103.9 kB / 0.658 GB, free: 48.39 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0001195/0.2391, allocations: 216.3 kB / 0.6582 GB, free: 48.31 MB / 0.5573 GB Notification: Performance of sort global known variables: time 6.1e-08/0.2391, allocations: 0 / 0.6582 GB, free: 48.31 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0002107/0.2393, allocations: 63.22 kB / 0.6583 GB, free: 48.3 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002695/0.2396, allocations: 0.9216 MB / 0.6592 GB, free: 47.47 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0001098/0.2397, allocations: 82.39 kB / 0.6593 GB, free: 47.46 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.312e-06/0.2397, allocations: 0 / 0.6593 GB, free: 47.46 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 1.824e-06/0.2397, allocations: 6.828 kB / 0.6593 GB, free: 47.46 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001872/0.2399, allocations: 469 kB / 0.6597 GB, free: 47 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001347/0.2412, allocations: 2.449 MB / 0.6621 GB, free: 45.26 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.471e-05/0.2413, allocations: 132.9 kB / 0.6623 GB, free: 45.18 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 9.548e-06/0.2413, allocations: 3.125 kB / 0.6623 GB, free: 45.18 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.409e-05/0.2413, allocations: 34.97 kB / 0.6623 GB, free: 45.15 MB / 0.5573 GB Notification: Performance of SimCode: time 5.61e-07/0.2413, allocations: 0.5625 kB / 0.6623 GB, free: 45.15 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01777/0.2591, allocations: 5.592 MB / 0.6678 GB, free: 44 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.637/6.896, allocations: 3.875 kB / 0.6678 GB, free: 44 MB / 0.5573 GB " [Timeout remaining time 653] (rm -f BuildingSystems_BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_low.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_low_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 BuildingSystems_BuildingSystems_Electrical_Transmission_Functions_Validation_SelectCable_low.fmu > BuildingSystems_BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.550705937668681] Failed to read output from testmodel.py, exit status != 0: 6.9781846245750785 6.98581228 6.747696459 Calling exit ...