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.0007384/0.0007384, allocations: 76.17 kB / 9.932 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008726/0.001611, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.0006951/0.0006951, allocations: 165.1 kB / 11.26 MB, free: 2.914 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008882/0.001583, allocations: 463.6 kB / 11.71 MB, free: 2.457 MB / 13.93 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.9867/0.9867, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08673/1.073, allocations: 53.65 MB / 243.3 MB, free: 15.58 MB / 250.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.5983/0.5983, allocations: 110.2 MB / 354.2 MB, free: 12.37 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. Notification: Performance of NFInstanceAPI.mkTop(): time 0.05674/0.6551, allocations: 34.95 MB / 389.2 MB, free: 9.344 MB / 378.7 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: 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.913e-06/1.913e-06, allocations: 0 / 390.5 MB, free: 8.023 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.631e-05/1.822e-05, allocations: 2.312 kB / 390.5 MB, free: 8.02 MB / 378.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.IntegratorWithReset): time 0.002028/0.002046, allocations: 1.872 MB / 392.4 MB, free: 6.133 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008515/0.002898, allocations: 0.5881 MB / 393 MB, free: 5.539 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.149e-05/0.002989, allocations: 11.88 kB / 393 MB, free: 5.527 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 7.242e-05/0.003062, allocations: 19.8 kB / 393 MB, free: 5.508 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 5.329e-05/0.003115, allocations: 35.61 kB / 393.1 MB, free: 5.473 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001216/0.003237, allocations: 67.84 kB / 393.1 MB, free: 5.406 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001688/0.003405, allocations: 167.5 kB / 393.3 MB, free: 5.242 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001104/0.003516, allocations: 38.36 kB / 393.3 MB, free: 5.207 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00013/0.003646, allocations: 103.7 kB / 393.4 MB, free: 5.105 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.643e-05/0.003702, allocations: 31.89 kB / 393.5 MB, free: 5.074 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.519e-05/0.003727, allocations: 12 kB / 393.5 MB, free: 5.062 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.385e-05/0.003741, allocations: 8 kB / 393.5 MB, free: 5.055 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 2.416e-05/0.003765, allocations: 23.88 kB / 393.5 MB, free: 5.031 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.713e-05/0.003803, allocations: 31.88 kB / 393.5 MB, free: 5 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000127/0.00393, allocations: 99.53 kB / 393.6 MB, free: 4.902 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.335e-05/0.003943, allocations: 0 / 393.6 MB, free: 4.902 MB / 378.7 MB Notification: Performance of FrontEnd: time 6.11e-07/0.003944, allocations: 0 / 393.6 MB, free: 4.902 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.216e-05/0.003956, allocations: 4 kB / 393.6 MB, free: 4.898 MB / 378.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.0004902/0.004446, allocations: 399.7 kB / 394 MB, free: 4.484 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.811e-05/0.004474, allocations: 8.031 kB / 394 MB, free: 4.477 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.605e-05/0.00451, allocations: 16.92 kB / 394 MB, free: 4.461 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001705/0.004681, allocations: 177.5 kB / 394.2 MB, free: 4.262 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.858e-06/0.00469, allocations: 12.31 kB / 394.2 MB, free: 4.25 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.172e-05/0.004712, allocations: 20.38 kB / 394.2 MB, free: 4.23 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001418/0.004854, allocations: 127.2 kB / 394.4 MB, free: 4.082 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.905e-06/0.004862, allocations: 4.188 kB / 394.4 MB, free: 4.078 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.637e-06/0.00487, allocations: 4.375 kB / 394.4 MB, free: 4.074 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.851e-06/0.004876, allocations: 7.938 kB / 394.4 MB, free: 4.066 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.332e-05/0.00492, allocations: 27.86 kB / 394.4 MB, free: 4.039 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004633/0.005383, allocations: 0.5708 MB / 395 MB, free: 3.438 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.746e-05/0.00543, allocations: 34.52 kB / 395 MB, free: 3.395 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.014e-05/0.005451, allocations: 16.84 kB / 395 MB, free: 3.375 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.68e-05/0.005467, allocations: 0 / 395 MB, free: 3.375 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000104/0.005571, allocations: 102.8 kB / 395.1 MB, free: 3.25 MB / 378.7 MB Notification: Performance of pre-optimization done (n=11): time 9.32e-07/0.005572, allocations: 0 / 395.1 MB, free: 3.25 MB / 378.7 MB Notification: Performance of matching and sorting (n=11): time 0.0001414/0.005714, allocations: 93.52 kB / 395.2 MB, free: 3.152 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.682e-05/0.00577, allocations: 132.5 kB / 395.4 MB, free: 2.992 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.343e-05/0.005864, allocations: 187.4 kB / 395.5 MB, free: 2.797 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.099e-05/0.005875, allocations: 25.95 kB / 395.6 MB, free: 2.766 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.225e-05/0.005927, allocations: 131.8 kB / 395.7 MB, free: 2.633 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.087e-05/0.005948, allocations: 39.72 kB / 395.7 MB, free: 2.594 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.938e-05/0.005987, allocations: 37.69 kB / 395.8 MB, free: 2.551 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.447e-05/0.006062, allocations: 330.8 kB / 396.1 MB, free: 2.219 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.694e-05/0.006079, allocations: 12 kB / 396.1 MB, free: 2.207 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.509e-05/0.006144, allocations: 126.4 kB / 396.2 MB, free: 2.031 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001031/0.006247, allocations: 154.4 kB / 396.4 MB, free: 1.828 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.006249, allocations: 0 / 396.4 MB, free: 1.828 MB / 378.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0001198/0.006369, allocations: 137.2 kB / 396.5 MB, free: 1.688 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.422e-05/0.006383, allocations: 11.94 kB / 396.5 MB, free: 1.676 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/0.00639, allocations: 7.984 kB / 396.5 MB, free: 1.668 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.088e-05/0.006401, allocations: 4.5 kB / 396.5 MB, free: 1.664 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.489e-05/0.006476, allocations: 43.92 kB / 396.6 MB, free: 1.621 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.67e-06/0.006481, allocations: 7.938 kB / 396.6 MB, free: 1.613 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.641e-05/0.006538, allocations: 23.88 kB / 396.6 MB, free: 1.59 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.797e-06/0.006547, allocations: 8 kB / 396.6 MB, free: 1.582 MB / 378.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,intNoReset.trigger_internal,intDef.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.416e-05/0.006611, allocations: 129.8 kB / 396.7 MB, free: 1.445 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.695e-05/0.006628, allocations: 19.97 kB / 396.8 MB, free: 1.426 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.08e-05/0.006658, allocations: 29.39 kB / 396.8 MB, free: 1.391 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.993e-06/0.00666, allocations: 3.938 kB / 396.8 MB, free: 1.387 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.743e-06/0.006662, allocations: 0 / 396.8 MB, free: 1.387 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.538e-06/0.006667, allocations: 8 kB / 396.8 MB, free: 1.379 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002681/0.006935, allocations: 337.9 kB / 397.1 MB, free: 1.023 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.006936, allocations: 0 / 397.1 MB, free: 1.023 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.978e-05/0.006986, allocations: 20.19 kB / 397.2 MB, free: 1.004 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.494e-05/0.007001, allocations: 19.89 kB / 397.2 MB, free: 0.9844 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.263e-06/0.007002, allocations: 0 / 397.2 MB, free: 0.9844 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.055e-05/0.007013, allocations: 8 kB / 397.2 MB, free: 0.9766 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.007014, allocations: 0 / 397.2 MB, free: 0.9766 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.007015, allocations: 0 / 397.2 MB, free: 0.9766 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001539/0.007169, allocations: 284.3 kB / 397.5 MB, free: 0.6758 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.323e-05/0.007182, allocations: 4 kB / 397.5 MB, free: 0.6719 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.752e-05/0.007249, allocations: 15.98 kB / 397.5 MB, free: 0.6562 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.121e-05/0.007281, allocations: 7.984 kB / 397.5 MB, free: 0.6484 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.981e-06/0.007286, allocations: 8 kB / 397.5 MB, free: 0.6406 MB / 378.7 MB Notification: Performance of sorting global known variables: time 3.066e-05/0.007317, allocations: 48.95 kB / 397.5 MB, free: 0.5898 MB / 378.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007317, allocations: 0 / 397.5 MB, free: 0.5898 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0001789/0.007496, allocations: 31.94 kB / 397.6 MB, free: 0.5586 MB / 378.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 6.881e-05/0.007565, allocations: 88.34 kB / 397.7 MB, free: 476 kB / 378.7 MB Notification: Performance of simCode: created initialization part: time 9.63e-05/0.007661, allocations: 76.58 kB / 397.7 MB, free: 396 kB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.631e-06/0.007667, allocations: 4 kB / 397.7 MB, free: 392 kB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 3.782e-05/0.007705, allocations: 32.78 kB / 397.8 MB, free: 356 kB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002612/0.007966, allocations: 88.67 kB / 397.9 MB, free: 268 kB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005318/0.008498, allocations: 331.5 kB / 398.2 MB, free: 15.9 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.129e-05/0.008539, allocations: 71.98 kB / 398.2 MB, free: 15.81 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 4.248e-05/0.008581, allocations: 17.61 kB / 398.3 MB, free: 15.8 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.237e-05/0.008664, allocations: 83.3 kB / 398.3 MB, free: 15.71 MB / 394.7 MB Notification: Performance of SimCode: time 7.72e-07/0.008664, allocations: 0 / 398.3 MB, free: 15.71 MB / 394.7 MB Notification: Performance of Templates: time 0.00337/0.01203, allocations: 2.266 MB / 400.6 MB, free: 13.46 MB / 394.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=240 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.IntegratorWithReset.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.055308640934527]