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.001333/0.001333, allocations: 118.8 kB / 17.16 MB, free: 5.914 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.00149/0.00149, allocations: 206.2 kB / 20.13 MB, free: 2.969 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.536/1.536, allocations: 230.6 MB / 253.5 MB, free: 15.09 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.9446/0.9446, allocations: 144.9 MB / 454.5 MB, free: 9.992 MB / 350.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.001895/0.001895, allocations: 65 kB / 0.6287 GB, free: 33.68 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1635/0.1654, allocations: 87.85 MB / 0.7145 GB, free: 11.72 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.IntegratorWithReset): time 0.004047/0.1694, allocations: 1.83 MB / 0.7163 GB, free: 9.883 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001519/0.1709, allocations: 0.5805 MB / 0.7169 GB, free: 9.297 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002722/0.1712, allocations: 7.938 kB / 0.7169 GB, free: 9.289 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0002054/0.1714, allocations: 27.67 kB / 0.7169 GB, free: 9.262 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.000132/0.1716, allocations: 31.72 kB / 0.7169 GB, free: 9.23 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003463/0.1719, allocations: 55.92 kB / 0.717 GB, free: 9.176 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0003001/0.1722, allocations: 179.4 kB / 0.7171 GB, free: 9 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001619/0.1724, allocations: 33.95 kB / 0.7172 GB, free: 8.965 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 9.779e-05/0.1725, allocations: 55.72 kB / 0.7172 GB, free: 8.91 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 9.763e-05/0.1726, allocations: 71.56 kB / 0.7173 GB, free: 8.84 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.671e-05/0.1726, allocations: 12 kB / 0.7173 GB, free: 8.828 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 2.362e-05/0.1726, allocations: 12 kB / 0.7173 GB, free: 8.816 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 3.958e-05/0.1726, allocations: 23.92 kB / 0.7173 GB, free: 8.793 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 7.555e-05/0.1727, allocations: 59.61 kB / 0.7174 GB, free: 8.734 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002281/0.1729, allocations: 143.2 kB / 0.7175 GB, free: 8.594 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 8.617e-06/0.173, allocations: 7.984 kB / 0.7175 GB, free: 8.586 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.704e-06/0.173, allocations: 0 / 0.7175 GB, free: 8.586 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.306e-05/0.173, allocations: 0 / 0.7175 GB, free: 8.586 MB / 0.5294 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.0007951/0.1738, allocations: 474.6 kB / 0.718 GB, free: 8.074 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.343e-05/0.1738, allocations: 12.03 kB / 0.718 GB, free: 8.062 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.334e-05/0.1738, allocations: 192 / 0.718 GB, free: 8.062 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.256e-05/0.1739, allocations: 42.69 kB / 0.718 GB, free: 8.012 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.11e-05/0.1739, allocations: 24.83 kB / 0.7181 GB, free: 7.988 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003495/0.1743, allocations: 232 kB / 0.7183 GB, free: 7.723 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.091e-05/0.1743, allocations: 12.38 kB / 0.7183 GB, free: 7.711 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.218e-05/0.1743, allocations: 20.31 kB / 0.7183 GB, free: 7.691 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003246/0.1747, allocations: 149.8 kB / 0.7185 GB, free: 7.523 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.568e-06/0.1747, allocations: 0 / 0.7185 GB, free: 7.523 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.581e-05/0.1747, allocations: 4 kB / 0.7185 GB, free: 7.52 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.29e-05/0.1747, allocations: 8 kB / 0.7185 GB, free: 7.512 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002403/0.1749, allocations: 67.88 kB / 0.7185 GB, free: 7.445 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001016/0.176, allocations: 0.7433 MB / 0.7193 GB, free: 6.637 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001642/0.1761, allocations: 50.55 kB / 0.7193 GB, free: 6.578 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001164/0.1762, allocations: 36.83 kB / 0.7193 GB, free: 6.539 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.091e-05/0.1763, allocations: 7.938 kB / 0.7194 GB, free: 6.531 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002632/0.1765, allocations: 126.7 kB / 0.7195 GB, free: 6.383 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=11): time 1.263e-06/0.1765, allocations: 0 / 0.7195 GB, free: 6.383 MB / 0.5294 GB Notification: Performance of matching and sorting (n=11): time 0.0005282/0.177, allocations: 161.7 kB / 0.7196 GB, free: 6.219 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001049/0.1771, allocations: 140.5 kB / 0.7198 GB, free: 6.051 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002254/0.1774, allocations: 200.3 kB / 0.72 GB, free: 5.844 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.801e-05/0.1774, allocations: 29.7 kB / 0.72 GB, free: 5.809 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001031/0.1775, allocations: 131.8 kB / 0.7201 GB, free: 5.676 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 4.531e-05/0.1776, allocations: 43.72 kB / 0.7202 GB, free: 5.633 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.75e-05/0.1776, allocations: 41.66 kB / 0.7202 GB, free: 5.586 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001641/0.1778, allocations: 326.8 kB / 0.7205 GB, free: 5.258 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000127/0.1779, allocations: 43.97 kB / 0.7205 GB, free: 5.215 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002105/0.1781, allocations: 142.5 kB / 0.7207 GB, free: 5.023 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003487/0.1785, allocations: 202.3 kB / 0.7209 GB, free: 4.773 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.1785, allocations: 0 / 0.7209 GB, free: 4.773 MB / 0.5294 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004246/0.1789, allocations: 213.2 kB / 0.7211 GB, free: 4.559 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.9e-05/0.1789, allocations: 7.938 kB / 0.7211 GB, free: 4.551 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.131e-05/0.1789, allocations: 4 kB / 0.7211 GB, free: 4.547 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.528e-05/0.179, allocations: 8 kB / 0.7211 GB, free: 4.539 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001356/0.1791, allocations: 31.92 kB / 0.7211 GB, free: 4.508 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.377e-05/0.1791, allocations: 4.469 kB / 0.7211 GB, free: 4.504 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001524/0.1793, allocations: 36.11 kB / 0.7212 GB, free: 4.469 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.504e-05/0.1793, allocations: 8 kB / 0.7212 GB, free: 4.461 MB / 0.5294 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.0001528/0.1794, allocations: 138.3 kB / 0.7213 GB, free: 4.316 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.285e-05/0.1795, allocations: 23.86 kB / 0.7213 GB, free: 4.293 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.949e-05/0.1795, allocations: 25.39 kB / 0.7214 GB, free: 4.266 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.919e-06/0.1795, allocations: 4 kB / 0.7214 GB, free: 4.262 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.884e-06/0.1795, allocations: 240 / 0.7214 GB, free: 4.262 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.478e-06/0.1795, allocations: 0 / 0.7214 GB, free: 4.262 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008614/0.1804, allocations: 0.5171 MB / 0.7219 GB, free: 3.688 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.328e-06/0.1804, allocations: 4 kB / 0.7219 GB, free: 3.684 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001188/0.1805, allocations: 15.98 kB / 0.7219 GB, free: 3.668 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.235e-06/0.1805, allocations: 0 / 0.7219 GB, free: 3.668 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.058e-05/0.1805, allocations: 11.94 kB / 0.7219 GB, free: 3.656 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.763e-06/0.1805, allocations: 3.938 kB / 0.7219 GB, free: 3.652 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.1805, allocations: 4 kB / 0.7219 GB, free: 3.648 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005981/0.1811, allocations: 356.3 kB / 0.7222 GB, free: 3.277 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 7.396e-05/0.1812, allocations: 97.05 kB / 0.7223 GB, free: 3.164 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.984e-05/0.1812, allocations: 4 kB / 0.7223 GB, free: 3.16 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001716/0.1814, allocations: 15.92 kB / 0.7224 GB, free: 3.145 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.687e-05/0.1815, allocations: 15.98 kB / 0.7224 GB, free: 3.129 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.1e-05/0.1815, allocations: 4 kB / 0.7224 GB, free: 3.125 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0001511/0.1817, allocations: 136.6 kB / 0.7225 GB, free: 2.992 MB / 0.5294 GB Notification: Performance of sort global known variables: time 7.1e-08/0.1817, allocations: 0 / 0.7225 GB, free: 2.992 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0003356/0.182, allocations: 31.95 kB / 0.7225 GB, free: 2.961 MB / 0.5294 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.0008774/0.1829, allocations: 0.9028 MB / 0.7234 GB, free: 2.027 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0003548/0.1832, allocations: 112 kB / 0.7235 GB, free: 1.918 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.1832, allocations: 1 kB / 0.7235 GB, free: 1.918 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0001453/0.1834, allocations: 51.97 kB / 0.7236 GB, free: 1.867 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005572/0.1839, allocations: 75.25 kB / 0.7236 GB, free: 1.797 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00283/0.1868, allocations: 2.277 MB / 0.7259 GB, free: 15.34 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003842/0.1871, allocations: 0.7242 MB / 0.7266 GB, free: 14.59 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 8.899e-05/0.1872, allocations: 21.53 kB / 0.7266 GB, free: 14.56 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.606e-05/0.1873, allocations: 47.42 kB / 0.7266 GB, free: 14.51 MB / 0.545 GB Notification: Performance of SimCode: time 4.4e-07/0.1873, allocations: 0 / 0.7266 GB, free: 14.51 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02295/0.2103, allocations: 4.119 MB / 0.7307 GB, free: 10.55 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.361/8.571, allocations: 6.906 kB / 0.7307 GB, free: 10.55 MB / 0.545 GB " [Timeout remaining time 651] (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: 12.512691175041255] Failed to read output from testmodel.py, exit status != 0: 8.697889472008683 8.714790016 8.538703707 Calling exit ...