Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Utilities.Math.Functions.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 1.6.0+build.1/package.mo", uses=false) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/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.Functions.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower") translateModel(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008347/0.008347, allocations: 100.1 kB / 15.73 MB, free: 6.043 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.001482/0.001482, allocations: 189.3 kB / 16.67 MB, free: 5.973 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.658/1.658, allocations: 205.1 MB / 222.6 MB, free: 4.527 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.6588/0.6588, allocations: 95.48 MB / 365.4 MB, free: 9.773 MB / 302.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: Buildings requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00143/0.00143, allocations: 75.89 kB / 0.5036 GB, free: 13.55 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1515/0.1529, allocations: 69.09 MB / 0.5711 GB, free: 8.398 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower): time 0.001872/0.1548, allocations: 0.5391 MB / 0.5716 GB, free: 7.863 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006534/0.1555, allocations: 311.2 kB / 0.5719 GB, free: 7.559 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.989e-05/0.1555, allocations: 0 / 0.5719 GB, free: 7.559 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.395e-05/0.1556, allocations: 0 / 0.5719 GB, free: 7.559 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 5.651e-06/0.1556, allocations: 0 / 0.5719 GB, free: 7.559 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004332/0.156, allocations: 102.9 kB / 0.572 GB, free: 7.461 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 4.409e-05/0.1561, allocations: 11.94 kB / 0.572 GB, free: 7.449 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.363e-05/0.1561, allocations: 0 / 0.572 GB, free: 7.449 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.71e-05/0.1561, allocations: 3.984 kB / 0.572 GB, free: 7.445 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.103e-05/0.1562, allocations: 4 kB / 0.572 GB, free: 7.441 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.105e-05/0.1562, allocations: 0 / 0.572 GB, free: 7.441 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003489/0.1565, allocations: 231.7 kB / 0.5723 GB, free: 7.215 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.361e-05/0.1566, allocations: 3.984 kB / 0.5723 GB, free: 7.211 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 1.823e-05/0.1566, allocations: 3.938 kB / 0.5723 GB, free: 7.207 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001804/0.1568, allocations: 79.88 kB / 0.5723 GB, free: 7.129 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.1568, allocations: 0 / 0.5723 GB, free: 7.129 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.074e-06/0.1568, allocations: 4 kB / 0.5724 GB, free: 7.125 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.471e-06/0.1568, allocations: 0 / 0.5724 GB, free: 7.125 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003918/0.1572, allocations: 335.6 kB / 0.5727 GB, free: 6.75 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.662e-05/0.1573, allocations: 15.98 kB / 0.5727 GB, free: 6.734 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.634e-05/0.1573, allocations: 0.9375 kB / 0.5727 GB, free: 6.734 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000129/0.1575, allocations: 164.4 kB / 0.5728 GB, free: 6.535 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.442e-05/0.1575, allocations: 3.938 kB / 0.5728 GB, free: 6.531 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.42e-05/0.1575, allocations: 4 kB / 0.5729 GB, free: 6.527 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001163/0.1576, allocations: 25.7 kB / 0.5729 GB, free: 6.496 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.304e-05/0.1576, allocations: 3.938 kB / 0.5729 GB, free: 6.492 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.147e-05/0.1577, allocations: 0 / 0.5729 GB, free: 6.492 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-06/0.1577, allocations: 0 / 0.5729 GB, free: 6.492 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.351e-05/0.1577, allocations: 8 kB / 0.5729 GB, free: 6.484 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003066/0.158, allocations: 153.6 kB / 0.573 GB, free: 6.285 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.829e-05/0.1581, allocations: 26.58 kB / 0.5731 GB, free: 6.25 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.159e-05/0.1581, allocations: 4.859 kB / 0.5731 GB, free: 6.242 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008276/0.1589, allocations: 429.6 kB / 0.5735 GB, free: 5.73 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.403e-05/0.159, allocations: 34.56 kB / 0.5735 GB, free: 5.688 MB / 446.1 MB Notification: Performance of pre-optimization done (n=1): time 9.42e-07/0.159, allocations: 3.938 kB / 0.5735 GB, free: 5.684 MB / 446.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002208/0.1592, allocations: 37.64 kB / 0.5735 GB, free: 5.641 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.006e-05/0.1593, allocations: 51.41 kB / 0.5736 GB, free: 5.578 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001638/0.1594, allocations: 93.86 kB / 0.5737 GB, free: 5.477 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.834e-05/0.1595, allocations: 25.7 kB / 0.5737 GB, free: 5.445 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.719e-05/0.1595, allocations: 80.27 kB / 0.5738 GB, free: 5.363 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.916e-05/0.1595, allocations: 4 kB / 0.5738 GB, free: 5.359 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.172e-05/0.1596, allocations: 13.7 kB / 0.5738 GB, free: 5.34 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0003308/0.1599, allocations: 314.8 kB / 0.5741 GB, free: 5.023 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.135e-05/0.1599, allocations: 0 / 0.5741 GB, free: 5.023 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.541e-06/0.1599, allocations: 0 / 0.5741 GB, free: 5.023 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.919e-05/0.16, allocations: 16.8 kB / 0.5741 GB, free: 5.004 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.42e-06/0.16, allocations: 3.938 kB / 0.5741 GB, free: 5 MB / 446.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.765e-05/0.1601, allocations: 33.77 kB / 0.5742 GB, free: 4.961 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.126e-05/0.1601, allocations: 11.94 kB / 0.5742 GB, free: 4.949 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.414e-06/0.1601, allocations: 0 / 0.5742 GB, free: 4.949 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.26e-05/0.1602, allocations: 3.984 kB / 0.5742 GB, free: 4.945 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.612e-05/0.1602, allocations: 0 / 0.5742 GB, free: 4.945 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.407e-05/0.1602, allocations: 3.984 kB / 0.5742 GB, free: 4.941 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.056e-05/0.1603, allocations: 0 / 0.5742 GB, free: 4.941 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.765e-06/0.1603, allocations: 4 kB / 0.5742 GB, free: 4.938 MB / 446.1 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 (1): * Single equations (assignments): 1 * 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 0.0001076/0.1604, allocations: 109.8 kB / 0.5743 GB, free: 4.82 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.118e-05/0.1604, allocations: 4.031 kB / 0.5743 GB, free: 4.816 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001587/0.1606, allocations: 48.7 kB / 0.5743 GB, free: 4.758 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/0.1606, allocations: 4 kB / 0.5743 GB, free: 4.754 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.993e-06/0.1606, allocations: 0 / 0.5743 GB, free: 4.754 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/0.1606, allocations: 0 / 0.5743 GB, free: 4.754 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001346/0.1608, allocations: 149.5 kB / 0.5745 GB, free: 4.559 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.72e-07/0.1608, allocations: 0 / 0.5745 GB, free: 4.559 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.236e-05/0.1608, allocations: 4 kB / 0.5745 GB, free: 4.555 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.403e-06/0.1608, allocations: 0 / 0.5745 GB, free: 4.555 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.024e-06/0.1608, allocations: 4.031 kB / 0.5745 GB, free: 4.551 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.156e-06/0.1608, allocations: 3.984 kB / 0.5745 GB, free: 4.547 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.1608, allocations: 0 / 0.5745 GB, free: 4.547 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001142/0.1609, allocations: 65.02 kB / 0.5746 GB, free: 4.465 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.286e-05/0.161, allocations: 77.11 kB / 0.5746 GB, free: 4.371 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.364e-05/0.161, allocations: 3.938 kB / 0.5746 GB, free: 4.367 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.765e-06/0.161, allocations: 0 / 0.5746 GB, free: 4.367 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.457e-05/0.1611, allocations: 3.984 kB / 0.5746 GB, free: 4.363 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.764e-06/0.1611, allocations: 4.031 kB / 0.5746 GB, free: 4.359 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.813e-05/0.1611, allocations: 79.28 kB / 0.5747 GB, free: 4.281 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1611, allocations: 0 / 0.5747 GB, free: 4.281 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002453/0.1614, allocations: 8 kB / 0.5747 GB, free: 4.273 MB / 446.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 1 * 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.0002963/0.1617, allocations: 107.2 kB / 0.5748 GB, free: 4.156 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001293/0.1618, allocations: 11.98 kB / 0.5748 GB, free: 4.145 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 7.825e-06/0.1618, allocations: 0 / 0.5748 GB, free: 4.145 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 9.057e-06/0.1619, allocations: 8.062 kB / 0.5748 GB, free: 4.137 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001569/0.162, allocations: 3.938 kB / 0.5748 GB, free: 4.133 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002682/0.1623, allocations: 73.02 kB / 0.5749 GB, free: 4.035 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003681/0.1627, allocations: 0.669 MB / 0.5756 GB, free: 3.34 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.249e-05/0.1627, allocations: 7.984 kB / 0.5756 GB, free: 3.332 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.835e-05/0.1627, allocations: 7.438 kB / 0.5756 GB, free: 3.324 MB / 446.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1627, allocations: 0 / 0.5756 GB, free: 3.324 MB / 446.1 MB Notification: Performance of Templates: time 0.003562/0.1663, allocations: 464.3 kB / 0.576 GB, free: 2.871 MB / 446.1 MB make -j1 -f Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.makefile (rm -f Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; mkfifo Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe >> ../files/Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.sim & ./Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe 2>&1)