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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001782/0.001782, allocations: 117.2 kB / 17.13 MB, free: 5.918 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00132/0.00132, allocations: 191.7 kB / 20.08 MB, free: 2.988 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.517/1.517, allocations: 225.6 MB / 248.5 MB, free: 3.605 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8948/0.8948, allocations: 129.2 MB / 432.5 MB, free: 13.16 MB / 350.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.002085/0.002085, allocations: 67.89 kB / 0.5987 GB, free: 15.22 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4541/0.4562, allocations: 83.44 MB / 0.6802 GB, free: 6.008 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.PowerLinearized): time 0.002521/0.4587, allocations: 1.45 MB / 0.6816 GB, free: 4.875 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0003064/0.459, allocations: 96.8 kB / 0.6817 GB, free: 4.797 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.354e-05/0.4591, allocations: 1.375 kB / 0.6817 GB, free: 4.797 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.073e-05/0.4591, allocations: 3.984 kB / 0.6817 GB, free: 4.793 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.304e-05/0.4592, allocations: 3.938 kB / 0.6817 GB, free: 4.789 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002193/0.4594, allocations: 17.17 kB / 0.6817 GB, free: 4.777 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 8.491e-05/0.4595, allocations: 21.33 kB / 0.6817 GB, free: 4.766 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 9.348e-05/0.4596, allocations: 6.781 kB / 0.6817 GB, free: 4.762 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.673e-05/0.4596, allocations: 12.06 kB / 0.6817 GB, free: 4.754 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.016e-05/0.4597, allocations: 18.45 kB / 0.6818 GB, free: 4.738 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.455e-05/0.4597, allocations: 2.844 kB / 0.6818 GB, free: 4.738 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 5.492e-05/0.4597, allocations: 12.17 kB / 0.6818 GB, free: 4.734 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.46e-05/0.4597, allocations: 13.03 kB / 0.6818 GB, free: 4.723 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.527e-05/0.4598, allocations: 10.38 kB / 0.6818 GB, free: 4.715 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001151/0.4599, allocations: 29.09 kB / 0.6818 GB, free: 4.695 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.4599, allocations: 0 / 0.6818 GB, free: 4.695 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.342e-06/0.4599, allocations: 3.938 kB / 0.6818 GB, free: 4.691 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.412e-06/0.4599, allocations: 1.344 kB / 0.6818 GB, free: 4.691 MB / 0.4981 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.0004306/0.4603, allocations: 352.7 kB / 0.6822 GB, free: 4.312 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.556e-05/0.4604, allocations: 9.438 kB / 0.6822 GB, free: 4.312 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.28e-05/0.4604, allocations: 31.91 kB / 0.6822 GB, free: 4.273 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001631/0.4606, allocations: 11.52 kB / 0.6822 GB, free: 4.27 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.553e-05/0.4606, allocations: 166.6 kB / 0.6824 GB, free: 4.07 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.534e-05/0.4607, allocations: 1.594 kB / 0.6824 GB, free: 4.07 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.207e-06/0.4607, allocations: 1.406 kB / 0.6824 GB, free: 4.07 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001852/0.4609, allocations: 65.66 kB / 0.6824 GB, free: 4.016 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.08e-05/0.4609, allocations: 11.92 kB / 0.6825 GB, free: 4.004 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.658e-06/0.4609, allocations: 0 / 0.6825 GB, free: 4.004 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.158e-06/0.4609, allocations: 1.062 kB / 0.6825 GB, free: 4.004 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001969/0.4611, allocations: 42.8 kB / 0.6825 GB, free: 3.988 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003154/0.4614, allocations: 266 kB / 0.6828 GB, free: 3.691 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001564/0.4616, allocations: 54.64 kB / 0.6828 GB, free: 3.648 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001066/0.4617, allocations: 31.61 kB / 0.6828 GB, free: 3.629 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.459e-05/0.4617, allocations: 3.938 kB / 0.6828 GB, free: 3.625 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.752e-05/0.4617, allocations: 31.75 kB / 0.6829 GB, free: 3.586 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 9.92e-07/0.4617, allocations: 0 / 0.6829 GB, free: 3.586 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0003758/0.4621, allocations: 108.4 kB / 0.683 GB, free: 3.516 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.148e-05/0.4621, allocations: 55.34 kB / 0.683 GB, free: 3.449 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.125e-05/0.4622, allocations: 105.1 kB / 0.6831 GB, free: 3.344 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 8.276e-06/0.4622, allocations: 26.83 kB / 0.6832 GB, free: 3.312 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.488e-05/0.4622, allocations: 85.11 kB / 0.6832 GB, free: 3.227 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.721e-05/0.4622, allocations: 4.766 kB / 0.6832 GB, free: 3.223 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.995e-05/0.4622, allocations: 16.91 kB / 0.6833 GB, free: 3.203 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.559e-05/0.4623, allocations: 320 kB / 0.6836 GB, free: 2.883 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.593e-05/0.4624, allocations: 20.27 kB / 0.6836 GB, free: 2.875 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.581e-05/0.4625, allocations: 26.03 kB / 0.6836 GB, free: 2.863 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001726/0.4626, allocations: 54.62 kB / 0.6837 GB, free: 2.832 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.4626, allocations: 3.938 kB / 0.6837 GB, free: 2.828 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002103/0.4629, allocations: 84.27 kB / 0.6837 GB, free: 2.77 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.641e-05/0.4629, allocations: 5.875 kB / 0.6837 GB, free: 2.77 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.707e-06/0.4629, allocations: 0 / 0.6837 GB, free: 2.77 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.591e-05/0.4629, allocations: 1.188 kB / 0.6837 GB, free: 2.77 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001044/0.463, allocations: 14.92 kB / 0.6838 GB, free: 2.762 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.1e-06/0.463, allocations: 0 / 0.6838 GB, free: 2.762 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.902e-05/0.4631, allocations: 9.578 kB / 0.6838 GB, free: 2.758 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.43e-06/0.4631, allocations: 0 / 0.6838 GB, free: 2.758 MB / 0.4981 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 5.211e-05/0.4631, allocations: 120.1 kB / 0.6839 GB, free: 2.633 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.471e-05/0.4631, allocations: 1.125 kB / 0.6839 GB, free: 2.633 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.873e-05/0.4632, allocations: 8.5 kB / 0.6839 GB, free: 2.625 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.345e-06/0.4632, allocations: 1.125 kB / 0.6839 GB, free: 2.625 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.4632, allocations: 4 kB / 0.6839 GB, free: 2.621 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.995e-06/0.4632, allocations: 1.062 kB / 0.6839 GB, free: 2.621 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001186/0.4633, allocations: 172.1 kB / 0.6841 GB, free: 2.41 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.4633, allocations: 0 / 0.6841 GB, free: 2.41 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.221e-05/0.4634, allocations: 10.98 kB / 0.6841 GB, free: 2.406 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/0.4634, allocations: 1.062 kB / 0.6841 GB, free: 2.406 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.562e-06/0.4634, allocations: 0 / 0.6841 GB, free: 2.406 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/0.4634, allocations: 1.156 kB / 0.6841 GB, free: 2.406 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.62e-07/0.4634, allocations: 0 / 0.6841 GB, free: 2.406 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002346/0.4636, allocations: 179.2 kB / 0.6842 GB, free: 2.246 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.742e-05/0.4636, allocations: 78.23 kB / 0.6843 GB, free: 2.152 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.284e-05/0.4636, allocations: 0 / 0.6843 GB, free: 2.152 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.402e-05/0.4637, allocations: 8.703 kB / 0.6843 GB, free: 2.148 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.299e-05/0.4638, allocations: 18.27 kB / 0.6843 GB, free: 2.133 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.437e-06/0.4638, allocations: 0 / 0.6843 GB, free: 2.133 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.411e-05/0.4638, allocations: 84.81 kB / 0.6844 GB, free: 2.055 MB / 0.4981 GB Notification: Performance of sort global known variables: time 7e-08/0.4638, allocations: 0 / 0.6844 GB, free: 2.055 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002131/0.464, allocations: 8.594 kB / 0.6844 GB, free: 2.051 MB / 0.4981 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.0003822/0.4644, allocations: 0.7126 MB / 0.6851 GB, free: 1.359 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002223/0.4646, allocations: 48.58 kB / 0.6852 GB, free: 1.34 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.4646, allocations: 3.938 kB / 0.6852 GB, free: 1.336 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 9.698e-05/0.4647, allocations: 26.78 kB / 0.6852 GB, free: 1.324 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003137/0.465, allocations: 2 kB / 0.6852 GB, free: 1.324 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004535/0.4655, allocations: 164.2 kB / 0.6854 GB, free: 1.152 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.576e-05/0.4656, allocations: 0.6771 MB / 0.686 GB, free: 464 kB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.137e-05/0.4656, allocations: 0.9375 kB / 0.686 GB, free: 464 kB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.305e-05/0.4656, allocations: 8.625 kB / 0.686 GB, free: 456 kB / 0.4981 GB Notification: Performance of SimCode: time 2.91e-07/0.4656, allocations: 1.031 kB / 0.686 GB, free: 456 kB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.025/0.4906, allocations: 1.464 MB / 0.6875 GB, free: 15.62 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.979/8.47, allocations: 8.562 kB / 0.6875 GB, free: 15.62 MB / 0.5137 GB " [Timeout remaining time 651] (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: 11.954537440091372] Failed to read output from testmodel.py, exit status != 0: 8.53748347563669 8.552281727 8.089617344 Calling exit ...