Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.RegNonZeroPower.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Utilities.Math.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.RegNonZeroPower") translateModel(Buildings.Utilities.Math.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.RegNonZeroPower") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007041/0.0007042, allocations: 97.95 kB / 15.36 MB, free: 0.7344 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.004156/0.004156, allocations: 170.7 kB / 16.27 MB, free: 6.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.168/1.168, allocations: 205.4 MB / 222.4 MB, free: 5.57 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.329/1.329, allocations: 252 MB / 0.5105 GB, free: 4.641 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004553/0.0004554, allocations: 19.98 kB / 0.6249 GB, free: 0.6875 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3949/0.3953, allocations: 106.3 MB / 0.7287 GB, free: 11.42 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.RegNonZeroPower): time 0.001422/0.3968, allocations: 1.172 MB / 0.7299 GB, free: 10.24 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0006784/0.3975, allocations: 395.7 kB / 0.7302 GB, free: 9.848 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.647e-05/0.3975, allocations: 4 kB / 0.7302 GB, free: 9.844 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 1.659e-05/0.3976, allocations: 0 / 0.7302 GB, free: 9.844 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 4.259e-05/0.3976, allocations: 11.91 kB / 0.7303 GB, free: 9.832 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003351/0.398, allocations: 75.86 kB / 0.7303 GB, free: 9.758 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 5.311e-05/0.398, allocations: 23.92 kB / 0.7303 GB, free: 9.734 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 7.363e-05/0.3981, allocations: 7.984 kB / 0.7304 GB, free: 9.727 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 3.854e-05/0.3981, allocations: 7.938 kB / 0.7304 GB, free: 9.719 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 3.622e-05/0.3982, allocations: 15.92 kB / 0.7304 GB, free: 9.703 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.046e-05/0.3982, allocations: 0 / 0.7304 GB, free: 9.703 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003241/0.3985, allocations: 275.7 kB / 0.7306 GB, free: 9.434 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.049e-05/0.3986, allocations: 0 / 0.7306 GB, free: 9.434 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.328e-05/0.3986, allocations: 37.62 kB / 0.7307 GB, free: 9.391 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001669/0.3988, allocations: 99.77 kB / 0.7308 GB, free: 9.293 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.3988, allocations: 4 kB / 0.7308 GB, free: 9.289 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.753e-06/0.3988, allocations: 4 kB / 0.7308 GB, free: 9.285 MB / 0.545 GB Notification: Performance of Transformations before backend: time 3.306e-06/0.3988, allocations: 0 / 0.7308 GB, free: 9.285 MB / 0.545 GB 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.0003911/0.3992, allocations: 361.6 kB / 0.7311 GB, free: 8.883 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.431e-05/0.3992, allocations: 8.031 kB / 0.7311 GB, free: 8.875 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.615e-05/0.3993, allocations: 8.844 kB / 0.7311 GB, free: 8.867 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.961e-05/0.3994, allocations: 168.3 kB / 0.7313 GB, free: 8.664 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.546e-06/0.3994, allocations: 8.375 kB / 0.7313 GB, free: 8.656 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.03e-05/0.3994, allocations: 384 / 0.7313 GB, free: 8.656 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001719/0.3996, allocations: 54.23 kB / 0.7314 GB, free: 8.598 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.224e-06/0.3996, allocations: 4.125 kB / 0.7314 GB, free: 8.594 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.377e-06/0.3996, allocations: 3.938 kB / 0.7314 GB, free: 8.59 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.606e-06/0.3996, allocations: 0 / 0.7314 GB, free: 8.59 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001658/0.3998, allocations: 51.95 kB / 0.7314 GB, free: 8.539 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002742/0.4001, allocations: 249 kB / 0.7317 GB, free: 8.246 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001195/0.4002, allocations: 50.5 kB / 0.7317 GB, free: 8.188 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.669e-05/0.4003, allocations: 20.91 kB / 0.7317 GB, free: 8.164 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005781/0.4009, allocations: 473.4 kB / 0.7322 GB, free: 7.609 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.253e-05/0.4009, allocations: 34.5 kB / 0.7322 GB, free: 7.566 MB / 0.545 GB Notification: Performance of pre-optimization done (n=2): time 1.012e-06/0.4009, allocations: 0 / 0.7322 GB, free: 7.566 MB / 0.545 GB Notification: Performance of matching and sorting (n=2): time 0.0003578/0.4013, allocations: 105.5 kB / 0.7323 GB, free: 7.457 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.886e-05/0.4013, allocations: 51.41 kB / 0.7324 GB, free: 7.395 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.051e-05/0.4014, allocations: 101.9 kB / 0.7325 GB, free: 7.285 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.228e-05/0.4014, allocations: 29.69 kB / 0.7325 GB, free: 7.25 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 3.884e-05/0.4015, allocations: 88.27 kB / 0.7326 GB, free: 7.16 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.441e-05/0.4015, allocations: 3.906 kB / 0.7326 GB, free: 7.156 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.114e-05/0.4015, allocations: 13.72 kB / 0.7326 GB, free: 7.137 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 8.793e-05/0.4016, allocations: 314.8 kB / 0.7329 GB, free: 6.82 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.211e-05/0.4017, allocations: 23.97 kB / 0.7329 GB, free: 6.797 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.458e-05/0.4018, allocations: 31.92 kB / 0.7329 GB, free: 6.766 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001557/0.4019, allocations: 44.83 kB / 0.733 GB, free: 6.719 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.4019, allocations: 0 / 0.733 GB, free: 6.719 MB / 0.545 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002076/0.4022, allocations: 85.66 kB / 0.7331 GB, free: 6.629 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.237e-05/0.4022, allocations: 4 kB / 0.7331 GB, free: 6.625 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.947e-06/0.4022, allocations: 0 / 0.7331 GB, free: 6.625 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.027e-06/0.4022, allocations: 0 / 0.7331 GB, free: 6.625 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.816e-05/0.4023, allocations: 15.98 kB / 0.7331 GB, free: 6.609 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.208e-06/0.4023, allocations: 4.031 kB / 0.7331 GB, free: 6.605 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.365e-05/0.4023, allocations: 4 kB / 0.7331 GB, free: 6.602 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.408e-06/0.4023, allocations: 0 / 0.7331 GB, free: 6.602 MB / 0.545 GB 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.21e-05/0.4024, allocations: 121.8 kB / 0.7332 GB, free: 6.473 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.427e-05/0.4025, allocations: 3.938 kB / 0.7332 GB, free: 6.469 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002213/0.4027, allocations: 93.17 kB / 0.7333 GB, free: 6.371 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-06/0.4027, allocations: 3.984 kB / 0.7333 GB, free: 6.367 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.386e-06/0.4027, allocations: 0 / 0.7333 GB, free: 6.367 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.933e-06/0.4027, allocations: 0 / 0.7333 GB, free: 6.367 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001403/0.4029, allocations: 161.6 kB / 0.7335 GB, free: 6.16 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.4029, allocations: 0 / 0.7335 GB, free: 6.16 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.722e-05/0.4029, allocations: 16.03 kB / 0.7335 GB, free: 6.145 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.586e-06/0.4029, allocations: 3.984 kB / 0.7335 GB, free: 6.141 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.37e-06/0.403, allocations: 0 / 0.7335 GB, free: 6.141 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.403, allocations: 256 / 0.7335 GB, free: 6.141 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/0.403, allocations: 0 / 0.7335 GB, free: 6.141 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002476/0.4032, allocations: 195.2 kB / 0.7337 GB, free: 5.934 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 2.862e-05/0.4033, allocations: 77.11 kB / 0.7337 GB, free: 5.84 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.999e-06/0.4033, allocations: 0 / 0.7337 GB, free: 5.84 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.154e-05/0.4033, allocations: 11.98 kB / 0.7337 GB, free: 5.828 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.865e-05/0.4034, allocations: 0 / 0.7337 GB, free: 5.828 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.855e-06/0.4034, allocations: 0 / 0.7337 GB, free: 5.828 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.327e-05/0.4034, allocations: 83.28 kB / 0.7338 GB, free: 5.746 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4034, allocations: 4.031 kB / 0.7338 GB, free: 5.742 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002163/0.4037, allocations: 19.98 kB / 0.7339 GB, free: 5.723 MB / 0.545 GB 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001415/0.4038, allocations: 115.2 kB / 0.734 GB, free: 5.602 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002067/0.404, allocations: 51.95 kB / 0.734 GB, free: 5.551 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.404, allocations: 0 / 0.734 GB, free: 5.551 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 8.678e-05/0.4041, allocations: 27.92 kB / 0.734 GB, free: 5.523 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000241/0.4044, allocations: 3.938 kB / 0.734 GB, free: 5.52 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000231/0.4046, allocations: 128.7 kB / 0.7342 GB, free: 5.371 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000212/0.4048, allocations: 0.6731 MB / 0.7348 GB, free: 4.672 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 2.246e-05/0.4049, allocations: 3.984 kB / 0.7348 GB, free: 4.668 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.694e-05/0.4049, allocations: 7.438 kB / 0.7348 GB, free: 4.66 MB / 0.545 GB Notification: Performance of SimCode: time 3.1e-07/0.4049, allocations: 0 / 0.7348 GB, free: 4.66 MB / 0.545 GB Notification: Performance of Templates: time 0.002439/0.4073, allocations: 0.6372 MB / 0.7355 GB, free: 4.031 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.RegNonZeroPower.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.RegNonZeroPower.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.RegNonZeroPower -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe 2>&1) Environment - environmentSimulation: