Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_master_IBPSA.Controls.Continuous.Examples.OffTimer.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package IBPSA with version 3.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(IBPSA.Controls.Continuous.Examples.OffTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.Controls.Continuous.Examples.OffTimer") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001871/0.001871, allocations: 188.2 kB / 15.77 MB, free: 6 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 0.8085/0.8085, allocations: 82.92 MB / 99.41 MB, free: 3.266 MB / 74.72 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.107/2.107, allocations: 205.4 MB / 325.4 MB, free: 4.176 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001048/0.001048, allocations: 102.8 kB / 393.6 MB, free: 15.95 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004423/0.0004425, allocations: 12 kB / 471.5 MB, free: 66.68 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1131/0.1136, allocations: 67.45 MB / 0.5263 GB, free: 15.2 MB / 378.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.Continuous.Examples.OffTimer): time 0.00368/0.1174, allocations: 1.162 MB / 0.5275 GB, free: 14.02 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009095/0.1183, allocations: 460.1 kB / 0.5279 GB, free: 13.57 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.843e-05/0.1184, allocations: 0 / 0.5279 GB, free: 13.57 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 1.6e-05/0.1184, allocations: 0 / 0.5279 GB, free: 13.57 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 7.046e-05/0.1185, allocations: 11.97 kB / 0.5279 GB, free: 13.55 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001334/0.1186, allocations: 23.86 kB / 0.528 GB, free: 13.53 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 7.31e-05/0.1187, allocations: 31.95 kB / 0.528 GB, free: 13.5 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.558e-05/0.1188, allocations: 12 kB / 0.528 GB, free: 13.49 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.843e-05/0.1189, allocations: 15.92 kB / 0.528 GB, free: 13.47 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.281e-05/0.119, allocations: 15.92 kB / 0.528 GB, free: 13.46 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.489e-05/0.119, allocations: 0 / 0.528 GB, free: 13.46 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.585e-05/0.119, allocations: 4 kB / 0.528 GB, free: 13.45 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 2.458e-05/0.119, allocations: 11.97 kB / 0.528 GB, free: 13.44 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.237e-05/0.1191, allocations: 37.64 kB / 0.5281 GB, free: 13.4 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 7.001e-05/0.1192, allocations: 24.23 kB / 0.5281 GB, free: 13.38 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.62e-06/0.1192, allocations: 0 / 0.5281 GB, free: 13.38 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.278e-06/0.1192, allocations: 4 kB / 0.5281 GB, free: 13.37 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.937e-06/0.1192, allocations: 0 / 0.5281 GB, free: 13.37 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.00054/0.1198, allocations: 363.2 kB / 0.5284 GB, free: 12.97 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.787e-05/0.1198, allocations: 8.031 kB / 0.5285 GB, free: 12.96 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.13e-05/0.1199, allocations: 7.906 kB / 0.5285 GB, free: 12.95 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001626/0.12, allocations: 175 kB / 0.5286 GB, free: 12.74 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.071e-05/0.1201, allocations: 4 kB / 0.5286 GB, free: 12.74 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.048e-05/0.1201, allocations: 8 kB / 0.5286 GB, free: 12.73 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001351/0.1203, allocations: 57.58 kB / 0.5287 GB, free: 12.67 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.099e-06/0.1203, allocations: 0 / 0.5287 GB, free: 12.67 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.123e-05/0.1203, allocations: 4 kB / 0.5287 GB, free: 12.66 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.29e-06/0.1203, allocations: 0 / 0.5287 GB, free: 12.66 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.326e-05/0.1204, allocations: 23.97 kB / 0.5287 GB, free: 12.64 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005902/0.121, allocations: 312.7 kB / 0.529 GB, free: 12.29 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001407/0.1212, allocations: 54.59 kB / 0.5291 GB, free: 12.22 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.924e-06/0.1212, allocations: 0 / 0.5291 GB, free: 12.22 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001966/0.1214, allocations: 83.58 kB / 0.5292 GB, free: 12.13 MB / 378.7 MB Notification: Performance of pre-optimization done (n=9): time 2.459e-06/0.1214, allocations: 0 / 0.5292 GB, free: 12.13 MB / 378.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002759/0.1217, allocations: 97.56 kB / 0.5292 GB, free: 12.03 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.957e-05/0.1218, allocations: 55.39 kB / 0.5293 GB, free: 11.96 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001029/0.1219, allocations: 105.8 kB / 0.5294 GB, free: 11.85 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.095e-05/0.1219, allocations: 29.7 kB / 0.5294 GB, free: 11.81 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.063e-05/0.122, allocations: 88.12 kB / 0.5295 GB, free: 11.72 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.496e-05/0.1221, allocations: 19.66 kB / 0.5295 GB, free: 11.7 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.205e-06/0.1221, allocations: 8 kB / 0.5295 GB, free: 11.7 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001616/0.1223, allocations: 318.8 kB / 0.5298 GB, free: 11.38 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.006e-05/0.1223, allocations: 16 kB / 0.5299 GB, free: 11.36 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.208e-05/0.1224, allocations: 39.42 kB / 0.5299 GB, free: 11.31 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.17e-05/0.1225, allocations: 20 kB / 0.5299 GB, free: 11.29 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.103e-06/0.1225, allocations: 3.953 kB / 0.5299 GB, free: 11.29 MB / 378.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002167/0.1227, allocations: 97.55 kB / 0.53 GB, free: 11.18 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.724e-05/0.1228, allocations: 15.97 kB / 0.53 GB, free: 11.17 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.84e-06/0.1228, allocations: 0 / 0.53 GB, free: 11.17 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.263e-05/0.1228, allocations: 64 / 0.53 GB, free: 11.17 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.117e-05/0.1229, allocations: 19.98 kB / 0.53 GB, free: 11.15 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.804e-06/0.1229, allocations: 0 / 0.53 GB, free: 11.15 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.837e-05/0.123, allocations: 11.91 kB / 0.5301 GB, free: 11.14 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.21e-05/0.123, allocations: 4 kB / 0.5301 GB, free: 11.13 MB / 378.7 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,$whenCondition3,$whenCondition2,$PRE.booleanPulse.pulseStart,booleanPulse.pulseStart,not1.y,$PRE.offTim1.entryTime,offTim1.entryTime,$PRE.offTim2.entryTime,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001213/0.1232, allocations: 122.6 kB / 0.5302 GB, free: 11 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.595e-05/0.1232, allocations: 12.22 kB / 0.5302 GB, free: 10.99 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.883e-05/0.1232, allocations: 7.969 kB / 0.5302 GB, free: 10.99 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.27e-06/0.1233, allocations: 7.984 kB / 0.5302 GB, free: 10.98 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.424e-06/0.1233, allocations: 0 / 0.5302 GB, free: 10.98 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.912e-06/0.1233, allocations: 0 / 0.5302 GB, free: 10.98 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008342/0.1241, allocations: 362.4 kB / 0.5306 GB, free: 10.57 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.789e-06/0.1242, allocations: 0 / 0.5306 GB, free: 10.57 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.148e-05/0.1242, allocations: 8 kB / 0.5306 GB, free: 10.56 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.081e-06/0.1243, allocations: 480 / 0.5306 GB, free: 10.56 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.956e-05/0.1243, allocations: 3.984 kB / 0.5306 GB, free: 10.56 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.843e-06/0.1243, allocations: 4 kB / 0.5306 GB, free: 10.55 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.939e-06/0.1244, allocations: 3.938 kB / 0.5306 GB, free: 10.55 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003944/0.1248, allocations: 179.4 kB / 0.5307 GB, free: 10.36 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.358e-05/0.1249, allocations: 88.94 kB / 0.5308 GB, free: 10.25 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.785e-05/0.1249, allocations: 3.938 kB / 0.5308 GB, free: 10.25 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002182/0.1252, allocations: 16 kB / 0.5308 GB, free: 10.23 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.608e-05/0.1252, allocations: 7.984 kB / 0.5309 GB, free: 10.23 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.407e-06/0.1253, allocations: 0 / 0.5309 GB, free: 10.23 MB / 378.7 MB Notification: Performance of sorting global known variables: time 6.484e-05/0.1253, allocations: 87.27 kB / 0.5309 GB, free: 10.14 MB / 378.7 MB Notification: Performance of sort global known variables: time 7.41e-07/0.1253, allocations: 0 / 0.5309 GB, free: 10.14 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003599/0.1257, allocations: 12 kB / 0.5309 GB, free: 10.13 MB / 378.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001197/0.1259, allocations: 99.25 kB / 0.531 GB, free: 10.02 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001747/0.126, allocations: 55.91 kB / 0.5311 GB, free: 9.965 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.499e-06/0.1261, allocations: 0 / 0.5311 GB, free: 9.965 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.98e-05/0.1261, allocations: 27.94 kB / 0.5311 GB, free: 9.938 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002399/0.1264, allocations: 11.94 kB / 0.5311 GB, free: 9.926 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004879/0.1269, allocations: 180.7 kB / 0.5313 GB, free: 9.727 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003631/0.1273, allocations: 0.6926 MB / 0.532 GB, free: 9.008 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 4.216e-05/0.1273, allocations: 4 kB / 0.532 GB, free: 9.004 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.589e-05/0.1274, allocations: 11.44 kB / 0.532 GB, free: 8.992 MB / 378.7 MB Notification: Performance of SimCode: time 1.309e-06/0.1274, allocations: 0 / 0.532 GB, free: 8.992 MB / 378.7 MB Notification: Performance of Templates: time 0.003326/0.1307, allocations: 0.6551 MB / 0.5326 GB, free: 8.344 MB / 378.7 MB