Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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: "" <> buildModelFMU(IBPSA.Utilities.Math.Examples.RegNonZeroPower,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_RegNonZeroPower",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Examples.RegNonZeroPower,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_RegNonZeroPower",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001171/0.001171, allocations: 101.3 kB / 15.98 MB, free: 6.344 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.00119/0.00119, allocations: 195.1 kB / 16.91 MB, free: 6.188 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.363/1.363, allocations: 222.9 MB / 240.6 MB, free: 15.47 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7135/0.7135, allocations: 115.3 MB / 406.1 MB, free: 6.328 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001454/0.001454, allocations: 63.91 kB / 493.2 MB, free: 0.5938 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.33/0.3314, allocations: 76.16 MB / 0.556 GB, free: 36.27 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.RegNonZeroPower): time 0.002262/0.3337, allocations: 1.501 MB / 0.5575 GB, free: 35.25 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005695/0.3343, allocations: 383.7 kB / 0.5578 GB, free: 34.99 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.78e-05/0.3343, allocations: 0 / 0.5578 GB, free: 34.99 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 3.107e-05/0.3344, allocations: 5.141 kB / 0.5579 GB, free: 34.99 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.775e-05/0.3344, allocations: 7.922 kB / 0.5579 GB, free: 34.98 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003737/0.3348, allocations: 102.5 kB / 0.558 GB, free: 34.95 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 5.36e-05/0.3349, allocations: 24.59 kB / 0.558 GB, free: 34.94 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.981e-05/0.335, allocations: 4.344 kB / 0.558 GB, free: 34.94 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.846e-05/0.335, allocations: 10.66 kB / 0.558 GB, free: 34.93 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.672e-05/0.3351, allocations: 15.92 kB / 0.558 GB, free: 34.93 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.2e-05/0.3351, allocations: 1.344 kB / 0.558 GB, free: 34.93 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003227/0.3354, allocations: 275.4 kB / 0.5583 GB, free: 34.86 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.244e-05/0.3354, allocations: 8 kB / 0.5583 GB, free: 34.86 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.105e-05/0.3354, allocations: 13.23 kB / 0.5583 GB, free: 34.84 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001809/0.3356, allocations: 103 kB / 0.5584 GB, free: 34.81 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.3356, allocations: 1.719 kB / 0.5584 GB, free: 34.81 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.3356, allocations: 0 / 0.5584 GB, free: 34.81 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.869e-06/0.3357, allocations: 0.5312 kB / 0.5584 GB, free: 34.81 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.000361/0.336, allocations: 372.1 kB / 0.5587 GB, free: 34.43 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.501e-05/0.3361, allocations: 12.41 kB / 0.5588 GB, free: 34.43 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.408e-05/0.3361, allocations: 35.25 kB / 0.5588 GB, free: 34.39 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.267e-05/0.3361, allocations: 3.062 kB / 0.5588 GB, free: 34.39 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.91e-05/0.3362, allocations: 168.3 kB / 0.559 GB, free: 34.19 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.699e-06/0.3362, allocations: 5.438 kB / 0.559 GB, free: 34.18 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.037e-05/0.3362, allocations: 2.922 kB / 0.559 GB, free: 34.18 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001761/0.3364, allocations: 50.34 kB / 0.559 GB, free: 34.15 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.418e-06/0.3364, allocations: 4.547 kB / 0.559 GB, free: 34.14 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.308e-06/0.3365, allocations: 5.031 kB / 0.559 GB, free: 34.14 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.888e-06/0.3365, allocations: 0.875 kB / 0.559 GB, free: 34.14 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001592/0.3366, allocations: 36.09 kB / 0.5591 GB, free: 34.14 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002426/0.3369, allocations: 251.8 kB / 0.5593 GB, free: 33.86 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000119/0.337, allocations: 41.19 kB / 0.5593 GB, free: 33.83 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.957e-05/0.3371, allocations: 24.97 kB / 0.5594 GB, free: 33.82 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005752/0.3377, allocations: 457.3 kB / 0.5598 GB, free: 33.35 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.954e-05/0.3377, allocations: 37.62 kB / 0.5598 GB, free: 33.31 MB / 446.1 MB Notification: Performance of pre-optimization done (n=2): time 1.332e-06/0.3377, allocations: 0 / 0.5598 GB, free: 33.31 MB / 446.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003354/0.3381, allocations: 83.06 kB / 0.5599 GB, free: 33.27 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.941e-05/0.3381, allocations: 54.06 kB / 0.56 GB, free: 33.21 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.035e-05/0.3381, allocations: 103.2 kB / 0.5601 GB, free: 33.11 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 8.757e-06/0.3382, allocations: 32.77 kB / 0.5601 GB, free: 33.07 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.591e-05/0.3382, allocations: 82.5 kB / 0.5602 GB, free: 32.99 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.443e-05/0.3382, allocations: 5.125 kB / 0.5602 GB, free: 32.98 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.684e-05/0.3382, allocations: 16.61 kB / 0.5602 GB, free: 32.96 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.644e-05/0.3383, allocations: 314.9 kB / 0.5605 GB, free: 32.65 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.805e-05/0.3384, allocations: 18.58 kB / 0.5605 GB, free: 32.65 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.72e-05/0.3384, allocations: 14.72 kB / 0.5605 GB, free: 32.65 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001372/0.3386, allocations: 44.39 kB / 0.5606 GB, free: 32.63 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.3386, allocations: 3.938 kB / 0.5606 GB, free: 32.63 MB / 446.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001807/0.3388, allocations: 71.66 kB / 0.5606 GB, free: 32.59 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.343e-05/0.3388, allocations: 8.094 kB / 0.5606 GB, free: 32.59 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.528e-06/0.3388, allocations: 0.7031 kB / 0.5606 GB, free: 32.59 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.034e-05/0.3388, allocations: 3.938 kB / 0.5607 GB, free: 32.59 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.261e-05/0.3389, allocations: 9.312 kB / 0.5607 GB, free: 32.59 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.328e-06/0.3389, allocations: 0 / 0.5607 GB, free: 32.59 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.377e-05/0.339, allocations: 11.77 kB / 0.5607 GB, free: 32.58 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.209e-06/0.339, allocations: 1.516 kB / 0.5607 GB, free: 32.58 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 (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 4.499e-05/0.339, allocations: 113.1 kB / 0.5608 GB, free: 32.46 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.31e-05/0.3391, allocations: 5.906 kB / 0.5608 GB, free: 32.46 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002042/0.3393, allocations: 79.81 kB / 0.5609 GB, free: 32.41 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.3393, allocations: 4.469 kB / 0.5609 GB, free: 32.41 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.3393, allocations: 0 / 0.5609 GB, free: 32.41 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.3393, allocations: 1.422 kB / 0.5609 GB, free: 32.41 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000113/0.3394, allocations: 168.9 kB / 0.561 GB, free: 32.21 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.3394, allocations: 3.031 kB / 0.561 GB, free: 32.21 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.429e-05/0.3395, allocations: 9.234 kB / 0.561 GB, free: 32.21 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.362e-06/0.3395, allocations: 0 / 0.561 GB, free: 32.21 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.314e-06/0.3395, allocations: 1.531 kB / 0.561 GB, free: 32.21 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.3395, allocations: 1.422 kB / 0.561 GB, free: 32.21 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.3395, allocations: 0 / 0.561 GB, free: 32.21 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002021/0.3397, allocations: 165.9 kB / 0.5612 GB, free: 32.07 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.962e-05/0.3397, allocations: 91.77 kB / 0.5613 GB, free: 31.96 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.253e-05/0.3398, allocations: 1.984 kB / 0.5613 GB, free: 31.96 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.94e-05/0.3398, allocations: 6.672 kB / 0.5613 GB, free: 31.96 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.78e-05/0.3399, allocations: 3.812 kB / 0.5613 GB, free: 31.96 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.106e-06/0.3399, allocations: 3.938 kB / 0.5613 GB, free: 31.96 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.543e-05/0.3399, allocations: 87.02 kB / 0.5614 GB, free: 31.88 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3399, allocations: 1.719 kB / 0.5614 GB, free: 31.88 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002161/0.3401, allocations: 12.11 kB / 0.5614 GB, free: 31.88 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 (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.0004134/0.3406, allocations: 0.7073 MB / 0.5621 GB, free: 31.21 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.000191/0.3408, allocations: 38.5 kB / 0.5621 GB, free: 31.21 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.3408, allocations: 3.938 kB / 0.5621 GB, free: 31.21 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 7.666e-05/0.3408, allocations: 20.84 kB / 0.5622 GB, free: 31.2 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002353/0.3411, allocations: 3.453 kB / 0.5622 GB, free: 31.2 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003368/0.3414, allocations: 145.8 kB / 0.5623 GB, free: 31.05 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001034/0.3416, allocations: 0.6769 MB / 0.563 GB, free: 30.36 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.156e-05/0.3416, allocations: 7.953 kB / 0.563 GB, free: 30.35 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.529e-05/0.3416, allocations: 9.25 kB / 0.563 GB, free: 30.34 MB / 446.1 MB Notification: Performance of SimCode: time 2.41e-07/0.3416, allocations: 0 / 0.563 GB, free: 30.34 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1248/0.4665, allocations: 1.445 MB / 0.5644 GB, free: 30.14 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000184/0.4667, allocations: 191.7 kB / 0.5646 GB, free: 29.89 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.71/2.177, allocations: 0 / 0.5646 GB, free: 29.89 MB / 446.1 MB (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.RegNonZeroPower.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.RegNonZeroPower.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.RegNonZeroPower.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.RegNonZeroPower.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Examples_RegNonZeroPower_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Math_Examples_RegNonZeroPower.fmu > IBPSA_latest_IBPSA.Utilities.Math.Examples.RegNonZeroPower.pipe 2>&1)