Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.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.001795/0.001795, allocations: 97.88 kB / 19.73 MB, free: 2.117 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.002022/0.002022, allocations: 214.6 kB / 23.03 MB, free: 4.922 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.438/1.438, allocations: 230.6 MB / 256.8 MB, free: 7.805 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.9229/0.9229, allocations: 145 MB / 458.2 MB, free: 15.3 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.Functions.Examples.PowerLinearized,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_PowerLinearized",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.PowerLinearized,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_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.001972/0.001972, allocations: 69.59 kB / 0.6339 GB, free: 6.668 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1757/0.1777, allocations: 87.89 MB / 0.7197 GB, free: 14.8 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.PowerLinearized): time 0.001833/0.1795, allocations: 0.5845 MB / 0.7203 GB, free: 14.22 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0003053/0.1798, allocations: 99.73 kB / 0.7204 GB, free: 14.12 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.588e-05/0.1798, allocations: 0 / 0.7204 GB, free: 14.12 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 1.167e-05/0.1798, allocations: 0 / 0.7204 GB, free: 14.12 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 4.447e-05/0.1799, allocations: 0 / 0.7204 GB, free: 14.12 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002029/0.1801, allocations: 15.92 kB / 0.7204 GB, free: 14.11 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 5.366e-05/0.1801, allocations: 4 kB / 0.7204 GB, free: 14.1 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.17e-05/0.1802, allocations: 4 kB / 0.7204 GB, free: 14.1 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 2.168e-05/0.1802, allocations: 7.938 kB / 0.7204 GB, free: 14.09 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 6.7e-05/0.1802, allocations: 7.984 kB / 0.7204 GB, free: 14.08 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.147e-05/0.1803, allocations: 0 / 0.7204 GB, free: 14.08 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 6.164e-05/0.1803, allocations: 19.98 kB / 0.7205 GB, free: 14.06 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.405e-05/0.1803, allocations: 3.984 kB / 0.7205 GB, free: 14.06 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 1.709e-05/0.1804, allocations: 0 / 0.7205 GB, free: 14.06 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 8.256e-05/0.1804, allocations: 11.92 kB / 0.7205 GB, free: 14.05 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.456e-06/0.1804, allocations: 4 kB / 0.7205 GB, free: 14.04 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.242e-06/0.1804, allocations: 0 / 0.7205 GB, free: 14.04 MB / 0.545 GB Notification: Performance of Transformations before backend: time 8.516e-06/0.1804, allocations: 0 / 0.7205 GB, free: 14.04 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.0003191/0.1808, allocations: 244.5 kB / 0.7207 GB, free: 13.77 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.545e-05/0.1808, allocations: 12.03 kB / 0.7207 GB, free: 13.76 MB / 0.545 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.298e-05/0.1808, allocations: 192 / 0.7207 GB, free: 13.76 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.838e-05/0.1808, allocations: 30.75 kB / 0.7207 GB, free: 13.72 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001432/0.181, allocations: 16.92 kB / 0.7208 GB, free: 13.71 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.595e-05/0.1811, allocations: 110.5 kB / 0.7209 GB, free: 13.57 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.662e-05/0.1811, allocations: 4.312 kB / 0.7209 GB, free: 13.57 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.031e-05/0.1811, allocations: 384 / 0.7209 GB, free: 13.57 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001247/0.1812, allocations: 46 kB / 0.7209 GB, free: 13.52 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.163e-06/0.1812, allocations: 0 / 0.7209 GB, free: 13.52 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.274e-06/0.1812, allocations: 0 / 0.7209 GB, free: 13.52 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.128e-06/0.1812, allocations: 0 / 0.7209 GB, free: 13.52 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.289e-05/0.1813, allocations: 11.98 kB / 0.7209 GB, free: 13.51 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001469/0.1815, allocations: 128.8 kB / 0.7211 GB, free: 13.34 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001796/0.1817, allocations: 42.53 kB / 0.7211 GB, free: 13.29 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.911e-05/0.1817, allocations: 16.91 kB / 0.7211 GB, free: 13.27 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.726e-05/0.1817, allocations: 4 kB / 0.7211 GB, free: 13.27 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.533e-05/0.1817, allocations: 34.5 kB / 0.7211 GB, free: 13.22 MB / 0.545 GB Notification: Performance of pre-optimization done (n=3): time 9.02e-07/0.1817, allocations: 0 / 0.7211 GB, free: 13.22 MB / 0.545 GB Notification: Performance of matching and sorting (n=3): time 0.0002094/0.182, allocations: 53.67 kB / 0.7212 GB, free: 13.16 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.113e-05/0.182, allocations: 55.41 kB / 0.7212 GB, free: 13.1 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.159e-05/0.182, allocations: 93.8 kB / 0.7213 GB, free: 13 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.765e-05/0.1821, allocations: 25.7 kB / 0.7214 GB, free: 12.96 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 3.278e-05/0.1821, allocations: 84.14 kB / 0.7214 GB, free: 12.88 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.25e-05/0.1821, allocations: 11.89 kB / 0.7215 GB, free: 12.87 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.451e-05/0.1822, allocations: 17.64 kB / 0.7215 GB, free: 12.84 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001284/0.1823, allocations: 318.8 kB / 0.7218 GB, free: 12.52 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.974e-05/0.1823, allocations: 4 kB / 0.7218 GB, free: 12.52 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.322e-05/0.1824, allocations: 7.984 kB / 0.7218 GB, free: 12.51 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.048e-05/0.1824, allocations: 20.84 kB / 0.7218 GB, free: 12.49 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.1824, allocations: 4 kB / 0.7218 GB, free: 12.48 MB / 0.545 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001162/0.1826, allocations: 49.64 kB / 0.7219 GB, free: 12.43 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.61e-05/0.1826, allocations: 7.938 kB / 0.7219 GB, free: 12.42 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.1826, allocations: 4 kB / 0.7219 GB, free: 12.42 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.224e-05/0.1826, allocations: 0 / 0.7219 GB, free: 12.42 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003857/0.183, allocations: 51.86 kB / 0.7219 GB, free: 12.37 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001403/0.1844, allocations: 1.297 MB / 0.7232 GB, free: 10.95 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.411e-05/0.1844, allocations: 4.031 kB / 0.7232 GB, free: 10.95 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.889e-06/0.1844, allocations: 0 / 0.7232 GB, free: 10.95 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 (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 8.659e-05/0.1845, allocations: 119 kB / 0.7233 GB, free: 10.82 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.215e-05/0.1845, allocations: 7.984 kB / 0.7233 GB, free: 10.82 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.577e-05/0.1845, allocations: 3.859 kB / 0.7233 GB, free: 10.81 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.373e-06/0.1845, allocations: 0 / 0.7233 GB, free: 10.81 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.022e-06/0.1845, allocations: 0 / 0.7233 GB, free: 10.81 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.1845, allocations: 3.984 kB / 0.7233 GB, free: 10.8 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001062/0.1846, allocations: 128.7 kB / 0.7234 GB, free: 10.64 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.1846, allocations: 4.062 kB / 0.7234 GB, free: 10.63 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003578/0.185, allocations: 47.92 kB / 0.7235 GB, free: 10.59 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.185, allocations: 3.938 kB / 0.7235 GB, free: 10.58 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.212e-06/0.185, allocations: 0 / 0.7235 GB, free: 10.58 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001252/0.1863, allocations: 1.305 MB / 0.7248 GB, free: 9.164 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.1863, allocations: 0 / 0.7248 GB, free: 9.164 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001329/0.1864, allocations: 77.31 kB / 0.7248 GB, free: 9.07 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.951e-06/0.1864, allocations: 3.938 kB / 0.7248 GB, free: 9.066 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.666e-06/0.1864, allocations: 3.984 kB / 0.7248 GB, free: 9.062 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.925e-05/0.1864, allocations: 4 kB / 0.7249 GB, free: 9.059 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.823e-05/0.1865, allocations: 0 / 0.7249 GB, free: 9.059 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.346e-06/0.1865, allocations: 0 / 0.7249 GB, free: 9.059 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.757e-05/0.1865, allocations: 75.28 kB / 0.7249 GB, free: 8.984 MB / 0.545 GB Notification: Performance of sort global known variables: time 9e-08/0.1865, allocations: 0 / 0.7249 GB, free: 8.984 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0001946/0.1867, allocations: 11.94 kB / 0.7249 GB, free: 8.973 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 (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004654/0.1872, allocations: 0.6124 MB / 0.7255 GB, free: 8.328 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0004609/0.1876, allocations: 63.91 kB / 0.7256 GB, free: 8.266 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.1876, allocations: 0 / 0.7256 GB, free: 8.266 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.000248/0.1879, allocations: 47.89 kB / 0.7256 GB, free: 8.219 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001284/0.188, allocations: 0 / 0.7256 GB, free: 8.219 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004655/0.1885, allocations: 118.6 kB / 0.7258 GB, free: 8.062 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.325e-05/0.1885, allocations: 63.28 kB / 0.7258 GB, free: 7.98 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.29e-05/0.1885, allocations: 4.281 kB / 0.7258 GB, free: 7.977 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.943e-05/0.1886, allocations: 11.44 kB / 0.7258 GB, free: 7.965 MB / 0.545 GB Notification: Performance of SimCode: time 3.11e-07/0.1886, allocations: 0 / 0.7258 GB, free: 7.965 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02162/0.2102, allocations: 1.434 MB / 0.7272 GB, free: 6.699 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.63/12.84, allocations: 9.141 kB / 0.7272 GB, free: 6.695 MB / 0.545 GB " [Timeout remaining time 647] (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.PowerLinearized.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.PowerLinearized.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_PowerLinearized_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_PowerLinearized.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.PowerLinearized.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.59193436196074] Failed to read output from testmodel.py, exit status != 0: 13.010575080057606 13.03450386 12.849580201 Calling exit ...