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.001522/0.001522, allocations: 107.6 kB / 16.27 MB, free: 5.984 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.001752/0.001752, allocations: 191.9 kB / 17.2 MB, free: 5.613 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.356/1.356, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7461/0.7461, allocations: 122.9 MB / 413.9 MB, free: 15.93 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001309/0.001309, allocations: 71.88 kB / 0.4912 GB, free: 7.348 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.355/0.3563, allocations: 77.92 MB / 0.5673 GB, free: 32.67 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower): time 0.00173/0.3581, allocations: 0.5661 MB / 0.5678 GB, free: 32.32 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005675/0.3587, allocations: 329.2 kB / 0.5682 GB, free: 32.11 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.613e-05/0.3587, allocations: 0 / 0.5682 GB, free: 32.11 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.288e-05/0.3587, allocations: 0.875 kB / 0.5682 GB, free: 32.11 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.358e-06/0.3587, allocations: 0 / 0.5682 GB, free: 32.11 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004036/0.3591, allocations: 107.8 kB / 0.5683 GB, free: 32.07 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 3.369e-05/0.3592, allocations: 5.375 kB / 0.5683 GB, free: 32.07 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.34e-05/0.3592, allocations: 3.141 kB / 0.5683 GB, free: 32.07 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.138e-05/0.3593, allocations: 7.438 kB / 0.5683 GB, free: 32.06 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.729e-05/0.3593, allocations: 3.984 kB / 0.5683 GB, free: 32.06 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 9.698e-06/0.3593, allocations: 0 / 0.5683 GB, free: 32.06 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003937/0.3597, allocations: 272.3 kB / 0.5685 GB, free: 31.99 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 9.979e-06/0.3597, allocations: 5.125 kB / 0.5685 GB, free: 31.99 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 1.391e-05/0.3597, allocations: 3.938 kB / 0.5686 GB, free: 31.98 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000168/0.3599, allocations: 81.36 kB / 0.5686 GB, free: 31.96 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.3599, allocations: 1.219 kB / 0.5686 GB, free: 31.96 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.3599, allocations: 0 / 0.5686 GB, free: 31.96 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.28e-06/0.3599, allocations: 0.7188 kB / 0.5686 GB, free: 31.96 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.0002455/0.3602, allocations: 337.5 kB / 0.569 GB, free: 31.6 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.874e-05/0.3602, allocations: 9.562 kB / 0.569 GB, free: 31.6 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.031e-05/0.3603, allocations: 33.27 kB / 0.569 GB, free: 31.56 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.404e-05/0.3603, allocations: 0.9375 kB / 0.569 GB, free: 31.56 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.954e-05/0.3604, allocations: 163.4 kB / 0.5692 GB, free: 31.36 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.161e-05/0.3604, allocations: 1.078 kB / 0.5692 GB, free: 31.36 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.114e-06/0.3604, allocations: 1.438 kB / 0.5692 GB, free: 31.36 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.251e-05/0.3605, allocations: 28.91 kB / 0.5692 GB, free: 31.33 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.725e-06/0.3605, allocations: 5.578 kB / 0.5692 GB, free: 31.33 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.881e-06/0.3605, allocations: 1.062 kB / 0.5692 GB, free: 31.33 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.747e-06/0.3605, allocations: 0 / 0.5692 GB, free: 31.33 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.847e-05/0.3605, allocations: 12.02 kB / 0.5692 GB, free: 31.32 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.76e-05/0.3606, allocations: 144 kB / 0.5693 GB, free: 31.13 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.058e-05/0.3607, allocations: 19.02 kB / 0.5694 GB, free: 31.11 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.307e-05/0.3607, allocations: 5.922 kB / 0.5694 GB, free: 31.1 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003916/0.3611, allocations: 426.9 kB / 0.5698 GB, free: 30.63 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.791e-05/0.3611, allocations: 41.23 kB / 0.5698 GB, free: 30.58 MB / 446.1 MB Notification: Performance of pre-optimization done (n=1): time 1.062e-06/0.3611, allocations: 0.5312 kB / 0.5698 GB, free: 30.58 MB / 446.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001303/0.3612, allocations: 45.75 kB / 0.5699 GB, free: 30.54 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.361e-05/0.3613, allocations: 53.16 kB / 0.5699 GB, free: 30.48 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.69e-05/0.3613, allocations: 89.86 kB / 0.57 GB, free: 30.38 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 7.775e-06/0.3613, allocations: 26.83 kB / 0.57 GB, free: 30.35 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.165e-05/0.3613, allocations: 81.45 kB / 0.5701 GB, free: 30.27 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.547e-05/0.3614, allocations: 6.281 kB / 0.5701 GB, free: 30.26 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.184e-05/0.3614, allocations: 10.75 kB / 0.5701 GB, free: 30.25 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.047e-05/0.3614, allocations: 313.5 kB / 0.5704 GB, free: 29.93 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.916e-06/0.3614, allocations: 1.125 kB / 0.5704 GB, free: 29.93 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.473e-06/0.3615, allocations: 6.344 kB / 0.5704 GB, free: 29.93 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.221e-05/0.3615, allocations: 9.359 kB / 0.5704 GB, free: 29.92 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.3615, allocations: 0 / 0.5704 GB, free: 29.92 MB / 446.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.632e-05/0.3616, allocations: 37.56 kB / 0.5705 GB, free: 29.89 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.15e-05/0.3616, allocations: 5.344 kB / 0.5705 GB, free: 29.89 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.508e-06/0.3616, allocations: 9 kB / 0.5705 GB, free: 29.88 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.096e-05/0.3616, allocations: 1.094 kB / 0.5705 GB, free: 29.88 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.525e-05/0.3616, allocations: 2.734 kB / 0.5705 GB, free: 29.88 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.95e-06/0.3616, allocations: 0.7031 kB / 0.5705 GB, free: 29.88 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.041e-05/0.3617, allocations: 3.938 kB / 0.5705 GB, free: 29.88 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.188e-06/0.3617, allocations: 1.531 kB / 0.5705 GB, free: 29.88 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 3.893e-05/0.3617, allocations: 108.7 kB / 0.5706 GB, free: 29.77 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.83e-05/0.3617, allocations: 0 / 0.5706 GB, free: 29.77 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.772e-05/0.3618, allocations: 50.17 kB / 0.5706 GB, free: 29.72 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.202e-06/0.3618, allocations: 0.7188 kB / 0.5706 GB, free: 29.72 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.945e-06/0.3618, allocations: 1.125 kB / 0.5706 GB, free: 29.72 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.3618, allocations: 5.359 kB / 0.5706 GB, free: 29.72 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.848e-05/0.3619, allocations: 144.8 kB / 0.5708 GB, free: 29.53 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.3619, allocations: 0.8906 kB / 0.5708 GB, free: 29.53 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.216e-05/0.3619, allocations: 3.938 kB / 0.5708 GB, free: 29.53 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.422e-06/0.3619, allocations: 0 / 0.5708 GB, free: 29.53 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.891e-06/0.3619, allocations: 5.875 kB / 0.5708 GB, free: 29.53 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.32e-07/0.3619, allocations: 0 / 0.5708 GB, free: 29.53 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/0.3619, allocations: 1.125 kB / 0.5708 GB, free: 29.53 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.821e-05/0.362, allocations: 59.42 kB / 0.5708 GB, free: 29.46 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.524e-05/0.362, allocations: 81.7 kB / 0.5709 GB, free: 29.36 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.508e-06/0.362, allocations: 5.469 kB / 0.5709 GB, free: 29.36 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.215e-06/0.362, allocations: 2.641 kB / 0.5709 GB, free: 29.36 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.112e-05/0.3621, allocations: 1.656 kB / 0.5709 GB, free: 29.36 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.697e-06/0.3621, allocations: 9.812 kB / 0.5709 GB, free: 29.35 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.17e-05/0.3621, allocations: 75.28 kB / 0.571 GB, free: 29.28 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3621, allocations: 0 / 0.571 GB, free: 29.28 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0001841/0.3623, allocations: 10.45 kB / 0.571 GB, free: 29.28 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.0002729/0.3626, allocations: 0.6152 MB / 0.5716 GB, free: 28.67 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 6.267e-05/0.3626, allocations: 9.312 kB / 0.5716 GB, free: 28.67 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.3626, allocations: 1.125 kB / 0.5716 GB, free: 28.67 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 7.484e-06/0.3626, allocations: 6.547 kB / 0.5716 GB, free: 28.66 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001222/0.3628, allocations: 7.406 kB / 0.5716 GB, free: 28.66 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002309/0.363, allocations: 104.9 kB / 0.5717 GB, free: 28.54 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.963e-05/0.3631, allocations: 0.674 MB / 0.5724 GB, free: 27.84 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 1.451e-05/0.3631, allocations: 1.188 kB / 0.5724 GB, free: 27.84 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.133e-05/0.3631, allocations: 7.438 kB / 0.5724 GB, free: 27.83 MB / 446.1 MB Notification: Performance of SimCode: time 2.21e-07/0.3632, allocations: 0 / 0.5724 GB, free: 27.83 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01633/0.3795, allocations: 1.162 MB / 0.5735 GB, free: 27.52 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.16/7.539, allocations: 1.125 kB / 0.5736 GB, free: 27.52 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)