Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_master_IBPSA.Utilities.Math.Examples.RegNonZeroPower.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.Utilities.Math.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.Utilities.Math.Examples.RegNonZeroPower") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002228/0.002227, allocations: 189.4 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.7861/0.7861, allocations: 82.93 MB / 99.42 MB, free: 3.277 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.396/2.396, allocations: 205.4 MB / 325.4 MB, free: 3.559 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.001021/0.001021, allocations: 93.11 kB / 393.6 MB, free: 15.33 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004533/0.0004535, allocations: 12 kB / 471.5 MB, free: 66.6 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09184/0.09232, allocations: 67.46 MB / 0.5264 GB, free: 15.11 MB / 378.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.RegNonZeroPower): time 0.001854/0.09423, allocations: 1.137 MB / 0.5275 GB, free: 13.96 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007607/0.09501, allocations: 352.8 kB / 0.5278 GB, free: 13.62 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.694e-05/0.09506, allocations: 4 kB / 0.5278 GB, free: 13.61 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 1.411e-05/0.09508, allocations: 3.938 kB / 0.5278 GB, free: 13.61 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 4.504e-05/0.09514, allocations: 7.984 kB / 0.5278 GB, free: 13.6 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003635/0.09551, allocations: 70.91 kB / 0.5279 GB, free: 13.54 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 4.879e-05/0.09558, allocations: 12 kB / 0.5279 GB, free: 13.52 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.658e-05/0.09565, allocations: 7.984 kB / 0.5279 GB, free: 13.52 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.067e-05/0.09571, allocations: 11.92 kB / 0.5279 GB, free: 13.5 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.049e-05/0.09576, allocations: 11.98 kB / 0.5279 GB, free: 13.49 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.125e-05/0.09578, allocations: 0 / 0.5279 GB, free: 13.49 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004646/0.09626, allocations: 255.7 kB / 0.5282 GB, free: 13.24 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 1.217e-05/0.09628, allocations: 3.938 kB / 0.5282 GB, free: 13.24 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.223e-05/0.09633, allocations: 33.7 kB / 0.5282 GB, free: 13.2 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001596/0.0965, allocations: 63.88 kB / 0.5283 GB, free: 13.14 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.692e-06/0.09651, allocations: 0 / 0.5283 GB, free: 13.14 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.025e-06/0.09653, allocations: 4 kB / 0.5283 GB, free: 13.13 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.236e-06/0.09654, allocations: 0 / 0.5283 GB, free: 13.13 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.000503/0.09705, allocations: 367.5 kB / 0.5286 GB, free: 12.73 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.779e-05/0.0971, allocations: 8.031 kB / 0.5286 GB, free: 12.72 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.773e-05/0.09718, allocations: 7.984 kB / 0.5286 GB, free: 12.71 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001458/0.09734, allocations: 163 kB / 0.5288 GB, free: 12.51 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.453e-05/0.09736, allocations: 4 kB / 0.5288 GB, free: 12.51 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.228e-05/0.09739, allocations: 11.94 kB / 0.5288 GB, free: 12.5 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001998/0.0976, allocations: 53.61 kB / 0.5289 GB, free: 12.44 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.609e-06/0.09762, allocations: 0 / 0.5289 GB, free: 12.44 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.311e-05/0.09764, allocations: 7.953 kB / 0.5289 GB, free: 12.43 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.027e-06/0.09766, allocations: 0 / 0.5289 GB, free: 12.43 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002125/0.09788, allocations: 47.95 kB / 0.5289 GB, free: 12.38 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003684/0.09826, allocations: 245 kB / 0.5291 GB, free: 12.09 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001643/0.09844, allocations: 50.48 kB / 0.5292 GB, free: 12.04 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008106/0.09927, allocations: 461.5 kB / 0.5296 GB, free: 11.49 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.588e-05/0.09933, allocations: 38.52 kB / 0.5297 GB, free: 11.45 MB / 378.7 MB Notification: Performance of pre-optimization done (n=2): time 2.381e-06/0.09934, allocations: 0 / 0.5297 GB, free: 11.45 MB / 378.7 MB Notification: Performance of matching and sorting (n=2): time 0.0004659/0.09981, allocations: 101.7 kB / 0.5298 GB, free: 11.34 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.41e-05/0.09987, allocations: 51.41 kB / 0.5298 GB, free: 11.28 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.927e-05/0.09998, allocations: 105.8 kB / 0.5299 GB, free: 11.16 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.923e-05/0.1, allocations: 25.7 kB / 0.5299 GB, free: 11.13 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.87e-05/0.1001, allocations: 80.14 kB / 0.53 GB, free: 11.05 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.471e-05/0.1001, allocations: 15.83 kB / 0.53 GB, free: 11.04 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.024e-06/0.1001, allocations: 0 / 0.53 GB, free: 11.04 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001591/0.1003, allocations: 318.8 kB / 0.5303 GB, free: 10.71 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000109/0.1004, allocations: 27.95 kB / 0.5304 GB, free: 10.69 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.599e-05/0.1005, allocations: 19.98 kB / 0.5304 GB, free: 10.67 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001048/0.1007, allocations: 28.05 kB / 0.5304 GB, free: 10.64 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.1007, allocations: 0 / 0.5304 GB, free: 10.64 MB / 378.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002844/0.101, allocations: 73.66 kB / 0.5305 GB, free: 10.56 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.808e-05/0.101, allocations: 4 kB / 0.5305 GB, free: 10.56 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.391e-06/0.101, allocations: 3.953 kB / 0.5305 GB, free: 10.55 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.598e-05/0.101, allocations: 4.031 kB / 0.5305 GB, free: 10.55 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001002/0.1011, allocations: 19.92 kB / 0.5305 GB, free: 10.53 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.399e-06/0.1012, allocations: 0 / 0.5305 GB, free: 10.53 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.17e-05/0.1012, allocations: 7.906 kB / 0.5305 GB, free: 10.52 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.069e-05/0.1013, allocations: 4 kB / 0.5305 GB, free: 10.52 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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.0001013/0.1014, allocations: 113.8 kB / 0.5306 GB, free: 10.4 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.161e-05/0.1014, allocations: 0 / 0.5306 GB, free: 10.4 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002969/0.1017, allocations: 93.12 kB / 0.5307 GB, free: 10.3 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.118e-06/0.1018, allocations: 3.953 kB / 0.5307 GB, free: 10.3 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.303e-06/0.1018, allocations: 0 / 0.5307 GB, free: 10.3 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.949e-06/0.1018, allocations: 256 / 0.5307 GB, free: 10.3 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002243/0.102, allocations: 157.7 kB / 0.5309 GB, free: 10.1 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.05e-06/0.102, allocations: 8.031 kB / 0.5309 GB, free: 10.09 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.84e-05/0.1021, allocations: 15.98 kB / 0.5309 GB, free: 10.07 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.126e-06/0.1022, allocations: 3.984 kB / 0.5309 GB, free: 10.07 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.749e-06/0.1022, allocations: 0 / 0.5309 GB, free: 10.07 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.318e-06/0.1022, allocations: 3.938 kB / 0.5309 GB, free: 10.07 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.741e-06/0.1022, allocations: 3.953 kB / 0.5309 GB, free: 10.06 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003461/0.1025, allocations: 179.5 kB / 0.5311 GB, free: 9.871 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.704e-05/0.1026, allocations: 81.02 kB / 0.5312 GB, free: 9.773 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.529e-05/0.1026, allocations: 0 / 0.5312 GB, free: 9.773 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001061/0.1028, allocations: 11.98 kB / 0.5312 GB, free: 9.762 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.926e-05/0.1028, allocations: 7.984 kB / 0.5312 GB, free: 9.754 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.615e-06/0.1028, allocations: 0 / 0.5312 GB, free: 9.754 MB / 378.7 MB Notification: Performance of sorting global known variables: time 6.547e-05/0.1029, allocations: 83.28 kB / 0.5313 GB, free: 9.672 MB / 378.7 MB Notification: Performance of sort global known variables: time 6.8e-07/0.1029, allocations: 0 / 0.5313 GB, free: 9.672 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.00032/0.1033, allocations: 19.98 kB / 0.5313 GB, free: 9.652 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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 Backend phase and start with SimCode phase: time 0.000187/0.1035, allocations: 103.2 kB / 0.5314 GB, free: 9.539 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002536/0.1037, allocations: 51.95 kB / 0.5314 GB, free: 9.488 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.59e-06/0.1037, allocations: 0 / 0.5314 GB, free: 9.488 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001164/0.1039, allocations: 27.92 kB / 0.5314 GB, free: 9.461 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002233/0.1041, allocations: 4 kB / 0.5314 GB, free: 9.457 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002972/0.1044, allocations: 116.8 kB / 0.5316 GB, free: 9.316 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003553/0.1048, allocations: 0.6809 MB / 0.5322 GB, free: 8.609 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 2.786e-05/0.1048, allocations: 0 / 0.5322 GB, free: 8.609 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.38e-05/0.1049, allocations: 7.438 kB / 0.5322 GB, free: 8.602 MB / 378.7 MB Notification: Performance of SimCode: time 1.484e-06/0.1049, allocations: 0 / 0.5322 GB, free: 8.602 MB / 378.7 MB Notification: Performance of Templates: time 0.003094/0.108, allocations: 0.6191 MB / 0.5328 GB, free: 7.988 MB / 378.7 MB