Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.Continuous.Validation.OffTimerNonZeroStart.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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(IBPSA.Controls.Continuous.Validation.OffTimerNonZeroStart,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.Continuous.Validation.OffTimerNonZeroStart") translateModel(IBPSA.Controls.Continuous.Validation.OffTimerNonZeroStart,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.Continuous.Validation.OffTimerNonZeroStart") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001138/0.001138, allocations: 110 kB / 16.41 MB, free: 6.484 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001144/0.001144, allocations: 193.2 kB / 17.34 MB, free: 5.762 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.333/1.333, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7142/0.7142, allocations: 115.3 MB / 406.5 MB, free: 6.152 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001159/0.001159, allocations: 66.55 kB / 0.5577 GB, free: 32.32 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.13/0.1311, allocations: 76.19 MB / 0.6321 GB, free: 4.461 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.Continuous.Validation.OffTimerNonZeroStart): time 0.002274/0.1334, allocations: 1.463 MB / 0.6335 GB, free: 2.98 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006699/0.1341, allocations: 446.8 kB / 0.6339 GB, free: 2.539 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.373e-05/0.1342, allocations: 0 / 0.6339 GB, free: 2.539 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 2.636e-05/0.1342, allocations: 7.922 kB / 0.6339 GB, free: 2.531 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 5.82e-05/0.1343, allocations: 7.938 kB / 0.6339 GB, free: 2.523 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001076/0.1344, allocations: 23.92 kB / 0.634 GB, free: 2.5 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 7.065e-05/0.1345, allocations: 51.89 kB / 0.634 GB, free: 2.449 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.439e-05/0.1346, allocations: 11.98 kB / 0.634 GB, free: 2.438 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.007e-05/0.1346, allocations: 15.94 kB / 0.634 GB, free: 2.422 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.702e-05/0.1347, allocations: 23.91 kB / 0.6341 GB, free: 2.398 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.78e-05/0.1347, allocations: 4 kB / 0.6341 GB, free: 2.395 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.099e-05/0.1347, allocations: 11.94 kB / 0.6341 GB, free: 2.383 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 1.89e-05/0.1347, allocations: 11.92 kB / 0.6341 GB, free: 2.371 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 3.733e-05/0.1348, allocations: 23.92 kB / 0.6341 GB, free: 2.348 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 8.733e-05/0.1349, allocations: 51.77 kB / 0.6341 GB, free: 2.297 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/0.1349, allocations: 3.984 kB / 0.6342 GB, free: 2.293 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.1349, allocations: 3.938 kB / 0.6342 GB, free: 2.289 MB / 478.1 MB Notification: Performance of Transformations before backend: time 3.807e-06/0.1349, allocations: 0 / 0.6342 GB, free: 2.289 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0004271/0.1353, allocations: 351.5 kB / 0.6345 GB, free: 1.898 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.83e-05/0.1354, allocations: 12.03 kB / 0.6345 GB, free: 1.887 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.962e-05/0.1354, allocations: 4.844 kB / 0.6345 GB, free: 1.883 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001137/0.1355, allocations: 168.3 kB / 0.6347 GB, free: 1.68 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.348e-05/0.1355, allocations: 12.38 kB / 0.6347 GB, free: 1.668 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.26e-05/0.1356, allocations: 4.375 kB / 0.6347 GB, free: 1.664 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001074/0.1357, allocations: 61.92 kB / 0.6347 GB, free: 1.598 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.472e-06/0.1357, allocations: 0 / 0.6347 GB, free: 1.598 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.596e-06/0.1357, allocations: 0 / 0.6347 GB, free: 1.598 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.132e-06/0.1357, allocations: 4 kB / 0.6347 GB, free: 1.594 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.758e-05/0.1358, allocations: 23.98 kB / 0.6348 GB, free: 1.57 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004311/0.1362, allocations: 308.6 kB / 0.6351 GB, free: 1.219 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.741e-05/0.1363, allocations: 50.56 kB / 0.6351 GB, free: 1.16 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.582e-05/0.1364, allocations: 24.95 kB / 0.6351 GB, free: 1.133 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.866e-06/0.1364, allocations: 0 / 0.6351 GB, free: 1.133 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001243/0.1365, allocations: 79.39 kB / 0.6352 GB, free: 1.043 MB / 478.1 MB Notification: Performance of pre-optimization done (n=9): time 1.322e-06/0.1365, allocations: 0 / 0.6352 GB, free: 1.043 MB / 478.1 MB Notification: Performance of matching and sorting (n=9): time 0.0001997/0.1367, allocations: 105.5 kB / 0.6353 GB, free: 0.9336 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.978e-05/0.1368, allocations: 55.41 kB / 0.6354 GB, free: 0.8672 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.551e-05/0.1369, allocations: 101.9 kB / 0.6355 GB, free: 0.7578 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 1.591e-05/0.1369, allocations: 34.06 kB / 0.6355 GB, free: 0.7188 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.036e-05/0.1369, allocations: 88.08 kB / 0.6356 GB, free: 0.6289 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.395e-05/0.1369, allocations: 23.66 kB / 0.6356 GB, free: 0.6055 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.373e-05/0.137, allocations: 25.7 kB / 0.6356 GB, free: 0.5742 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 9.473e-05/0.1371, allocations: 330.7 kB / 0.6359 GB, free: 248 kB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.53e-05/0.1371, allocations: 19.92 kB / 0.636 GB, free: 228 kB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.557e-05/0.1372, allocations: 47.36 kB / 0.636 GB, free: 168 kB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.092e-05/0.1373, allocations: 67.55 kB / 0.6361 GB, free: 88 kB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.322e-06/0.1373, allocations: 0 / 0.6361 GB, free: 88 kB / 478.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001654/0.1375, allocations: 101.5 kB / 0.6362 GB, free: 15.98 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.21e-05/0.1375, allocations: 8.031 kB / 0.6362 GB, free: 15.97 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.138e-06/0.1375, allocations: 64 / 0.6362 GB, free: 15.97 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.715e-05/0.1375, allocations: 8 kB / 0.6362 GB, free: 15.96 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.092e-05/0.1376, allocations: 15.98 kB / 0.6362 GB, free: 15.95 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.663e-06/0.1376, allocations: 3.984 kB / 0.6362 GB, free: 15.94 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.412e-05/0.1377, allocations: 4 kB / 0.6362 GB, free: 15.94 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.005e-06/0.1377, allocations: 4 kB / 0.6362 GB, free: 15.93 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,not1.y,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,$whenCondition2,$whenCondition3,offTim1.entryTime,$PRE.offTim1.entryTime,offTim2.entryTime,$PRE.offTim2.entryTime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 12 * 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 7.862e-05/0.1378, allocations: 129.2 kB / 0.6363 GB, free: 15.8 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.228e-05/0.1378, allocations: 8 kB / 0.6363 GB, free: 15.79 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.668e-05/0.1378, allocations: 7.969 kB / 0.6363 GB, free: 15.78 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.834e-06/0.1378, allocations: 0 / 0.6363 GB, free: 15.78 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.387e-06/0.1378, allocations: 4 kB / 0.6364 GB, free: 15.78 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.1378, allocations: 0 / 0.6364 GB, free: 15.78 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000376/0.1382, allocations: 366.2 kB / 0.6367 GB, free: 15.37 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.1382, allocations: 0 / 0.6367 GB, free: 15.37 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.988e-05/0.1383, allocations: 7.984 kB / 0.6367 GB, free: 15.36 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/0.1383, allocations: 0 / 0.6367 GB, free: 15.36 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.943e-06/0.1383, allocations: 4 kB / 0.6367 GB, free: 15.36 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.03e-06/0.1383, allocations: 7.938 kB / 0.6367 GB, free: 15.35 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.1383, allocations: 0 / 0.6367 GB, free: 15.35 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001492/0.1385, allocations: 179.5 kB / 0.6369 GB, free: 15.16 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.508e-05/0.1385, allocations: 81.02 kB / 0.637 GB, free: 15.06 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.35e-05/0.1385, allocations: 192 / 0.637 GB, free: 15.06 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.903e-05/0.1386, allocations: 7.938 kB / 0.637 GB, free: 15.05 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.632e-05/0.1387, allocations: 15.92 kB / 0.637 GB, free: 15.04 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.743e-06/0.1387, allocations: 8 kB / 0.637 GB, free: 15.03 MB / 494.1 MB Notification: Performance of sorting global known variables: time 4.222e-05/0.1387, allocations: 83.27 kB / 0.6371 GB, free: 14.95 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.944e-06/0.1387, allocations: 3.938 kB / 0.6371 GB, free: 14.94 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002361/0.139, allocations: 19.94 kB / 0.6371 GB, free: 14.92 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 (not1.y,$whenCondition3,$whenCondition2,$whenCondition1,booleanPulse.pulseStart,offTim1.entryTime,offTim2.entryTime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.56e-05/0.1391, allocations: 98.16 kB / 0.6372 GB, free: 14.82 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001353/0.1392, allocations: 55.91 kB / 0.6372 GB, free: 14.77 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.1392, allocations: 0 / 0.6372 GB, free: 14.77 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 5.275e-05/0.1393, allocations: 35.98 kB / 0.6373 GB, free: 14.73 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002658/0.1395, allocations: 11.98 kB / 0.6373 GB, free: 14.72 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002682/0.1398, allocations: 137.6 kB / 0.6374 GB, free: 14.56 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002143/0.14, allocations: 0.6923 MB / 0.6381 GB, free: 13.84 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 2.593e-05/0.1401, allocations: 0 / 0.6381 GB, free: 13.84 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.438e-05/0.1401, allocations: 15.44 kB / 0.6381 GB, free: 13.82 MB / 494.1 MB Notification: Performance of SimCode: time 2.61e-07/0.1401, allocations: 0 / 0.6381 GB, free: 13.82 MB / 494.1 MB Notification: Performance of Templates: time 0.002627/0.1428, allocations: 0.7857 MB / 0.6389 GB, free: 13.04 MB / 494.1 MB make -j1 -f IBPSA_latest_IBPSA.Controls.Continuous.Validation.OffTimerNonZeroStart.makefile (rm -f IBPSA_latest_IBPSA.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe >> ../files/IBPSA_latest_IBPSA.Controls.Continuous.Validation.OffTimerNonZeroStart.sim & ./IBPSA_latest_IBPSA.Controls.Continuous.Validation.OffTimerNonZeroStart -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe 2>&1)