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.001392/0.001392, allocations: 95.72 kB / 15.69 MB, free: 484 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002356/0.002356, allocations: 176.5 kB / 16.57 MB, free: 6.859 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.935/2.935, allocations: 223.2 MB / 240.5 MB, free: 5.465 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 1.129/1.129, allocations: 113.7 MB / 405.3 MB, free: 4.715 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003595/0.0003596, allocations: 13.62 kB / 493 MB, free: 8.625 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1797/0.1801, allocations: 77.11 MB / 0.5567 GB, free: 11.71 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower): time 0.001014/0.1813, allocations: 295.1 kB / 0.557 GB, free: 11.42 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006959/0.182, allocations: 305.4 kB / 0.5573 GB, free: 11.12 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.191e-05/0.182, allocations: 7.938 kB / 0.5573 GB, free: 11.12 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.313e-05/0.182, allocations: 0 / 0.5573 GB, free: 11.12 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 7.374e-06/0.182, allocations: 0 / 0.5573 GB, free: 11.12 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003596/0.1824, allocations: 67.78 kB / 0.5574 GB, free: 11.05 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 3.635e-05/0.1825, allocations: 0 / 0.5574 GB, free: 11.05 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.823e-05/0.1825, allocations: 0 / 0.5574 GB, free: 11.05 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.295e-05/0.1825, allocations: 3.938 kB / 0.5574 GB, free: 11.05 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.146e-05/0.1826, allocations: 8 kB / 0.5574 GB, free: 11.04 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.01e-05/0.1826, allocations: 3.938 kB / 0.5574 GB, free: 11.04 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004007/0.183, allocations: 255.7 kB / 0.5576 GB, free: 10.79 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 6.502e-06/0.183, allocations: 0 / 0.5576 GB, free: 10.79 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.86e-05/0.183, allocations: 25.7 kB / 0.5577 GB, free: 10.75 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000145/0.1832, allocations: 51.91 kB / 0.5577 GB, free: 10.7 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.1832, allocations: 0 / 0.5577 GB, free: 10.7 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.1832, allocations: 0 / 0.5577 GB, free: 10.7 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.06e-06/0.1832, allocations: 0 / 0.5577 GB, free: 10.7 MB / 430.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.0003397/0.1836, allocations: 335.4 kB / 0.558 GB, free: 10.33 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.741e-05/0.1836, allocations: 12.03 kB / 0.558 GB, free: 10.32 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.112e-05/0.1837, allocations: 30.56 kB / 0.5581 GB, free: 10.28 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.652e-05/0.1837, allocations: 7.969 kB / 0.5581 GB, free: 10.27 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000116/0.1839, allocations: 163.1 kB / 0.5582 GB, free: 10.07 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.129e-05/0.1839, allocations: 0 / 0.5582 GB, free: 10.07 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.087e-06/0.1839, allocations: 0 / 0.5582 GB, free: 10.07 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001152/0.184, allocations: 33.59 kB / 0.5583 GB, free: 10.03 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.534e-06/0.184, allocations: 0 / 0.5583 GB, free: 10.03 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.034e-05/0.184, allocations: 0 / 0.5583 GB, free: 10.03 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.219e-05/0.1841, allocations: 7.938 kB / 0.5583 GB, free: 10.02 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.202e-05/0.1841, allocations: 4 kB / 0.5583 GB, free: 10.02 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001836/0.1843, allocations: 149.7 kB / 0.5584 GB, free: 9.824 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.278e-05/0.1843, allocations: 18.61 kB / 0.5584 GB, free: 9.797 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006188/0.185, allocations: 421.6 kB / 0.5588 GB, free: 9.293 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.024e-05/0.185, allocations: 42.5 kB / 0.5589 GB, free: 9.242 MB / 430.1 MB Notification: Performance of pre-optimization done (n=1): time 1.002e-06/0.1851, allocations: 0 / 0.5589 GB, free: 9.242 MB / 430.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001928/0.1852, allocations: 33.66 kB / 0.5589 GB, free: 9.203 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.864e-05/0.1853, allocations: 51.41 kB / 0.559 GB, free: 9.141 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.226e-05/0.1853, allocations: 93.84 kB / 0.559 GB, free: 9.039 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.153e-05/0.1854, allocations: 29.7 kB / 0.5591 GB, free: 9.004 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.053e-05/0.1854, allocations: 80.14 kB / 0.5592 GB, free: 8.922 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.017e-05/0.1855, allocations: 4.125 kB / 0.5592 GB, free: 8.918 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.424e-06/0.1855, allocations: 4 kB / 0.5592 GB, free: 8.914 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001217/0.1856, allocations: 310.8 kB / 0.5595 GB, free: 8.602 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.944e-06/0.1856, allocations: 0 / 0.5595 GB, free: 8.602 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.362e-06/0.1856, allocations: 3.938 kB / 0.5595 GB, free: 8.598 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.652e-05/0.1856, allocations: 4 kB / 0.5595 GB, free: 8.594 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.1856, allocations: 0 / 0.5595 GB, free: 8.594 MB / 430.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.829e-05/0.1857, allocations: 29.7 kB / 0.5595 GB, free: 8.559 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.622e-05/0.1857, allocations: 8 kB / 0.5595 GB, free: 8.551 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.247e-06/0.1858, allocations: 4.094 kB / 0.5595 GB, free: 8.547 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.032e-05/0.1858, allocations: 7.922 kB / 0.5595 GB, free: 8.539 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.336e-05/0.1858, allocations: 4 kB / 0.5595 GB, free: 8.535 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.703e-06/0.1858, allocations: 3.953 kB / 0.5595 GB, free: 8.531 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.28e-05/0.1858, allocations: 3.906 kB / 0.5595 GB, free: 8.527 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.204e-06/0.1859, allocations: 4 kB / 0.5595 GB, free: 8.523 MB / 430.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.935e-05/0.1859, allocations: 111.6 kB / 0.5596 GB, free: 8.406 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.073e-05/0.186, allocations: 0 / 0.5596 GB, free: 8.406 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.685e-05/0.1861, allocations: 44.75 kB / 0.5597 GB, free: 8.352 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.457e-06/0.1861, allocations: 4 kB / 0.5597 GB, free: 8.348 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.1861, allocations: 0 / 0.5597 GB, free: 8.348 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.197e-06/0.1861, allocations: 3.953 kB / 0.5597 GB, free: 8.344 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.668e-05/0.1862, allocations: 150 kB / 0.5598 GB, free: 8.148 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.1862, allocations: 3.938 kB / 0.5598 GB, free: 8.145 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.241e-05/0.1862, allocations: 4 kB / 0.5598 GB, free: 8.141 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.1862, allocations: 0 / 0.5598 GB, free: 8.141 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.679e-06/0.1862, allocations: 0 / 0.5598 GB, free: 8.141 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.505e-06/0.1862, allocations: 3.984 kB / 0.5598 GB, free: 8.137 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.1862, allocations: 4.031 kB / 0.5598 GB, free: 8.133 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.602e-05/0.1863, allocations: 61.03 kB / 0.5599 GB, free: 8.055 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.415e-05/0.1864, allocations: 77.11 kB / 0.56 GB, free: 7.961 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.949e-06/0.1864, allocations: 0 / 0.56 GB, free: 7.961 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.116e-06/0.1864, allocations: 0 / 0.56 GB, free: 7.961 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.522e-05/0.1864, allocations: 7.984 kB / 0.56 GB, free: 7.953 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.073e-06/0.1864, allocations: 0 / 0.56 GB, free: 7.953 MB / 430.1 MB Notification: Performance of sorting global known variables: time 2.798e-05/0.1864, allocations: 83.31 kB / 0.5601 GB, free: 7.871 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1865, allocations: 0 / 0.5601 GB, free: 7.871 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002362/0.1867, allocations: 11.94 kB / 0.5601 GB, free: 7.859 MB / 430.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004741/0.1872, allocations: 0.6014 MB / 0.5607 GB, free: 7.227 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 8.198e-05/0.1873, allocations: 11.97 kB / 0.5607 GB, free: 7.215 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.1873, allocations: 0 / 0.5607 GB, free: 7.215 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 5.31e-06/0.1873, allocations: 0 / 0.5607 GB, free: 7.215 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001137/0.1874, allocations: 6.031 kB / 0.5607 GB, free: 7.211 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003485/0.1878, allocations: 112.4 kB / 0.5608 GB, free: 7.062 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002632/0.188, allocations: 0.6692 MB / 0.5614 GB, free: 6.367 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 2.312e-05/0.1881, allocations: 7.984 kB / 0.5614 GB, free: 6.359 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.15e-05/0.1881, allocations: 7.562 kB / 0.5615 GB, free: 6.352 MB / 430.1 MB Notification: Performance of SimCode: time 3e-07/0.1881, allocations: 7.938 kB / 0.5615 GB, free: 6.344 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.371/2.559, allocations: 0.98 MB / 0.5624 GB, free: 5.5 MB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002446/2.56, allocations: 185.5 kB / 0.5626 GB, free: 5.262 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.595/6.154, allocations: 0 / 0.5626 GB, free: 5.262 MB / 430.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/linux/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) Environment - environmentSimulation: