Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Examples.PowerLinearized.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.0009081/0.0009081, allocations: 72.5 kB / 19.92 MB, free: 4.633 MB / 18.57 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.001161/0.001161, allocations: 174.3 kB / 23.21 MB, free: 1.352 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.9605/0.9605, allocations: 177.1 MB / 203.5 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.5768/0.5768, allocations: 114 MB / 373.9 MB, free: 8.699 MB / 346.7 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 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(IBPSA.Utilities.Math.Examples.PowerLinearized,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_PowerLinearized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Examples.PowerLinearized,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_PowerLinearized",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.484e-06/2.484e-06, allocations: 0 / 0.5542 GB, free: 2.746 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.501e-05/2.749e-05, allocations: 2.281 kB / 0.5542 GB, free: 2.742 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.PowerLinearized): time 0.002524/0.002552, allocations: 1.459 MB / 0.5556 GB, free: 1.277 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.0002679/0.00282, allocations: 79.83 kB / 0.5557 GB, free: 1.199 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.043e-05/0.00286, allocations: 0 / 0.5557 GB, free: 1.199 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 3.176e-05/0.002892, allocations: 3.938 kB / 0.5557 GB, free: 1.195 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 4.831e-05/0.00294, allocations: 8 kB / 0.5557 GB, free: 1.188 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002594/0.0032, allocations: 15.92 kB / 0.5557 GB, free: 1.172 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 7.611e-05/0.003276, allocations: 27.86 kB / 0.5557 GB, free: 1.145 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001037/0.003379, allocations: 11.97 kB / 0.5558 GB, free: 1.133 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 5.89e-05/0.003438, allocations: 12 kB / 0.5558 GB, free: 1.121 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 3.711e-05/0.003475, allocations: 7.984 kB / 0.5558 GB, free: 1.113 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 1.835e-05/0.003494, allocations: 4 kB / 0.5558 GB, free: 1.109 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 6.657e-05/0.00356, allocations: 15.98 kB / 0.5558 GB, free: 1.094 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 1.44e-05/0.003575, allocations: 3.938 kB / 0.5558 GB, free: 1.09 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 1.815e-05/0.003593, allocations: 8 kB / 0.5558 GB, free: 1.082 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.0001211/0.003714, allocations: 39.88 kB / 0.5558 GB, free: 1.043 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.003719, allocations: 3.984 kB / 0.5559 GB, free: 1.039 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.084e-06/0.003721, allocations: 0 / 0.5559 GB, free: 1.039 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 4.519e-06/0.003725, allocations: 0 / 0.5559 GB, free: 1.039 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003705/0.004096, allocations: 266.3 kB / 0.5561 GB, free: 0.7461 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.9e-05/0.004145, allocations: 12.56 kB / 0.5561 GB, free: 0.7344 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.265e-05/0.004178, allocations: 38.75 kB / 0.5562 GB, free: 0.6875 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001527/0.00433, allocations: 16.92 kB / 0.5562 GB, free: 0.6719 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.205e-05/0.004422, allocations: 105.8 kB / 0.5563 GB, free: 0.543 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.493e-05/0.004447, allocations: 384 / 0.5563 GB, free: 0.543 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.118e-05/0.004458, allocations: 12.36 kB / 0.5563 GB, free: 0.5312 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001573/0.004616, allocations: 62.16 kB / 0.5563 GB, free: 476 kB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.135e-06/0.004624, allocations: 192 / 0.5563 GB, free: 476 kB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.211e-05/0.004636, allocations: 4.375 kB / 0.5563 GB, free: 472 kB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.175e-06/0.004644, allocations: 4.125 kB / 0.5564 GB, free: 468 kB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001275/0.004772, allocations: 43.95 kB / 0.5564 GB, free: 424 kB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003933/0.005165, allocations: 224 kB / 0.5566 GB, free: 156 kB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001274/0.005292, allocations: 54.55 kB / 0.5567 GB, free: 92 kB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.44e-05/0.005357, allocations: 44.77 kB / 0.5567 GB, free: 44 kB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 2.033e-05/0.005377, allocations: 0 / 0.5567 GB, free: 44 kB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.172e-05/0.005409, allocations: 34.5 kB / 0.5567 GB, free: 0 / 0.5105 GB Notification: Performance of pre-optimization done (n=2): time 1.973e-06/0.005411, allocations: 0 / 0.5567 GB, free: 0 / 0.5105 GB Notification: Performance of matching and sorting (n=2): time 0.0003686/0.005779, allocations: 105.6 kB / 0.5568 GB, free: 15.89 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.268e-05/0.005822, allocations: 51.41 kB / 0.5569 GB, free: 15.83 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.281e-05/0.005905, allocations: 105.8 kB / 0.557 GB, free: 15.71 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.313e-05/0.005918, allocations: 25.7 kB / 0.557 GB, free: 15.68 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 5.601e-05/0.005974, allocations: 88.09 kB / 0.5571 GB, free: 15.59 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.24e-05/0.005997, allocations: 3.938 kB / 0.5571 GB, free: 15.59 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.469e-05/0.006031, allocations: 13.72 kB / 0.5571 GB, free: 15.57 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001011/0.006132, allocations: 314.8 kB / 0.5574 GB, free: 15.25 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.658e-05/0.006199, allocations: 32.03 kB / 0.5574 GB, free: 15.22 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.093e-05/0.00625, allocations: 23.97 kB / 0.5575 GB, free: 15.2 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001071/0.006357, allocations: 52.81 kB / 0.5575 GB, free: 15.14 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.00636, allocations: 0 / 0.5575 GB, free: 15.14 MB / 0.5261 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001457/0.006505, allocations: 89.61 kB / 0.5576 GB, free: 15.05 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.714e-05/0.006523, allocations: 4 kB / 0.5576 GB, free: 15.05 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.803e-06/0.006529, allocations: 0 / 0.5576 GB, free: 15.05 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.584e-05/0.006545, allocations: 0 / 0.5576 GB, free: 15.05 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.248e-05/0.006638, allocations: 11.98 kB / 0.5576 GB, free: 15.04 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.344e-06/0.006645, allocations: 0 / 0.5576 GB, free: 15.04 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.115e-05/0.006676, allocations: 11.92 kB / 0.5576 GB, free: 15.02 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.304e-06/0.006684, allocations: 7.938 kB / 0.5576 GB, free: 15.02 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (2): * Single equations (assignments): 2 * 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 prepare postOptimizeDAE: time 7.541e-05/0.006759, allocations: 109.9 kB / 0.5577 GB, free: 14.9 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.014e-05/0.006779, allocations: 11.92 kB / 0.5578 GB, free: 14.89 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.655e-05/0.006826, allocations: 7.625 kB / 0.5578 GB, free: 14.88 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.849e-06/0.00683, allocations: 0 / 0.5578 GB, free: 14.88 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.193e-06/0.006838, allocations: 0 / 0.5578 GB, free: 14.88 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.006841, allocations: 0 / 0.5578 GB, free: 14.88 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001438/0.006985, allocations: 128.8 kB / 0.5579 GB, free: 14.71 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.006986, allocations: 256 / 0.5579 GB, free: 14.71 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.644e-05/0.007033, allocations: 15.98 kB / 0.5579 GB, free: 14.7 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.14e-06/0.007038, allocations: 3.938 kB / 0.5579 GB, free: 14.69 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.873e-06/0.007045, allocations: 4 kB / 0.5579 GB, free: 14.69 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.007046, allocations: 0 / 0.5579 GB, free: 14.69 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.007047, allocations: 0 / 0.5579 GB, free: 14.69 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001816/0.007229, allocations: 175.5 kB / 0.5581 GB, free: 14.5 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 9.368e-06/0.007238, allocations: 7.938 kB / 0.5581 GB, free: 14.49 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.303e-05/0.007251, allocations: 3.938 kB / 0.5581 GB, free: 14.49 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.401e-05/0.007295, allocations: 7.984 kB / 0.5581 GB, free: 14.48 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.39e-05/0.007339, allocations: 8.031 kB / 0.5581 GB, free: 14.47 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.497e-06/0.007342, allocations: 7.938 kB / 0.5581 GB, free: 14.46 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 3.31e-05/0.007375, allocations: 83.27 kB / 0.5582 GB, free: 14.38 MB / 0.5261 GB Notification: Performance of sort global known variables: time 6e-08/0.007376, allocations: 0 / 0.5582 GB, free: 14.38 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0001515/0.007527, allocations: 4 kB / 0.5582 GB, free: 14.38 MB / 0.5261 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 (2): * Single equations (assignments): 2 * 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.0003973/0.007924, allocations: 0.7046 MB / 0.5589 GB, free: 13.65 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0001615/0.008086, allocations: 55.92 kB / 0.5589 GB, free: 13.59 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.008088, allocations: 0 / 0.5589 GB, free: 13.59 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 5.335e-05/0.008141, allocations: 27.97 kB / 0.559 GB, free: 13.57 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002348/0.008376, allocations: 6.953 kB / 0.559 GB, free: 13.56 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004093/0.008785, allocations: 146.4 kB / 0.5591 GB, free: 13.38 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.504e-05/0.00883, allocations: 63.47 kB / 0.5592 GB, free: 13.3 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 3.019e-05/0.00886, allocations: 4 kB / 0.5592 GB, free: 13.29 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.509e-05/0.008905, allocations: 16.48 kB / 0.5592 GB, free: 13.28 MB / 0.5261 GB Notification: Performance of SimCode: time 4.51e-07/0.008906, allocations: 0 / 0.5592 GB, free: 13.28 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01973/0.02864, allocations: 2.189 MB / 0.5613 GB, free: 11.23 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.926/6.954, allocations: 0 / 0.5613 GB, free: 11.23 MB / 0.5261 GB " [Timeout remaining time 653] (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.PowerLinearized.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.PowerLinearized.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.PowerLinearized.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.PowerLinearized.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Examples_PowerLinearized_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Math_Examples_PowerLinearized.fmu > IBPSA_latest_IBPSA.Utilities.Math.Examples.PowerLinearized.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.549447547644377] Failed to read output from testmodel.py, exit status != 0: 7.038254601880908 7.053708202 7.047098887 Calling exit ...