Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.IntegratorWithReset.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.001631/0.001631, allocations: 97.31 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.001623/0.001623, allocations: 219.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.464/1.464, 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.9565/0.9565, 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.IntegratorWithReset,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_IntegratorWithReset",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Examples.IntegratorWithReset,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_IntegratorWithReset",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.001952/0.001952, allocations: 66.28 kB / 0.6339 GB, free: 6.652 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1658/0.1677, allocations: 87.9 MB / 0.7197 GB, free: 14.79 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.IntegratorWithReset): time 0.003059/0.1708, allocations: 1.771 MB / 0.7214 GB, free: 13.01 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001026/0.1718, allocations: 0.5578 MB / 0.722 GB, free: 12.45 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.408e-05/0.1719, allocations: 11.88 kB / 0.722 GB, free: 12.43 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001297/0.172, allocations: 19.73 kB / 0.722 GB, free: 12.41 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 8.056e-05/0.1721, allocations: 31.72 kB / 0.722 GB, free: 12.38 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.000202/0.1723, allocations: 55.94 kB / 0.7221 GB, free: 12.33 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0002343/0.1726, allocations: 179.5 kB / 0.7223 GB, free: 12.15 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001314/0.1727, allocations: 33.73 kB / 0.7223 GB, free: 12.12 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 8.654e-05/0.1728, allocations: 59.72 kB / 0.7223 GB, free: 12.06 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 8.071e-05/0.1729, allocations: 63.64 kB / 0.7224 GB, free: 12 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.46e-05/0.1729, allocations: 8 kB / 0.7224 GB, free: 11.99 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 2.784e-05/0.1729, allocations: 12 kB / 0.7224 GB, free: 11.98 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 4.037e-05/0.173, allocations: 31.84 kB / 0.7225 GB, free: 11.95 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 7.032e-05/0.173, allocations: 51.73 kB / 0.7225 GB, free: 11.89 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001883/0.1732, allocations: 139.2 kB / 0.7226 GB, free: 11.76 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.352e-06/0.1732, allocations: 3.984 kB / 0.7226 GB, free: 11.75 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.142e-06/0.1732, allocations: 0 / 0.7226 GB, free: 11.75 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.531e-06/0.1732, allocations: 0 / 0.7226 GB, free: 11.75 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.0007775/0.174, allocations: 433.4 kB / 0.7231 GB, free: 11.3 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.667e-05/0.174, allocations: 8.031 kB / 0.7231 GB, free: 11.29 MB / 0.545 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.021e-05/0.1741, allocations: 12.19 kB / 0.7231 GB, free: 11.28 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.307e-05/0.1741, allocations: 42.73 kB / 0.7231 GB, free: 11.23 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.916e-05/0.1741, allocations: 20.8 kB / 0.7231 GB, free: 11.21 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002912/0.1744, allocations: 174.2 kB / 0.7233 GB, free: 11.01 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.862e-05/0.1745, allocations: 12.31 kB / 0.7233 GB, free: 11 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.103e-05/0.1745, allocations: 12.38 kB / 0.7233 GB, free: 10.99 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003072/0.1748, allocations: 149.9 kB / 0.7235 GB, free: 10.82 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.768e-06/0.1748, allocations: 0 / 0.7235 GB, free: 10.82 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.709e-05/0.1748, allocations: 8 kB / 0.7235 GB, free: 10.81 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.456e-06/0.1748, allocations: 7.984 kB / 0.7235 GB, free: 10.8 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002265/0.1751, allocations: 63.89 kB / 0.7235 GB, free: 10.74 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009237/0.176, allocations: 0.6878 MB / 0.7242 GB, free: 9.996 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001506/0.1761, allocations: 46.55 kB / 0.7243 GB, free: 9.941 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001069/0.1762, allocations: 32.83 kB / 0.7243 GB, free: 9.906 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.402e-05/0.1763, allocations: 3.938 kB / 0.7243 GB, free: 9.902 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000251/0.1765, allocations: 126.7 kB / 0.7244 GB, free: 9.754 MB / 0.545 GB Notification: Performance of pre-optimization done (n=11): time 1.313e-06/0.1765, allocations: 0 / 0.7244 GB, free: 9.754 MB / 0.545 GB Notification: Performance of matching and sorting (n=11): time 0.0004796/0.177, allocations: 169.6 kB / 0.7246 GB, free: 9.582 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000101/0.1771, allocations: 136.5 kB / 0.7247 GB, free: 9.418 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001997/0.1773, allocations: 195.7 kB / 0.7249 GB, free: 9.215 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.765e-05/0.1773, allocations: 37.69 kB / 0.7249 GB, free: 9.172 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 9.67e-05/0.1774, allocations: 131.7 kB / 0.7251 GB, free: 9.039 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.918e-05/0.1775, allocations: 39.83 kB / 0.7251 GB, free: 9 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.66e-05/0.1775, allocations: 45.7 kB / 0.7251 GB, free: 8.949 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001477/0.1777, allocations: 326.8 kB / 0.7254 GB, free: 8.621 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001207/0.1778, allocations: 40.03 kB / 0.7255 GB, free: 8.582 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002011/0.178, allocations: 147.2 kB / 0.7256 GB, free: 8.387 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003299/0.1783, allocations: 198.3 kB / 0.7258 GB, free: 8.141 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.1783, allocations: 3.938 kB / 0.7258 GB, free: 8.137 MB / 0.545 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004068/0.1788, allocations: 209.2 kB / 0.726 GB, free: 7.926 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.502e-05/0.1788, allocations: 4 kB / 0.726 GB, free: 7.922 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.514e-06/0.1788, allocations: 4.5 kB / 0.726 GB, free: 7.918 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.761e-05/0.1788, allocations: 12 kB / 0.726 GB, free: 7.906 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001274/0.1789, allocations: 35.91 kB / 0.7261 GB, free: 7.871 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.878e-06/0.1789, allocations: 4 kB / 0.7261 GB, free: 7.867 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001387/0.1791, allocations: 27.88 kB / 0.7261 GB, free: 7.84 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.474e-05/0.1791, allocations: 8 kB / 0.7261 GB, free: 7.832 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 9 (sampleTrigger.y,$whenCondition2,$whenCondition1,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,booleanPulse.y,$whenCondition3,intDef.trigger_internal,intNoReset.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (21): * Single equations (assignments): 21 * 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 0.0001266/0.1792, allocations: 141.9 kB / 0.7262 GB, free: 7.684 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.616e-05/0.1792, allocations: 27.83 kB / 0.7263 GB, free: 7.656 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.857e-05/0.1793, allocations: 17.41 kB / 0.7263 GB, free: 7.633 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.35e-06/0.1793, allocations: 4 kB / 0.7263 GB, free: 7.629 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.618e-06/0.1793, allocations: 4 kB / 0.7263 GB, free: 7.625 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.46e-06/0.1793, allocations: 3.984 kB / 0.7263 GB, free: 7.621 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007614/0.1801, allocations: 492.9 kB / 0.7268 GB, free: 7.09 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.764e-06/0.1801, allocations: 0 / 0.7268 GB, free: 7.09 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001176/0.1802, allocations: 15.98 kB / 0.7268 GB, free: 7.074 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.1802, allocations: 0 / 0.7268 GB, free: 7.074 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.491e-05/0.1802, allocations: 8 kB / 0.7268 GB, free: 7.066 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.988e-06/0.1802, allocations: 3.938 kB / 0.7268 GB, free: 7.062 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.1802, allocations: 11.94 kB / 0.7268 GB, free: 7.051 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005568/0.1808, allocations: 352.2 kB / 0.7271 GB, free: 6.684 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 2.802e-05/0.1808, allocations: 15.91 kB / 0.7272 GB, free: 6.668 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.084e-05/0.1808, allocations: 8.031 kB / 0.7272 GB, free: 6.66 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001699/0.181, allocations: 15.92 kB / 0.7272 GB, free: 6.645 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.915e-05/0.1811, allocations: 15.98 kB / 0.7272 GB, free: 6.629 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.032e-05/0.1811, allocations: 4 kB / 0.7272 GB, free: 6.625 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001314/0.1812, allocations: 139.2 kB / 0.7273 GB, free: 6.488 MB / 0.545 GB Notification: Performance of sort global known variables: time 8.1e-08/0.1812, allocations: 0 / 0.7273 GB, free: 6.488 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003479/0.1816, allocations: 39.83 kB / 0.7274 GB, free: 6.449 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (intWitRes2.y,intWitRes1.y,intNoReset.y,intDef.y) * Number of discrete variables: 6 (booleanPulse.y,$whenCondition3,$whenCondition1,booleanPulse.pulseStart,sampleTrigger.y,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0008421/0.1824, allocations: 0.8889 MB / 0.7282 GB, free: 5.527 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0003075/0.1827, allocations: 115.9 kB / 0.7284 GB, free: 5.414 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.896e-06/0.1827, allocations: 0 / 0.7284 GB, free: 5.414 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001416/0.1828, allocations: 47.91 kB / 0.7284 GB, free: 5.367 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005673/0.1834, allocations: 66.19 kB / 0.7285 GB, free: 5.309 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002752/0.1862, allocations: 2.278 MB / 0.7307 GB, free: 2.84 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001156/0.1863, allocations: 112.1 kB / 0.7308 GB, free: 2.711 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 7.945e-05/0.1864, allocations: 13.91 kB / 0.7308 GB, free: 2.695 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.619e-05/0.1865, allocations: 63.34 kB / 0.7309 GB, free: 2.633 MB / 0.545 GB Notification: Performance of SimCode: time 8.31e-07/0.1865, allocations: 0 / 0.7309 GB, free: 2.633 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02672/0.2132, allocations: 4.434 MB / 0.7352 GB, free: 14.42 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.3/11.51, allocations: 9.203 kB / 0.7352 GB, free: 14.42 MB / 0.5606 GB " [Timeout remaining time 648] (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.IntegratorWithReset.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.IntegratorWithReset.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.IntegratorWithReset.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.IntegratorWithReset.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_IntegratorWithReset_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_IntegratorWithReset.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.IntegratorWithReset.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.340268929954618] Failed to read output from testmodel.py, exit status != 0: 11.69297574996017 11.718118999 11.540260989 Calling exit ...