Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.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.001475/0.001475, allocations: 101.3 kB / 19.73 MB, free: 2.133 MB / 14.72 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.001782/0.001782, allocations: 218.7 kB / 23.03 MB, free: 4.949 MB / 14.72 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 1.43/1.43, allocations: 230.6 MB / 256.8 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo): time 0.9392/0.9392, allocations: 145 MB / 458.2 MB, free: 15.27 MB / 366.1 MB " [Timeout remaining time 179] Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/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(BuildSysPro.IBPSA.Utilities.Math.Examples.PowerLinearized,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_PowerLinearized",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Examples.PowerLinearized,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_PowerLinearized",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: BuildSysPro requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00198/0.00198, allocations: 65.97 kB / 0.6339 GB, free: 6.684 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1658/0.1678, allocations: 87.88 MB / 0.7197 GB, free: 14.82 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.PowerLinearized): time 0.003069/0.1709, allocations: 1.458 MB / 0.7211 GB, free: 13.36 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0003322/0.1712, allocations: 92.59 kB / 0.7212 GB, free: 13.26 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.9e-05/0.1712, allocations: 0 / 0.7212 GB, free: 13.26 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 3.072e-05/0.1713, allocations: 0 / 0.7212 GB, free: 13.26 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 5.418e-05/0.1713, allocations: 11.92 kB / 0.7212 GB, free: 13.25 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002244/0.1716, allocations: 15.92 kB / 0.7212 GB, free: 13.23 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 8.586e-05/0.1716, allocations: 23.92 kB / 0.7212 GB, free: 13.21 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001006/0.1717, allocations: 4 kB / 0.7212 GB, free: 13.21 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 5.214e-05/0.1718, allocations: 15.98 kB / 0.7213 GB, free: 13.19 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 4.581e-05/0.1718, allocations: 11.94 kB / 0.7213 GB, free: 13.18 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.401e-05/0.1719, allocations: 0 / 0.7213 GB, free: 13.18 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 6.987e-05/0.1719, allocations: 19.98 kB / 0.7213 GB, free: 13.16 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.782e-05/0.1719, allocations: 3.984 kB / 0.7213 GB, free: 13.16 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.469e-05/0.172, allocations: 11.92 kB / 0.7213 GB, free: 13.14 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001419/0.1721, allocations: 35.84 kB / 0.7213 GB, free: 13.11 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.489e-06/0.1721, allocations: 0 / 0.7213 GB, free: 13.11 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.753e-06/0.1721, allocations: 3.938 kB / 0.7213 GB, free: 13.11 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.611e-06/0.1721, allocations: 0 / 0.7213 GB, free: 13.11 MB / 0.545 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.0005122/0.1726, allocations: 274.3 kB / 0.7216 GB, free: 12.8 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.318e-05/0.1727, allocations: 8.031 kB / 0.7216 GB, free: 12.8 MB / 0.545 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.599e-05/0.1727, allocations: 192 / 0.7216 GB, free: 12.8 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.613e-05/0.1727, allocations: 38.75 kB / 0.7217 GB, free: 12.75 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001736/0.1729, allocations: 8.922 kB / 0.7217 GB, free: 12.74 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001161/0.173, allocations: 114.5 kB / 0.7218 GB, free: 12.61 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.177e-05/0.173, allocations: 384 / 0.7218 GB, free: 12.61 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.498e-06/0.1731, allocations: 4.375 kB / 0.7218 GB, free: 12.6 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002078/0.1733, allocations: 65.95 kB / 0.7218 GB, free: 12.53 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.556e-06/0.1733, allocations: 7.938 kB / 0.7218 GB, free: 12.52 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.297e-06/0.1733, allocations: 0 / 0.7218 GB, free: 12.52 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.939e-06/0.1733, allocations: 0 / 0.7218 GB, free: 12.52 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002429/0.1735, allocations: 51.89 kB / 0.7219 GB, free: 12.47 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004237/0.174, allocations: 228 kB / 0.7221 GB, free: 12.21 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000183/0.1741, allocations: 46.55 kB / 0.7222 GB, free: 12.15 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001088/0.1742, allocations: 32.91 kB / 0.7222 GB, free: 12.12 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.766e-05/0.1743, allocations: 7.922 kB / 0.7222 GB, free: 12.11 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.988e-05/0.1743, allocations: 34.56 kB / 0.7222 GB, free: 12.07 MB / 0.545 GB Notification: Performance of pre-optimization done (n=2): time 1.002e-06/0.1743, allocations: 0 / 0.7222 GB, free: 12.07 MB / 0.545 GB Notification: Performance of matching and sorting (n=2): time 0.0004006/0.1747, allocations: 101.6 kB / 0.7223 GB, free: 11.96 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.122e-05/0.1747, allocations: 51.53 kB / 0.7224 GB, free: 11.9 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.294e-05/0.1748, allocations: 105.9 kB / 0.7225 GB, free: 11.79 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.762e-05/0.1748, allocations: 29.69 kB / 0.7225 GB, free: 11.75 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.061e-05/0.1749, allocations: 88.14 kB / 0.7226 GB, free: 11.66 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.695e-05/0.1749, allocations: 3.953 kB / 0.7226 GB, free: 11.66 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.643e-05/0.1749, allocations: 13.72 kB / 0.7226 GB, free: 11.64 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001285/0.1751, allocations: 314.8 kB / 0.7229 GB, free: 11.32 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001055/0.1752, allocations: 23.97 kB / 0.7229 GB, free: 11.3 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.06e-05/0.1753, allocations: 23.97 kB / 0.7229 GB, free: 11.27 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001896/0.1755, allocations: 60.75 kB / 0.723 GB, free: 11.21 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.1755, allocations: 0 / 0.723 GB, free: 11.21 MB / 0.545 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002384/0.1757, allocations: 81.61 kB / 0.7231 GB, free: 11.12 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.575e-05/0.1757, allocations: 6.5 kB / 0.7231 GB, free: 11.12 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.968e-06/0.1757, allocations: 32 / 0.7231 GB, free: 11.12 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.257e-05/0.1757, allocations: 4 kB / 0.7231 GB, free: 11.12 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001111/0.1758, allocations: 11.98 kB / 0.7231 GB, free: 11.11 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.588e-06/0.1758, allocations: 0 / 0.7231 GB, free: 11.11 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.377e-05/0.1759, allocations: 7.984 kB / 0.7231 GB, free: 11.1 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.251e-06/0.1759, allocations: 4 kB / 0.7231 GB, free: 11.09 MB / 0.545 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 8.088e-05/0.176, allocations: 113.8 kB / 0.7232 GB, free: 10.97 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.082e-05/0.176, allocations: 7.984 kB / 0.7232 GB, free: 10.96 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.261e-05/0.1761, allocations: 3.625 kB / 0.7232 GB, free: 10.96 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.1761, allocations: 4 kB / 0.7232 GB, free: 10.95 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.1761, allocations: 0 / 0.7232 GB, free: 10.95 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.1761, allocations: 256 / 0.7232 GB, free: 10.95 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001706/0.1762, allocations: 148.5 kB / 0.7234 GB, free: 10.77 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.477e-06/0.1762, allocations: 4 kB / 0.7234 GB, free: 10.76 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.192e-05/0.1763, allocations: 15.92 kB / 0.7234 GB, free: 10.75 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.315e-06/0.1763, allocations: 0 / 0.7234 GB, free: 10.75 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.746e-06/0.1763, allocations: 0 / 0.7234 GB, free: 10.75 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.1763, allocations: 0 / 0.7234 GB, free: 10.75 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.1763, allocations: 0 / 0.7234 GB, free: 10.75 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002901/0.1766, allocations: 179.4 kB / 0.7236 GB, free: 10.55 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 1.044e-05/0.1766, allocations: 7.953 kB / 0.7236 GB, free: 10.55 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.409e-05/0.1766, allocations: 0 / 0.7236 GB, free: 10.55 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.998e-05/0.1767, allocations: 7.984 kB / 0.7236 GB, free: 10.54 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.202e-05/0.1768, allocations: 8 kB / 0.7236 GB, free: 10.53 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.168e-06/0.1768, allocations: 0 / 0.7236 GB, free: 10.53 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.999e-05/0.1768, allocations: 87.2 kB / 0.7237 GB, free: 10.45 MB / 0.545 GB Notification: Performance of sort global known variables: time 6e-08/0.1768, allocations: 0 / 0.7237 GB, free: 10.45 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002162/0.1771, allocations: 8.031 kB / 0.7237 GB, free: 10.44 MB / 0.545 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.0006192/0.1777, allocations: 0.7085 MB / 0.7244 GB, free: 9.703 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002403/0.1779, allocations: 47.95 kB / 0.7244 GB, free: 9.656 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.138e-06/0.1779, allocations: 4 kB / 0.7244 GB, free: 9.652 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001065/0.178, allocations: 32 kB / 0.7245 GB, free: 9.621 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003005/0.1783, allocations: 4 kB / 0.7245 GB, free: 9.617 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005021/0.1788, allocations: 159.1 kB / 0.7246 GB, free: 9.422 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.763e-05/0.1789, allocations: 59.34 kB / 0.7247 GB, free: 9.344 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.347e-05/0.1789, allocations: 8.062 kB / 0.7247 GB, free: 9.336 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.469e-05/0.179, allocations: 11.42 kB / 0.7247 GB, free: 9.324 MB / 0.545 GB Notification: Performance of SimCode: time 4.81e-07/0.179, allocations: 0 / 0.7247 GB, free: 9.324 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02102/0.2, allocations: 1.703 MB / 0.7264 GB, free: 7.773 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.17/11.37, allocations: 13.73 kB / 0.7264 GB, free: 7.766 MB / 0.545 GB " [Timeout remaining time 648] (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.PowerLinearized.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.PowerLinearized.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.PowerLinearized.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.PowerLinearized.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_PowerLinearized_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_PowerLinearized.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.PowerLinearized.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.14520866703242] Failed to read output from testmodel.py, exit status != 0: 11.527564806980081 11.554624791 11.377522158 Calling exit ...