Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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 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.Functions.Examples.RegNonZeroPower,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_RegNonZeroPower",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_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.00177/0.00177, allocations: 105.8 kB / 15.98 MB, free: 5.906 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.002107/0.002107, allocations: 191.4 kB / 16.91 MB, free: 5.754 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.454/1.454, allocations: 222.9 MB / 240.6 MB, free: 15.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7141/0.7141, allocations: 115.3 MB / 406.1 MB, free: 6.316 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001344/0.001344, allocations: 67.91 kB / 493.2 MB, free: 0.5664 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4417/0.443, allocations: 76.16 MB / 0.556 GB, free: 36.46 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower): time 0.001801/0.4449, allocations: 0.6384 MB / 0.5567 GB, free: 36.07 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005672/0.4455, allocations: 321.9 kB / 0.557 GB, free: 35.86 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.293e-05/0.4455, allocations: 3.438 kB / 0.557 GB, free: 35.86 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.442e-05/0.4455, allocations: 0 / 0.557 GB, free: 35.86 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 5.74e-06/0.4455, allocations: 0 / 0.557 GB, free: 35.86 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004332/0.446, allocations: 95.36 kB / 0.5571 GB, free: 35.84 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 3.741e-05/0.446, allocations: 1.281 kB / 0.5571 GB, free: 35.84 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.209e-05/0.4461, allocations: 1.406 kB / 0.5571 GB, free: 35.84 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.407e-05/0.4461, allocations: 2.75 kB / 0.5571 GB, free: 35.84 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.978e-05/0.4461, allocations: 5.562 kB / 0.5571 GB, free: 35.83 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 9.268e-06/0.4461, allocations: 0 / 0.5571 GB, free: 35.83 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003897/0.4465, allocations: 272.2 kB / 0.5573 GB, free: 35.77 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 9.999e-06/0.4465, allocations: 0 / 0.5573 GB, free: 35.77 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 1.804e-05/0.4466, allocations: 7.922 kB / 0.5573 GB, free: 35.76 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001547/0.4467, allocations: 84.97 kB / 0.5574 GB, free: 35.73 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.4467, allocations: 4.969 kB / 0.5574 GB, free: 35.73 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.4467, allocations: 0 / 0.5574 GB, free: 35.73 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.839e-06/0.4467, allocations: 0 / 0.5574 GB, free: 35.73 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.0002626/0.447, allocations: 338.9 kB / 0.5577 GB, free: 35.36 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.907e-05/0.4471, allocations: 9.781 kB / 0.5577 GB, free: 35.36 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.759e-05/0.4471, allocations: 31.45 kB / 0.5578 GB, free: 35.32 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.773e-05/0.4471, allocations: 3.422 kB / 0.5578 GB, free: 35.32 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.316e-05/0.4472, allocations: 161.7 kB / 0.5579 GB, free: 35.13 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.768e-06/0.4472, allocations: 384 / 0.5579 GB, free: 35.13 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.003e-05/0.4472, allocations: 2.969 kB / 0.5579 GB, free: 35.13 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.329e-05/0.4473, allocations: 31.97 kB / 0.558 GB, free: 35.1 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.246e-06/0.4473, allocations: 6.594 kB / 0.558 GB, free: 35.09 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.333e-06/0.4473, allocations: 1.188 kB / 0.558 GB, free: 35.09 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.687e-06/0.4473, allocations: 0 / 0.558 GB, free: 35.09 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.838e-05/0.4474, allocations: 5.281 kB / 0.558 GB, free: 35.09 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.268e-05/0.4475, allocations: 148 kB / 0.5581 GB, free: 34.9 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.118e-05/0.4475, allocations: 16.83 kB / 0.5581 GB, free: 34.88 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.29e-05/0.4475, allocations: 10.61 kB / 0.5582 GB, free: 34.86 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003903/0.4479, allocations: 428.3 kB / 0.5586 GB, free: 34.39 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.938e-05/0.448, allocations: 35.94 kB / 0.5586 GB, free: 34.35 MB / 446.1 MB Notification: Performance of pre-optimization done (n=1): time 2.194e-06/0.448, allocations: 1.859 kB / 0.5586 GB, free: 34.35 MB / 446.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001362/0.4481, allocations: 41.62 kB / 0.5586 GB, free: 34.31 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.142e-05/0.4481, allocations: 55.41 kB / 0.5587 GB, free: 34.24 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.912e-05/0.4482, allocations: 91.73 kB / 0.5588 GB, free: 34.14 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 5.851e-06/0.4482, allocations: 29.23 kB / 0.5588 GB, free: 34.11 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.026e-05/0.4482, allocations: 80.14 kB / 0.5589 GB, free: 34.03 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.472e-05/0.4482, allocations: 2.094 kB / 0.5589 GB, free: 34.03 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.213e-05/0.4482, allocations: 11.03 kB / 0.5589 GB, free: 34.02 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.814e-05/0.4483, allocations: 312.7 kB / 0.5592 GB, free: 33.7 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.258e-06/0.4483, allocations: 0.6562 kB / 0.5592 GB, free: 33.7 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.641e-06/0.4483, allocations: 2.25 kB / 0.5592 GB, free: 33.7 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.616e-05/0.4483, allocations: 14.33 kB / 0.5592 GB, free: 33.69 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.4484, allocations: 0 / 0.5592 GB, free: 33.69 MB / 446.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.618e-05/0.4484, allocations: 36.89 kB / 0.5592 GB, free: 33.66 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.205e-05/0.4484, allocations: 5.562 kB / 0.5592 GB, free: 33.66 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.98e-06/0.4484, allocations: 4.906 kB / 0.5593 GB, free: 33.65 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.133e-05/0.4485, allocations: 0.5625 kB / 0.5593 GB, free: 33.65 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.822e-05/0.4485, allocations: 3.031 kB / 0.5593 GB, free: 33.65 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.13e-06/0.4485, allocations: 5.25 kB / 0.5593 GB, free: 33.65 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.869e-06/0.4485, allocations: 2.812 kB / 0.5593 GB, free: 33.65 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.701e-06/0.4485, allocations: 5.484 kB / 0.5593 GB, free: 33.64 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 4.597e-05/0.4486, allocations: 112.5 kB / 0.5594 GB, free: 33.53 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.863e-05/0.4486, allocations: 1.469 kB / 0.5594 GB, free: 33.53 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.963e-05/0.4487, allocations: 47.84 kB / 0.5594 GB, free: 33.49 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.4487, allocations: 4.641 kB / 0.5594 GB, free: 33.48 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.4487, allocations: 0.75 kB / 0.5594 GB, free: 33.48 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.714e-06/0.4487, allocations: 1.031 kB / 0.5594 GB, free: 33.48 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.14e-05/0.4488, allocations: 149 kB / 0.5596 GB, free: 33.29 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.4488, allocations: 0 / 0.5596 GB, free: 33.29 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.165e-05/0.4488, allocations: 2.109 kB / 0.5596 GB, free: 33.29 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.775e-06/0.4488, allocations: 1.938 kB / 0.5596 GB, free: 33.29 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.851e-06/0.4488, allocations: 4.453 kB / 0.5596 GB, free: 33.29 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.52e-07/0.4488, allocations: 0 / 0.5596 GB, free: 33.29 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.4488, allocations: 2.219 kB / 0.5596 GB, free: 33.29 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.812e-05/0.4489, allocations: 58.78 kB / 0.5596 GB, free: 33.22 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.903e-05/0.4489, allocations: 83.8 kB / 0.5597 GB, free: 33.12 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.185e-05/0.4489, allocations: 6.141 kB / 0.5597 GB, free: 33.12 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.113e-06/0.4489, allocations: 0.5312 kB / 0.5597 GB, free: 33.12 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.029e-05/0.449, allocations: 0.9688 kB / 0.5597 GB, free: 33.12 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.365e-06/0.449, allocations: 5.953 kB / 0.5597 GB, free: 33.12 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.307e-05/0.449, allocations: 76.75 kB / 0.5598 GB, free: 33.04 MB / 446.1 MB Notification: Performance of sort global known variables: time 8.52e-07/0.449, allocations: 0 / 0.5598 GB, free: 33.04 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0001938/0.4492, allocations: 13.81 kB / 0.5598 GB, free: 33.04 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.0002896/0.4495, allocations: 0.6123 MB / 0.5604 GB, free: 32.43 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 6.749e-05/0.4496, allocations: 6.125 kB / 0.5604 GB, free: 32.43 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.4496, allocations: 0 / 0.5604 GB, free: 32.43 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 9.658e-06/0.4496, allocations: 13.19 kB / 0.5604 GB, free: 32.43 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001509/0.4497, allocations: 0.9375 kB / 0.5604 GB, free: 32.43 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002458/0.45, allocations: 102.1 kB / 0.5605 GB, free: 32.3 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.704e-05/0.4501, allocations: 0.6724 MB / 0.5612 GB, free: 31.6 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 1.63e-05/0.4501, allocations: 2.312 kB / 0.5612 GB, free: 31.6 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.525e-05/0.4501, allocations: 9.781 kB / 0.5612 GB, free: 31.59 MB / 446.1 MB Notification: Performance of SimCode: time 2.21e-07/0.4501, allocations: 0.9688 kB / 0.5612 GB, free: 31.59 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01178/0.4619, allocations: 1.09 MB / 0.5623 GB, free: 31.41 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001767/0.4622, allocations: 200.6 kB / 0.5625 GB, free: 31.16 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.629/2.091, allocations: 2.688 kB / 0.5625 GB, free: 31.16 MB / 446.1 MB (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_RegNonZeroPower_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_RegNonZeroPower.fmu > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe 2>&1)