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.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.001397/0.001397, allocations: 105.7 kB / 19.59 MB, free: 2.211 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.001459/0.001459, allocations: 185.3 kB / 22.85 MB, free: 4.602 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.285/1.285, allocations: 225.6 MB / 251.5 MB, free: 13.07 MB / 206.1 MB " [Timeout remaining time 179] 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.8426/0.8426, allocations: 144.9 MB / 451.7 MB, free: 5.555 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.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: translateModel(BuildSysPro.IBPSA.Utilities.Math.Examples.IntegratorWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.IntegratorWithReset") translateModel(BuildSysPro.IBPSA.Utilities.Math.Examples.IntegratorWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.IntegratorWithReset") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001886/0.001886, allocations: 64.52 kB / 0.6256 GB, free: 15.54 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1413/0.1432, allocations: 86.7 MB / 0.7103 GB, free: 8.832 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.IntegratorWithReset): time 0.002995/0.1462, allocations: 1.843 MB / 0.7121 GB, free: 6.98 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0009992/0.1472, allocations: 0.5455 MB / 0.7126 GB, free: 6.43 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001045/0.1473, allocations: 7.938 kB / 0.7126 GB, free: 6.422 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0001264/0.1474, allocations: 27.73 kB / 0.7127 GB, free: 6.395 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 7.529e-05/0.1475, allocations: 23.73 kB / 0.7127 GB, free: 6.371 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002209/0.1477, allocations: 67.86 kB / 0.7128 GB, free: 6.305 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0002464/0.148, allocations: 179.4 kB / 0.7129 GB, free: 6.129 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001229/0.1481, allocations: 33.8 kB / 0.713 GB, free: 6.094 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 8.597e-05/0.1482, allocations: 51.73 kB / 0.713 GB, free: 6.043 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 8.545e-05/0.1483, allocations: 59.64 kB / 0.7131 GB, free: 5.984 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.456e-05/0.1483, allocations: 12 kB / 0.7131 GB, free: 5.973 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 2.107e-05/0.1483, allocations: 16 kB / 0.7131 GB, free: 5.957 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 3.572e-05/0.1484, allocations: 31.89 kB / 0.7131 GB, free: 5.926 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 6.455e-05/0.1484, allocations: 63.61 kB / 0.7132 GB, free: 5.863 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001866/0.1486, allocations: 135.2 kB / 0.7133 GB, free: 5.73 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.155e-06/0.1486, allocations: 0 / 0.7133 GB, free: 5.73 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.042e-06/0.1486, allocations: 4 kB / 0.7133 GB, free: 5.727 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.351e-06/0.1486, allocations: 0 / 0.7133 GB, free: 5.727 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.0007015/0.1493, allocations: 439 kB / 0.7137 GB, free: 5.262 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 2.883e-05/0.1494, allocations: 8.031 kB / 0.7137 GB, free: 5.254 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.399e-05/0.1494, allocations: 24.83 kB / 0.7138 GB, free: 5.23 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002832/0.1497, allocations: 174.1 kB / 0.7139 GB, free: 5.035 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.706e-05/0.1497, allocations: 12.38 kB / 0.714 GB, free: 5.023 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.735e-05/0.1497, allocations: 12.38 kB / 0.714 GB, free: 5.012 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002886/0.15, allocations: 151.6 kB / 0.7141 GB, free: 4.844 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.035e-05/0.15, allocations: 0 / 0.7141 GB, free: 4.844 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.592e-05/0.1501, allocations: 4 kB / 0.7141 GB, free: 4.84 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.152e-06/0.1501, allocations: 4 kB / 0.7141 GB, free: 4.836 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002099/0.1503, allocations: 71.83 kB / 0.7142 GB, free: 4.766 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008956/0.1512, allocations: 0.7112 MB / 0.7149 GB, free: 3.996 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001405/0.1513, allocations: 50.55 kB / 0.7149 GB, free: 3.938 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001002/0.1514, allocations: 28.84 kB / 0.715 GB, free: 3.906 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.568e-05/0.1514, allocations: 3.938 kB / 0.715 GB, free: 3.902 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002179/0.1516, allocations: 130.7 kB / 0.7151 GB, free: 3.75 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=11): time 1.152e-06/0.1516, allocations: 0 / 0.7151 GB, free: 3.75 MB / 0.5294 GB Notification: Performance of matching and sorting (n=11): time 0.00045/0.1521, allocations: 157.4 kB / 0.7152 GB, free: 3.59 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.744e-05/0.1522, allocations: 136.5 kB / 0.7154 GB, free: 3.426 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001847/0.1524, allocations: 199.6 kB / 0.7156 GB, free: 3.219 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.837e-05/0.1524, allocations: 29.95 kB / 0.7156 GB, free: 3.184 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 8.674e-05/0.1525, allocations: 140.1 kB / 0.7157 GB, free: 3.043 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 3.349e-05/0.1525, allocations: 31.75 kB / 0.7157 GB, free: 3.012 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.648e-05/0.1526, allocations: 41.7 kB / 0.7158 GB, free: 2.965 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001374/0.1527, allocations: 330.8 kB / 0.7161 GB, free: 2.633 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001266/0.1529, allocations: 35.97 kB / 0.7161 GB, free: 2.598 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001897/0.153, allocations: 152.9 kB / 0.7163 GB, free: 2.398 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003038/0.1533, allocations: 198.4 kB / 0.7165 GB, free: 2.152 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.248e-06/0.1533, allocations: 11.94 kB / 0.7165 GB, free: 2.141 MB / 0.5294 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003839/0.1537, allocations: 205.8 kB / 0.7167 GB, free: 1.934 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.395e-05/0.1537, allocations: 12.06 kB / 0.7167 GB, free: 1.922 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.173e-06/0.1538, allocations: 4 kB / 0.7167 GB, free: 1.918 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.797e-05/0.1538, allocations: 4 kB / 0.7167 GB, free: 1.914 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001364/0.1539, allocations: 39.91 kB / 0.7167 GB, free: 1.875 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.144e-05/0.1539, allocations: 7.938 kB / 0.7167 GB, free: 1.867 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000134/0.1541, allocations: 27.88 kB / 0.7168 GB, free: 1.84 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.217e-05/0.1541, allocations: 8 kB / 0.7168 GB, free: 1.832 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.0001168/0.1542, allocations: 141.1 kB / 0.7169 GB, free: 1.688 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.043e-05/0.1542, allocations: 23.91 kB / 0.7169 GB, free: 1.664 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.279e-05/0.1543, allocations: 21.62 kB / 0.717 GB, free: 1.637 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.753e-06/0.1543, allocations: 4 kB / 0.717 GB, free: 1.633 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.566e-06/0.1543, allocations: 0 / 0.717 GB, free: 1.633 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.63e-06/0.1543, allocations: 3.984 kB / 0.717 GB, free: 1.629 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007258/0.155, allocations: 0.4889 MB / 0.7174 GB, free: 1.09 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.155, allocations: 0 / 0.7174 GB, free: 1.09 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001086/0.1551, allocations: 15.98 kB / 0.7175 GB, free: 1.074 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.345e-06/0.1551, allocations: 0 / 0.7175 GB, free: 1.074 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.332e-05/0.1551, allocations: 4 kB / 0.7175 GB, free: 1.07 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.1551, allocations: 3.938 kB / 0.7175 GB, free: 1.066 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.478e-06/0.1551, allocations: 7.938 kB / 0.7175 GB, free: 1.059 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004673/0.1556, allocations: 360.3 kB / 0.7178 GB, free: 0.6836 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 3.173e-05/0.1556, allocations: 23.88 kB / 0.7178 GB, free: 0.6602 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.248e-05/0.1557, allocations: 7.938 kB / 0.7178 GB, free: 0.6523 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000163/0.1558, allocations: 15.98 kB / 0.7179 GB, free: 0.6367 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.765e-05/0.1559, allocations: 15.92 kB / 0.7179 GB, free: 0.6211 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.07e-05/0.1559, allocations: 7.984 kB / 0.7179 GB, free: 0.6133 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0001109/0.156, allocations: 139.2 kB / 0.718 GB, free: 488 kB / 0.5294 GB Notification: Performance of sort global known variables: time 6.1e-08/0.156, allocations: 0 / 0.718 GB, free: 488 kB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0003205/0.1563, allocations: 28 kB / 0.718 GB, free: 460 kB / 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.0001094/0.1564, allocations: 99.23 kB / 0.7181 GB, free: 352 kB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.000294/0.1567, allocations: 115.8 kB / 0.7182 GB, free: 236 kB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.1567, allocations: 0 / 0.7182 GB, free: 236 kB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0001428/0.1569, allocations: 51.89 kB / 0.7183 GB, free: 184 kB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004968/0.1573, allocations: 80.62 kB / 0.7184 GB, free: 108 kB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006153/0.158, allocations: 390.1 kB / 0.7187 GB, free: 15.68 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003414/0.1583, allocations: 0.7242 MB / 0.7195 GB, free: 14.93 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.061e-05/0.1584, allocations: 27.44 kB / 0.7195 GB, free: 14.91 MB / 0.545 GB Notification: Performance of SimCode: time 3.01e-07/0.1584, allocations: 0 / 0.7195 GB, free: 14.91 MB / 0.545 GB Notification: Performance of Templates: time 0.003783/0.1621, allocations: 2.146 MB / 0.7216 GB, free: 12.77 MB / 0.545 GB " [Timeout remaining time 660] make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.IntegratorWithReset.makefile [Timeout 660] (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 & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.IntegratorWithReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.IntegratorWithReset.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.172061193006812] Failed to read output from testmodel.py, exit status != 0: 0.1692298660054803 0.183524332 0.032000258000000004 Calling exit ...