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.0008/0.0008, allocations: 72.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0007582/0.0007582, allocations: 177.9 kB / 23.21 MB, free: 1.348 MB / 18.57 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 0.8148/0.8148, allocations: 177.1 MB / 203.5 MB, free: 5.695 MB / 186.7 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.4936/0.4936, allocations: 110.2 MB / 370.2 MB, free: 12.62 MB / 346.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:44:3-56:20:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:58:3-65:19:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:67:3-72:20:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:74:3-79:20:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [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: 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 1.243e-06/1.243e-06, allocations: 0 / 0.5485 GB, free: 8.266 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.192e-05/2.316e-05, allocations: 5.094 kB / 0.5485 GB, free: 8.262 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.IntegratorWithReset): time 0.002157/0.00218, allocations: 1.778 MB / 0.5503 GB, free: 6.465 MB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007195/0.0029, allocations: 0.5454 MB / 0.5508 GB, free: 5.914 MB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.456e-05/0.002974, allocations: 7.938 kB / 0.5508 GB, free: 5.906 MB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001093/0.003084, allocations: 31.66 kB / 0.5508 GB, free: 5.875 MB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 5.072e-05/0.003134, allocations: 19.75 kB / 0.5508 GB, free: 5.855 MB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001681/0.003302, allocations: 75.83 kB / 0.5509 GB, free: 5.781 MB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001552/0.003458, allocations: 175.4 kB / 0.5511 GB, free: 5.609 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001107/0.003568, allocations: 37.77 kB / 0.5511 GB, free: 5.574 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.541e-05/0.003654, allocations: 75.81 kB / 0.5512 GB, free: 5.5 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.488e-05/0.003709, allocations: 43.88 kB / 0.5512 GB, free: 5.457 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 2.335e-05/0.003732, allocations: 8 kB / 0.5512 GB, free: 5.449 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.246e-05/0.003744, allocations: 15.94 kB / 0.5513 GB, free: 5.434 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 2.412e-05/0.003769, allocations: 23.91 kB / 0.5513 GB, free: 5.41 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 3.97e-05/0.003808, allocations: 43.84 kB / 0.5513 GB, free: 5.367 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001486/0.003957, allocations: 143.4 kB / 0.5515 GB, free: 5.227 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.583e-06/0.003958, allocations: 0 / 0.5515 GB, free: 5.227 MB / 474.7 MB Notification: Performance of FrontEnd: time 5.61e-07/0.003959, allocations: 0 / 0.5515 GB, free: 5.227 MB / 474.7 MB Notification: Performance of Transformations before backend: time 3.868e-06/0.003963, allocations: 4 kB / 0.5515 GB, free: 5.223 MB / 474.7 MB 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.0004799/0.004443, allocations: 435 kB / 0.5519 GB, free: 4.762 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.159e-05/0.004474, allocations: 12.03 kB / 0.5519 GB, free: 4.75 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.582e-05/0.00451, allocations: 16.84 kB / 0.5519 GB, free: 4.734 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000192/0.004702, allocations: 177.4 kB / 0.5521 GB, free: 4.535 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.192e-05/0.004714, allocations: 8.375 kB / 0.5521 GB, free: 4.527 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.261e-05/0.004737, allocations: 16.38 kB / 0.5521 GB, free: 4.512 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001808/0.004917, allocations: 142.5 kB / 0.5522 GB, free: 4.352 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.955e-06/0.004925, allocations: 8.125 kB / 0.5522 GB, free: 4.344 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.424e-05/0.00494, allocations: 12.36 kB / 0.5523 GB, free: 4.332 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.052e-06/0.004946, allocations: 7.938 kB / 0.5523 GB, free: 4.324 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001174/0.005063, allocations: 67.84 kB / 0.5523 GB, free: 4.258 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005589/0.005622, allocations: 0.6532 MB / 0.553 GB, free: 3.559 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.709e-05/0.005709, allocations: 46.5 kB / 0.553 GB, free: 3.504 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.308e-05/0.005762, allocations: 32.83 kB / 0.553 GB, free: 3.469 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.621e-05/0.005778, allocations: 0 / 0.553 GB, free: 3.469 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001334/0.005912, allocations: 122.9 kB / 0.5532 GB, free: 3.324 MB / 474.7 MB Notification: Performance of pre-optimization done (n=11): time 7.21e-07/0.005912, allocations: 0 / 0.5532 GB, free: 3.324 MB / 474.7 MB Notification: Performance of matching and sorting (n=11): time 0.0002762/0.006189, allocations: 173.3 kB / 0.5533 GB, free: 3.148 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.989e-05/0.006239, allocations: 136.5 kB / 0.5535 GB, free: 2.984 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000109/0.006348, allocations: 184.1 kB / 0.5536 GB, free: 2.797 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 1.145e-05/0.006359, allocations: 25.7 kB / 0.5537 GB, free: 2.766 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.41e-05/0.006423, allocations: 144 kB / 0.5538 GB, free: 2.621 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.083e-05/0.006444, allocations: 31.73 kB / 0.5538 GB, free: 2.59 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.199e-05/0.006486, allocations: 45.67 kB / 0.5539 GB, free: 2.539 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 7.868e-05/0.006565, allocations: 331.1 kB / 0.5542 GB, free: 2.207 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.296e-05/0.006628, allocations: 39.97 kB / 0.5542 GB, free: 2.168 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.679e-05/0.006724, allocations: 138.5 kB / 0.5543 GB, free: 1.98 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001755/0.0069, allocations: 206.4 kB / 0.5545 GB, free: 1.727 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.006902, allocations: 0 / 0.5545 GB, free: 1.727 MB / 474.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002097/0.007112, allocations: 209.3 kB / 0.5547 GB, free: 1.516 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.216e-05/0.007124, allocations: 10.22 kB / 0.5548 GB, free: 1.508 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.00713, allocations: 8 kB / 0.5548 GB, free: 1.5 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.062e-05/0.00714, allocations: 4 kB / 0.5548 GB, free: 1.496 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.573e-05/0.007206, allocations: 39.89 kB / 0.5548 GB, free: 1.457 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.464e-06/0.007213, allocations: 7.938 kB / 0.5548 GB, free: 1.449 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.83e-05/0.007282, allocations: 27.88 kB / 0.5548 GB, free: 1.422 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.248e-06/0.007291, allocations: 12 kB / 0.5549 GB, free: 1.41 MB / 474.7 MB 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 6.886e-05/0.00736, allocations: 134.3 kB / 0.555 GB, free: 1.27 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.65e-05/0.007376, allocations: 23.78 kB / 0.555 GB, free: 1.246 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.654e-05/0.007403, allocations: 21.45 kB / 0.555 GB, free: 1.227 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.414e-06/0.007405, allocations: 11.94 kB / 0.555 GB, free: 1.215 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.007409, allocations: 0 / 0.555 GB, free: 1.215 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.007413, allocations: 4 kB / 0.555 GB, free: 1.211 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004697/0.007883, allocations: 449.2 kB / 0.5555 GB, free: 0.7344 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.007886, allocations: 4 kB / 0.5555 GB, free: 0.7305 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.579e-05/0.007941, allocations: 15.98 kB / 0.5555 GB, free: 0.7148 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.775e-06/0.007944, allocations: 4 kB / 0.5555 GB, free: 0.7109 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.247e-06/0.007954, allocations: 320 / 0.5555 GB, free: 0.7109 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.016e-06/0.007957, allocations: 15.94 kB / 0.5555 GB, free: 0.6953 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.007957, allocations: 0 / 0.5555 GB, free: 0.6953 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002728/0.00823, allocations: 356.2 kB / 0.5558 GB, free: 332 kB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.575e-05/0.008246, allocations: 15.94 kB / 0.5559 GB, free: 316 kB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.458e-05/0.00826, allocations: 4 kB / 0.5559 GB, free: 312 kB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.028e-05/0.008341, allocations: 11.98 kB / 0.5559 GB, free: 300 kB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.732e-05/0.008378, allocations: 15.92 kB / 0.5559 GB, free: 284 kB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.504e-06/0.008386, allocations: 15.92 kB / 0.5559 GB, free: 268 kB / 474.7 MB Notification: Performance of sorting global known variables: time 6.06e-05/0.008446, allocations: 127.2 kB / 0.556 GB, free: 140 kB / 474.7 MB Notification: Performance of sort global known variables: time 7e-08/0.008446, allocations: 0 / 0.556 GB, free: 140 kB / 474.7 MB Notification: Performance of remove unused functions: time 0.0002063/0.008653, allocations: 35.89 kB / 0.5561 GB, free: 104 kB / 474.7 MB 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 8.347e-05/0.008736, allocations: 107.2 kB / 0.5562 GB, free: 15.99 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0001803/0.008916, allocations: 108.2 kB / 0.5563 GB, free: 15.88 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.008919, allocations: 4 kB / 0.5563 GB, free: 15.88 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 8.028e-05/0.008999, allocations: 51.91 kB / 0.5563 GB, free: 15.83 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003179/0.009317, allocations: 62.77 kB / 0.5564 GB, free: 15.77 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004056/0.009722, allocations: 347 kB / 0.5567 GB, free: 15.39 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.872e-05/0.009791, allocations: 116.2 kB / 0.5568 GB, free: 15.26 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.448e-05/0.009826, allocations: 16.5 kB / 0.5568 GB, free: 15.25 MB / 490.7 MB Notification: Performance of SimCode: time 7.91e-07/0.009826, allocations: 4 kB / 0.5568 GB, free: 15.24 MB / 490.7 MB Notification: Performance of Templates: time 0.002381/0.01221, allocations: 2.17 MB / 0.559 GB, free: 13.08 MB / 490.7 MB " [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: 4.645590501837432] Failed to read output from testmodel.py, exit status != 0: 0.01625259406864643 0.02368657 0.018216316 Calling exit ...