Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPower,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_RegNonZeroPower",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPower,fileNamePrefix="BuildingSystems_BuildingSystems_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.005159/0.005159, allocations: 97.64 kB / 15.73 MB, free: 6.48 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.001185/0.001185, allocations: 191.2 kB / 16.67 MB, free: 6.391 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.277/1.277, allocations: 222.9 MB / 240.4 MB, free: 4.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002144/0.002145, allocations: 278.6 kB / 290.8 MB, free: 1.941 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9056/0.9056, allocations: 169.3 MB / 0.4983 GB, free: 13.82 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00164/0.00164, allocations: 95.91 kB / 0.681 GB, free: 15.95 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1557/0.1573, allocations: 86.98 MB / 0.766 GB, free: 8.891 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPower): time 0.001653/0.159, allocations: 0.5778 MB / 0.7665 GB, free: 8.316 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0005889/0.1596, allocations: 322.8 kB / 0.7668 GB, free: 8 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.646e-05/0.1597, allocations: 0 / 0.7668 GB, free: 8 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 1.355e-05/0.1597, allocations: 0 / 0.7668 GB, free: 8 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 5.881e-06/0.1597, allocations: 7.875 kB / 0.7668 GB, free: 7.992 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004477/0.1602, allocations: 111.7 kB / 0.7669 GB, free: 7.883 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 3.529e-05/0.1602, allocations: 0 / 0.7669 GB, free: 7.883 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 3.572e-05/0.1602, allocations: 4 kB / 0.7669 GB, free: 7.879 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 1.222e-05/0.1603, allocations: 0 / 0.7669 GB, free: 7.879 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 1.961e-05/0.1603, allocations: 0 / 0.7669 GB, free: 7.879 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 9.157e-06/0.1603, allocations: 0 / 0.7669 GB, free: 7.879 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003728/0.1607, allocations: 275.6 kB / 0.7672 GB, free: 7.609 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 9.468e-06/0.1607, allocations: 0 / 0.7672 GB, free: 7.609 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.011e-05/0.1607, allocations: 7.984 kB / 0.7672 GB, free: 7.602 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001648/0.1609, allocations: 84.14 kB / 0.7673 GB, free: 7.52 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.1609, allocations: 0 / 0.7673 GB, free: 7.52 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.152e-06/0.1609, allocations: 0 / 0.7673 GB, free: 7.52 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.749e-06/0.1609, allocations: 0 / 0.7673 GB, free: 7.52 MB / 0.5606 GB 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.0003035/0.1612, allocations: 339.5 kB / 0.7676 GB, free: 7.137 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.804e-05/0.1613, allocations: 15.91 kB / 0.7676 GB, free: 7.121 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.996e-05/0.1613, allocations: 30.75 kB / 0.7677 GB, free: 7.082 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.973e-05/0.1614, allocations: 0.9375 kB / 0.7677 GB, free: 7.082 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.901e-05/0.1615, allocations: 160.4 kB / 0.7678 GB, free: 6.887 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.234e-05/0.1615, allocations: 8.375 kB / 0.7678 GB, free: 6.879 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.032e-05/0.1615, allocations: 8.312 kB / 0.7678 GB, free: 6.871 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001057/0.1616, allocations: 26.27 kB / 0.7679 GB, free: 6.84 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.123e-05/0.1616, allocations: 7.922 kB / 0.7679 GB, free: 6.832 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.754e-06/0.1616, allocations: 0 / 0.7679 GB, free: 6.832 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-06/0.1616, allocations: 0 / 0.7679 GB, free: 6.832 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.308e-05/0.1617, allocations: 7.984 kB / 0.7679 GB, free: 6.824 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001347/0.1618, allocations: 141.7 kB / 0.768 GB, free: 6.637 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 4.551e-05/0.1619, allocations: 26.61 kB / 0.768 GB, free: 6.602 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.737e-05/0.1619, allocations: 8.797 kB / 0.768 GB, free: 6.59 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005109/0.1624, allocations: 421.6 kB / 0.7684 GB, free: 6.086 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.552e-05/0.1624, allocations: 38.56 kB / 0.7685 GB, free: 6.039 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=1): time 1.052e-06/0.1624, allocations: 4 kB / 0.7685 GB, free: 6.035 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1): time 0.0001584/0.1626, allocations: 37.62 kB / 0.7685 GB, free: 5.992 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.184e-05/0.1627, allocations: 51.41 kB / 0.7686 GB, free: 5.93 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.498e-05/0.1627, allocations: 93.86 kB / 0.7687 GB, free: 5.828 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.712e-05/0.1627, allocations: 25.7 kB / 0.7687 GB, free: 5.797 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 2.519e-05/0.1627, allocations: 80.14 kB / 0.7688 GB, free: 5.715 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.773e-05/0.1628, allocations: 3.906 kB / 0.7688 GB, free: 5.711 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.238e-05/0.1628, allocations: 13.72 kB / 0.7688 GB, free: 5.691 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001078/0.1629, allocations: 319 kB / 0.7691 GB, free: 5.371 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.297e-05/0.1629, allocations: 7.938 kB / 0.7691 GB, free: 5.363 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.881e-06/0.163, allocations: 0 / 0.7691 GB, free: 5.363 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.584e-05/0.163, allocations: 12.84 kB / 0.7691 GB, free: 5.348 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.163, allocations: 0 / 0.7691 GB, free: 5.348 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1) (initialization): time 7.478e-05/0.1631, allocations: 29.7 kB / 0.7691 GB, free: 5.312 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.516e-05/0.1631, allocations: 8 kB / 0.7691 GB, free: 5.305 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.718e-06/0.1631, allocations: 3.938 kB / 0.7691 GB, free: 5.301 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.359e-05/0.1631, allocations: 4.094 kB / 0.7691 GB, free: 5.297 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.998e-05/0.1632, allocations: 0 / 0.7691 GB, free: 5.297 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.052e-06/0.1632, allocations: 3.938 kB / 0.7691 GB, free: 5.293 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.968e-06/0.1632, allocations: 0 / 0.7691 GB, free: 5.293 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.481e-06/0.1632, allocations: 4 kB / 0.7691 GB, free: 5.289 MB / 0.5606 GB 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 6.588e-05/0.1633, allocations: 114.4 kB / 0.7693 GB, free: 5.168 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.341e-05/0.1633, allocations: 3.984 kB / 0.7693 GB, free: 5.164 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.018e-05/0.1634, allocations: 36.77 kB / 0.7693 GB, free: 5.125 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.1634, allocations: 8.031 kB / 0.7693 GB, free: 5.117 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.1634, allocations: 0 / 0.7693 GB, free: 5.117 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.1634, allocations: 3.938 kB / 0.7693 GB, free: 5.113 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.098e-05/0.1635, allocations: 149.7 kB / 0.7695 GB, free: 4.918 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.482e-06/0.1635, allocations: 0 / 0.7695 GB, free: 4.918 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.567e-05/0.1636, allocations: 4 kB / 0.7695 GB, free: 4.914 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.1636, allocations: 0 / 0.7695 GB, free: 4.914 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.885e-06/0.1636, allocations: 3.938 kB / 0.7695 GB, free: 4.91 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.844e-06/0.1636, allocations: 0 / 0.7695 GB, free: 4.91 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.1636, allocations: 0 / 0.7695 GB, free: 4.91 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.902e-05/0.1637, allocations: 65.06 kB / 0.7695 GB, free: 4.828 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 3.068e-05/0.1637, allocations: 77.11 kB / 0.7696 GB, free: 4.734 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.11e-05/0.1637, allocations: 3.938 kB / 0.7696 GB, free: 4.73 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.073e-06/0.1638, allocations: 0 / 0.7696 GB, free: 4.73 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.235e-05/0.1638, allocations: 4 kB / 0.7696 GB, free: 4.727 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.616e-06/0.1638, allocations: 4 kB / 0.7696 GB, free: 4.723 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 2.425e-05/0.1638, allocations: 75.28 kB / 0.7697 GB, free: 4.648 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.21e-07/0.1638, allocations: 4.031 kB / 0.7697 GB, free: 4.645 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002002/0.164, allocations: 8 kB / 0.7697 GB, free: 4.637 MB / 0.5606 GB 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.0004404/0.1645, allocations: 0.6163 MB / 0.7703 GB, free: 3.988 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 7.006e-05/0.1645, allocations: 4 kB / 0.7703 GB, free: 3.984 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.1646, allocations: 4.094 kB / 0.7703 GB, free: 3.98 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 7.784e-06/0.1646, allocations: 4 kB / 0.7703 GB, free: 3.977 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001282/0.1647, allocations: 0 / 0.7703 GB, free: 3.977 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003345/0.165, allocations: 106.7 kB / 0.7704 GB, free: 3.832 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002281/0.1653, allocations: 0.6806 MB / 0.7711 GB, free: 3.125 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 1.576e-05/0.1653, allocations: 0 / 0.7711 GB, free: 3.125 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.919e-05/0.1653, allocations: 7.438 kB / 0.7711 GB, free: 3.117 MB / 0.5606 GB Notification: Performance of SimCode: time 2.21e-07/0.1653, allocations: 3.938 kB / 0.7711 GB, free: 3.113 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01552/0.1809, allocations: 1.217 MB / 0.7723 GB, free: 2.035 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.99/7.171, allocations: 11.73 kB / 0.7723 GB, free: 2.023 MB / 0.5606 GB (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPower.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_RegNonZeroPower_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_RegNonZeroPower.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe 2>&1)