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.002384/0.002389, allocations: 354.1 kB / 15.94 MB, free: 6.207 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 1.284/1.284, allocations: 165.9 MB / 182.5 MB, free: 5.91 MB / 90.72 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.131/4.131, allocations: 410.7 MB / 0.5995 GB, free: 37.1 MB / 282.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001802/0.001802, allocations: 188.5 kB / 0.6662 GB, free: 1.793 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004647/0.0004649, allocations: 11.09 kB / 0.7423 GB, free: 73.72 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1001/0.1006, allocations: 67.46 MB / 0.8081 GB, free: 17.16 MB / 378.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.Continuous.Examples.OffTimer): time 0.001408/0.102, allocations: 1.161 MB / 0.8093 GB, free: 15.99 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006739/0.1027, allocations: 460.6 kB / 0.8097 GB, free: 15.53 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.153e-05/0.1028, allocations: 4 kB / 0.8097 GB, free: 15.53 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 1.352e-05/0.1028, allocations: 4 kB / 0.8097 GB, free: 15.52 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 7.102e-05/0.1029, allocations: 7.922 kB / 0.8097 GB, free: 15.52 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001286/0.103, allocations: 8 kB / 0.8097 GB, free: 15.51 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 6.819e-05/0.1031, allocations: 47.84 kB / 0.8098 GB, free: 15.46 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.868e-05/0.1032, allocations: 15.97 kB / 0.8098 GB, free: 15.45 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.379e-05/0.1033, allocations: 11.94 kB / 0.8098 GB, free: 15.43 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.92e-05/0.1033, allocations: 23.91 kB / 0.8098 GB, free: 15.41 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.437e-05/0.1034, allocations: 0 / 0.8098 GB, free: 15.41 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.348e-05/0.1034, allocations: 4 kB / 0.8098 GB, free: 15.41 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 1.551e-05/0.1034, allocations: 8 kB / 0.8098 GB, free: 15.4 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 2.68e-05/0.1034, allocations: 33.64 kB / 0.8099 GB, free: 15.36 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 7.298e-05/0.1035, allocations: 36.2 kB / 0.8099 GB, free: 15.32 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.71e-06/0.1035, allocations: 0 / 0.8099 GB, free: 15.32 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.853e-06/0.1036, allocations: 0 / 0.8099 GB, free: 15.32 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.781e-06/0.1036, allocations: 0 / 0.8099 GB, free: 15.32 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.000408/0.104, allocations: 355.2 kB / 0.8102 GB, free: 14.93 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.339e-05/0.104, allocations: 12.03 kB / 0.8103 GB, free: 14.92 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.342e-05/0.1041, allocations: 7.906 kB / 0.8103 GB, free: 14.91 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.688e-05/0.1042, allocations: 175 kB / 0.8104 GB, free: 14.7 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.602e-05/0.1042, allocations: 0 / 0.8104 GB, free: 14.7 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.505e-05/0.1042, allocations: 7.938 kB / 0.8104 GB, free: 14.69 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001144/0.1044, allocations: 65.56 kB / 0.8105 GB, free: 14.62 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.074e-06/0.1044, allocations: 0 / 0.8105 GB, free: 14.62 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.209e-05/0.1044, allocations: 4 kB / 0.8105 GB, free: 14.62 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.571e-06/0.1044, allocations: 0 / 0.8105 GB, free: 14.62 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.765e-05/0.1045, allocations: 23.98 kB / 0.8105 GB, free: 14.59 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004519/0.105, allocations: 308.7 kB / 0.8108 GB, free: 14.24 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001188/0.1051, allocations: 54.62 kB / 0.8109 GB, free: 14.18 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.55e-05/0.1052, allocations: 28.88 kB / 0.8109 GB, free: 14.15 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.259e-05/0.1052, allocations: 0 / 0.8109 GB, free: 14.15 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001587/0.1054, allocations: 71.42 kB / 0.811 GB, free: 14.07 MB / 378.7 MB Notification: Performance of pre-optimization done (n=9): time 2.396e-06/0.1054, allocations: 0 / 0.811 GB, free: 14.07 MB / 378.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002356/0.1056, allocations: 97.61 kB / 0.8111 GB, free: 13.96 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.578e-05/0.1057, allocations: 51.41 kB / 0.8111 GB, free: 13.9 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.816e-05/0.1057, allocations: 113.8 kB / 0.8112 GB, free: 13.78 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.387e-05/0.1058, allocations: 29.7 kB / 0.8113 GB, free: 13.75 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.484e-05/0.1058, allocations: 92.12 kB / 0.8113 GB, free: 13.65 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.707e-05/0.1058, allocations: 27.64 kB / 0.8114 GB, free: 13.62 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.431e-06/0.1059, allocations: 0 / 0.8114 GB, free: 13.62 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.323e-05/0.1059, allocations: 322.8 kB / 0.8117 GB, free: 13.3 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.549e-05/0.106, allocations: 16 kB / 0.8117 GB, free: 13.29 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.951e-05/0.1061, allocations: 43.61 kB / 0.8117 GB, free: 13.23 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.766e-05/0.1061, allocations: 31.92 kB / 0.8118 GB, free: 13.2 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.386e-06/0.1061, allocations: 0 / 0.8118 GB, free: 13.2 MB / 378.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001712/0.1063, allocations: 97.55 kB / 0.8119 GB, free: 13.1 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.535e-05/0.1063, allocations: 4.625 kB / 0.8119 GB, free: 13.09 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.992e-06/0.1064, allocations: 0 / 0.8119 GB, free: 13.09 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.519e-05/0.1064, allocations: 4.375 kB / 0.8119 GB, free: 13.09 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.061e-05/0.1065, allocations: 15.92 kB / 0.8119 GB, free: 13.07 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.692e-06/0.1065, allocations: 3.984 kB / 0.8119 GB, free: 13.07 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.576e-05/0.1066, allocations: 19.94 kB / 0.8119 GB, free: 13.05 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.041e-05/0.1066, allocations: 7.938 kB / 0.8119 GB, free: 13.04 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 7.246e-05/0.1067, allocations: 122.8 kB / 0.812 GB, free: 12.91 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.63e-05/0.1067, allocations: 3.984 kB / 0.812 GB, free: 12.91 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.759e-05/0.1068, allocations: 11.97 kB / 0.812 GB, free: 12.9 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.674e-06/0.1068, allocations: 0 / 0.812 GB, free: 12.9 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.22e-06/0.1068, allocations: 0 / 0.812 GB, free: 12.9 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.131e-06/0.1068, allocations: 0 / 0.812 GB, free: 12.9 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004029/0.1072, allocations: 362.4 kB / 0.8124 GB, free: 12.49 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.66e-06/0.1072, allocations: 0 / 0.8124 GB, free: 12.49 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.343e-05/0.1073, allocations: 7.938 kB / 0.8124 GB, free: 12.48 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.746e-06/0.1073, allocations: 4 kB / 0.8124 GB, free: 12.48 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.104e-05/0.1073, allocations: 7.984 kB / 0.8124 GB, free: 12.47 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.481e-06/0.1073, allocations: 0 / 0.8124 GB, free: 12.47 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.831e-06/0.1073, allocations: 0 / 0.8124 GB, free: 12.47 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001713/0.1075, allocations: 179.4 kB / 0.8126 GB, free: 12.28 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.657e-05/0.1075, allocations: 88.94 kB / 0.8127 GB, free: 12.18 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.003e-05/0.1076, allocations: 8 kB / 0.8127 GB, free: 12.17 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001132/0.1077, allocations: 4 kB / 0.8127 GB, free: 12.16 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.835e-05/0.1078, allocations: 7.984 kB / 0.8127 GB, free: 12.16 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.022e-05/0.1078, allocations: 4 kB / 0.8127 GB, free: 12.15 MB / 378.7 MB Notification: Performance of sorting global known variables: time 3.215e-05/0.1078, allocations: 87.27 kB / 0.8128 GB, free: 12.07 MB / 378.7 MB Notification: Performance of sort global known variables: time 7.45e-07/0.1078, allocations: 4 kB / 0.8128 GB, free: 12.06 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003092/0.1081, allocations: 12 kB / 0.8128 GB, free: 12.05 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 8.303e-05/0.1082, allocations: 98.06 kB / 0.8129 GB, free: 11.95 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001503/0.1084, allocations: 52.25 kB / 0.8129 GB, free: 11.89 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.121e-06/0.1084, allocations: 192 / 0.8129 GB, free: 11.89 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.627e-05/0.1085, allocations: 31.86 kB / 0.813 GB, free: 11.86 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003464/0.1089, allocations: 21.58 kB / 0.813 GB, free: 11.84 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004029/0.1093, allocations: 172.7 kB / 0.8131 GB, free: 11.65 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000123/0.1094, allocations: 0.6887 MB / 0.8138 GB, free: 10.94 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 3.602e-05/0.1095, allocations: 8.094 kB / 0.8138 GB, free: 10.93 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.177e-05/0.1095, allocations: 11.44 kB / 0.8138 GB, free: 10.92 MB / 378.7 MB Notification: Performance of SimCode: time 1.37e-06/0.1095, allocations: 3.938 kB / 0.8138 GB, free: 10.91 MB / 378.7 MB Notification: Performance of Templates: time 0.003078/0.1126, allocations: 0.6572 MB / 0.8145 GB, free: 10.26 MB / 378.7 MB