Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/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.Examples.RegNonZeroPower,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_RegNonZeroPower",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Examples.RegNonZeroPower,fileNamePrefix="BuildingSystems_BuildingSystems_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.001425/0.001425, allocations: 108 kB / 15.6 MB, free: 132 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.001697/0.001697, allocations: 194.7 kB / 16.53 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.354/1.354, allocations: 222.9 MB / 240.2 MB, free: 4.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002018/0.002018, allocations: 286.6 kB / 290.7 MB, free: 2.02 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9133/0.9133, allocations: 169.3 MB / 0.4982 GB, free: 13.96 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002878/0.002878, allocations: 94.77 kB / 0.5953 GB, free: 28 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1509/0.1538, allocations: 86.99 MB / 0.6803 GB, free: 0.6094 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.RegNonZeroPower): time 0.003341/0.1572, allocations: 1.436 MB / 0.6817 GB, free: 15.18 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007942/0.158, allocations: 383.4 kB / 0.6821 GB, free: 14.8 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.755e-05/0.1581, allocations: 4 kB / 0.6821 GB, free: 14.79 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.33e-05/0.1582, allocations: 7.938 kB / 0.6821 GB, free: 14.79 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.361e-05/0.1582, allocations: 7.922 kB / 0.6821 GB, free: 14.78 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005305/0.1587, allocations: 116 kB / 0.6822 GB, free: 14.66 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 7.12e-05/0.1588, allocations: 23.94 kB / 0.6822 GB, free: 14.64 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.551e-05/0.1589, allocations: 11.91 kB / 0.6822 GB, free: 14.63 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.487e-05/0.159, allocations: 11.94 kB / 0.6822 GB, free: 14.62 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.569e-05/0.159, allocations: 15.92 kB / 0.6822 GB, free: 14.6 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.658e-05/0.159, allocations: 8 kB / 0.6823 GB, free: 14.59 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004263/0.1595, allocations: 271.7 kB / 0.6825 GB, free: 14.33 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.666e-05/0.1595, allocations: 3.984 kB / 0.6825 GB, free: 14.32 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.913e-05/0.1595, allocations: 11.94 kB / 0.6825 GB, free: 14.31 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002356/0.1598, allocations: 111.8 kB / 0.6826 GB, free: 14.2 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.1598, allocations: 0 / 0.6826 GB, free: 14.2 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.1598, allocations: 0 / 0.6826 GB, free: 14.2 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.26e-06/0.1598, allocations: 0 / 0.6826 GB, free: 14.2 MB / 494.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.0004921/0.1603, allocations: 359.5 kB / 0.683 GB, free: 13.8 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.171e-05/0.1604, allocations: 8.031 kB / 0.683 GB, free: 13.79 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.058e-05/0.1604, allocations: 30.75 kB / 0.683 GB, free: 13.75 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.498e-05/0.1605, allocations: 4.938 kB / 0.683 GB, free: 13.75 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001412/0.1606, allocations: 176.2 kB / 0.6832 GB, free: 13.54 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.187e-05/0.1607, allocations: 4.375 kB / 0.6832 GB, free: 13.54 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.023e-05/0.1607, allocations: 384 / 0.6832 GB, free: 13.54 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000193/0.1609, allocations: 54.17 kB / 0.6832 GB, free: 13.48 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.049e-05/0.1609, allocations: 3.938 kB / 0.6832 GB, free: 13.47 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.526e-06/0.1609, allocations: 0 / 0.6832 GB, free: 13.47 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.198e-06/0.1609, allocations: 4 kB / 0.6832 GB, free: 13.47 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001685/0.1611, allocations: 31.97 kB / 0.6833 GB, free: 13.44 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003286/0.1614, allocations: 249 kB / 0.6835 GB, free: 13.14 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001452/0.1616, allocations: 50.42 kB / 0.6836 GB, free: 13.09 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.596e-05/0.1617, allocations: 20.91 kB / 0.6836 GB, free: 13.06 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007147/0.1624, allocations: 461.4 kB / 0.684 GB, free: 12.52 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.033e-05/0.1624, allocations: 38.55 kB / 0.6841 GB, free: 12.47 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 1.413e-06/0.1625, allocations: 0 / 0.6841 GB, free: 12.47 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003801/0.1628, allocations: 77.66 kB / 0.6841 GB, free: 12.39 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.074e-05/0.1629, allocations: 51.41 kB / 0.6842 GB, free: 12.33 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.717e-05/0.163, allocations: 105.8 kB / 0.6843 GB, free: 12.21 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.558e-05/0.163, allocations: 33.7 kB / 0.6843 GB, free: 12.18 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.149e-05/0.1631, allocations: 88.14 kB / 0.6844 GB, free: 12.09 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.102e-05/0.1631, allocations: 11.89 kB / 0.6844 GB, free: 12.07 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.338e-05/0.1631, allocations: 13.72 kB / 0.6844 GB, free: 12.05 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001168/0.1633, allocations: 310.8 kB / 0.6847 GB, free: 11.74 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.241e-05/0.1633, allocations: 15.98 kB / 0.6847 GB, free: 11.73 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.187e-05/0.1634, allocations: 19.97 kB / 0.6848 GB, free: 11.71 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001479/0.1636, allocations: 44.89 kB / 0.6848 GB, free: 11.66 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.1636, allocations: 3.938 kB / 0.6848 GB, free: 11.66 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002205/0.1638, allocations: 65.66 kB / 0.6849 GB, free: 11.59 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.557e-05/0.1638, allocations: 4 kB / 0.6849 GB, free: 11.58 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.1638, allocations: 0 / 0.6849 GB, free: 11.58 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.168e-05/0.1639, allocations: 0 / 0.6849 GB, free: 11.58 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.321e-05/0.164, allocations: 19.95 kB / 0.6849 GB, free: 11.56 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.421e-06/0.164, allocations: 0 / 0.6849 GB, free: 11.56 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.519e-05/0.164, allocations: 7.906 kB / 0.6849 GB, free: 11.55 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.177e-06/0.164, allocations: 0 / 0.6849 GB, free: 11.55 MB / 494.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 7.704e-05/0.1641, allocations: 114.4 kB / 0.685 GB, free: 11.43 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.261e-05/0.1642, allocations: 4 kB / 0.685 GB, free: 11.43 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002419/0.1644, allocations: 81.17 kB / 0.6851 GB, free: 11.34 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.1644, allocations: 0 / 0.6851 GB, free: 11.34 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.656e-06/0.1644, allocations: 256 / 0.6851 GB, free: 11.34 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.856e-06/0.1644, allocations: 0 / 0.6851 GB, free: 11.34 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001665/0.1646, allocations: 165.6 kB / 0.6852 GB, free: 11.13 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.983e-06/0.1646, allocations: 0 / 0.6852 GB, free: 11.13 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.634e-05/0.1647, allocations: 8 kB / 0.6853 GB, free: 11.12 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.012e-06/0.1647, allocations: 0 / 0.6853 GB, free: 11.12 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.554e-06/0.1647, allocations: 7.922 kB / 0.6853 GB, free: 11.12 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.847e-06/0.1647, allocations: 0 / 0.6853 GB, free: 11.12 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/0.1647, allocations: 7.969 kB / 0.6853 GB, free: 11.11 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002749/0.165, allocations: 167.5 kB / 0.6854 GB, free: 10.93 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.185e-05/0.165, allocations: 85 kB / 0.6855 GB, free: 10.83 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.411e-05/0.1651, allocations: 0 / 0.6855 GB, free: 10.83 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.062e-05/0.1651, allocations: 4 kB / 0.6855 GB, free: 10.82 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.259e-05/0.1652, allocations: 8.016 kB / 0.6855 GB, free: 10.82 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.929e-06/0.1652, allocations: 4 kB / 0.6855 GB, free: 10.81 MB / 494.1 MB Notification: Performance of sorting global known variables: time 4.067e-05/0.1652, allocations: 83.28 kB / 0.6856 GB, free: 10.73 MB / 494.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.1652, allocations: 0 / 0.6856 GB, free: 10.73 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002423/0.1655, allocations: 16 kB / 0.6856 GB, free: 10.71 MB / 494.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.0006147/0.1661, allocations: 0.7162 MB / 0.6863 GB, free: 9.973 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002104/0.1663, allocations: 35.91 kB / 0.6864 GB, free: 9.938 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.1663, allocations: 0 / 0.6864 GB, free: 9.938 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 8.886e-05/0.1664, allocations: 23.97 kB / 0.6864 GB, free: 9.914 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002698/0.1667, allocations: 4.156 kB / 0.6864 GB, free: 9.91 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004523/0.1672, allocations: 155.1 kB / 0.6865 GB, free: 9.719 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000264/0.1675, allocations: 0.6768 MB / 0.6872 GB, free: 9.016 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 2.357e-05/0.1675, allocations: 0 / 0.6872 GB, free: 9.016 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.641e-05/0.1675, allocations: 11.44 kB / 0.6872 GB, free: 9.004 MB / 494.1 MB Notification: Performance of SimCode: time 4.51e-07/0.1675, allocations: 0 / 0.6872 GB, free: 9.004 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02031/0.1878, allocations: 1.582 MB / 0.6887 GB, free: 7.504 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.633/7.82, allocations: 15.45 kB / 0.6888 GB, free: 7.492 MB / 494.1 MB (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.RegNonZeroPower.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.RegNonZeroPower.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.RegNonZeroPower.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.RegNonZeroPower.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Math_Examples_RegNonZeroPower_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Math_Examples_RegNonZeroPower.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Examples.RegNonZeroPower.pipe 2>&1)