Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.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/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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(BuildSysPro.IBPSA.Utilities.Math.Examples.RegNonZeroPower,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_RegNonZeroPower",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Examples.RegNonZeroPower,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_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.0007271/0.0007271, allocations: 91.3 kB / 15.36 MB, free: 0.7383 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.005191/0.005191, allocations: 169.9 kB / 16.26 MB, free: 6.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.36/1.36, allocations: 223.3 MB / 240.3 MB, free: 5.324 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 0.9775/0.9775, allocations: 143.2 MB / 434.6 MB, free: 13.7 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003793/0.0003794, allocations: 12 kB / 0.5165 GB, free: 11.02 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1614/0.1618, allocations: 83.41 MB / 0.598 GB, free: 7.566 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.RegNonZeroPower): time 0.001689/0.1635, allocations: 1.163 MB / 0.5991 GB, free: 6.391 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0007958/0.1644, allocations: 411.7 kB / 0.5995 GB, free: 5.984 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.639e-05/0.1644, allocations: 3.938 kB / 0.5995 GB, free: 5.98 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.862e-05/0.1644, allocations: 3.938 kB / 0.5995 GB, free: 5.977 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.79e-05/0.1645, allocations: 4 kB / 0.5995 GB, free: 5.973 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004303/0.1649, allocations: 82.16 kB / 0.5996 GB, free: 5.895 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.258e-05/0.165, allocations: 15.98 kB / 0.5996 GB, free: 5.879 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 9.966e-05/0.1651, allocations: 8 kB / 0.5996 GB, free: 5.871 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.47e-05/0.1652, allocations: 11.98 kB / 0.5996 GB, free: 5.859 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.657e-05/0.1652, allocations: 15.92 kB / 0.5996 GB, free: 5.844 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.318e-05/0.1652, allocations: 3.938 kB / 0.5996 GB, free: 5.84 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003955/0.1656, allocations: 267.7 kB / 0.5999 GB, free: 5.578 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.526e-05/0.1657, allocations: 7.938 kB / 0.5999 GB, free: 5.57 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 4.298e-05/0.1657, allocations: 41.61 kB / 0.5999 GB, free: 5.523 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002124/0.1659, allocations: 103.8 kB / 0.6 GB, free: 5.422 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.621e-06/0.1659, allocations: 0 / 0.6 GB, free: 5.422 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.573e-06/0.166, allocations: 3.938 kB / 0.6 GB, free: 5.418 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.889e-06/0.166, allocations: 0 / 0.6 GB, free: 5.418 MB / 0.4981 GB 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.0004517/0.1664, allocations: 359.7 kB / 0.6004 GB, free: 5.016 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.368e-05/0.1665, allocations: 12.03 kB / 0.6004 GB, free: 5.004 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.052e-05/0.1665, allocations: 34.75 kB / 0.6004 GB, free: 4.961 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.538e-05/0.1666, allocations: 0.9375 kB / 0.6004 GB, free: 4.961 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001174/0.1667, allocations: 172.3 kB / 0.6006 GB, free: 4.754 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.014e-05/0.1667, allocations: 384 / 0.6006 GB, free: 4.754 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.105e-05/0.1667, allocations: 384 / 0.6006 GB, free: 4.754 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000191/0.1669, allocations: 62.23 kB / 0.6006 GB, free: 4.688 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.101e-05/0.1669, allocations: 3.938 kB / 0.6007 GB, free: 4.684 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.155e-06/0.167, allocations: 0 / 0.6007 GB, free: 4.684 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.178e-06/0.167, allocations: 0 / 0.6007 GB, free: 4.684 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001885/0.1672, allocations: 47.91 kB / 0.6007 GB, free: 4.637 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003292/0.1675, allocations: 253 kB / 0.6009 GB, free: 4.34 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001291/0.1676, allocations: 46.5 kB / 0.601 GB, free: 4.285 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.444e-05/0.1677, allocations: 32.89 kB / 0.601 GB, free: 4.25 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006899/0.1684, allocations: 461.5 kB / 0.6015 GB, free: 3.707 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.593e-05/0.1685, allocations: 42.44 kB / 0.6015 GB, free: 3.656 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 9.72e-07/0.1685, allocations: 0 / 0.6015 GB, free: 3.656 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0003915/0.1689, allocations: 97.64 kB / 0.6016 GB, free: 3.555 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.461e-05/0.1689, allocations: 55.41 kB / 0.6016 GB, free: 3.488 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.628e-05/0.169, allocations: 101.8 kB / 0.6017 GB, free: 3.379 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.623e-05/0.169, allocations: 29.7 kB / 0.6018 GB, free: 3.344 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.195e-05/0.1691, allocations: 84.14 kB / 0.6018 GB, free: 3.258 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.95e-05/0.1691, allocations: 11.83 kB / 0.6019 GB, free: 3.246 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.878e-05/0.1691, allocations: 9.719 kB / 0.6019 GB, free: 3.23 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.276e-05/0.1692, allocations: 319 kB / 0.6022 GB, free: 2.91 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.529e-05/0.1693, allocations: 19.98 kB / 0.6022 GB, free: 2.891 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.431e-05/0.1694, allocations: 19.98 kB / 0.6022 GB, free: 2.871 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001623/0.1696, allocations: 60.81 kB / 0.6023 GB, free: 2.809 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.05e-06/0.1696, allocations: 7.875 kB / 0.6023 GB, free: 2.801 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002224/0.1698, allocations: 85.56 kB / 0.6024 GB, free: 2.711 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.598e-05/0.1698, allocations: 4 kB / 0.6024 GB, free: 2.707 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/0.1698, allocations: 0 / 0.6024 GB, free: 2.707 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.105e-05/0.1699, allocations: 0 / 0.6024 GB, free: 2.707 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.185e-05/0.1699, allocations: 8 kB / 0.6024 GB, free: 2.699 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.25e-06/0.17, allocations: 0 / 0.6024 GB, free: 2.699 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.212e-05/0.17, allocations: 16.02 kB / 0.6024 GB, free: 2.684 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.811e-06/0.17, allocations: 256 / 0.6024 GB, free: 2.684 MB / 0.4981 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 (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 6.801e-05/0.1701, allocations: 117.8 kB / 0.6025 GB, free: 2.559 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.968e-05/0.1701, allocations: 0 / 0.6025 GB, free: 2.559 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002465/0.1704, allocations: 93.11 kB / 0.6026 GB, free: 2.457 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.805e-06/0.1704, allocations: 0 / 0.6026 GB, free: 2.457 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.916e-06/0.1704, allocations: 8 kB / 0.6026 GB, free: 2.449 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.364e-06/0.1704, allocations: 0 / 0.6026 GB, free: 2.449 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001461/0.1706, allocations: 161.6 kB / 0.6027 GB, free: 2.242 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.1706, allocations: 0 / 0.6027 GB, free: 2.242 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.966e-05/0.1706, allocations: 11.98 kB / 0.6028 GB, free: 2.23 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.1707, allocations: 0 / 0.6028 GB, free: 2.23 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.452e-06/0.1707, allocations: 0 / 0.6028 GB, free: 2.23 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.1707, allocations: 8.031 kB / 0.6028 GB, free: 2.223 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.235e-06/0.1707, allocations: 3.984 kB / 0.6028 GB, free: 2.219 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002616/0.171, allocations: 175.4 kB / 0.6029 GB, free: 2.031 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.792e-05/0.171, allocations: 89.05 kB / 0.603 GB, free: 1.926 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.85e-05/0.171, allocations: 3.984 kB / 0.603 GB, free: 1.922 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.013e-05/0.1711, allocations: 4 kB / 0.603 GB, free: 1.918 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.924e-05/0.1712, allocations: 7.984 kB / 0.603 GB, free: 1.91 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.797e-06/0.1712, allocations: 0 / 0.603 GB, free: 1.91 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.095e-05/0.1712, allocations: 83.28 kB / 0.6031 GB, free: 1.828 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.6e-07/0.1712, allocations: 3.938 kB / 0.6031 GB, free: 1.824 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002249/0.1715, allocations: 12 kB / 0.6031 GB, free: 1.812 MB / 0.4981 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 (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.0005893/0.1721, allocations: 0.7242 MB / 0.6038 GB, free: 1.062 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002268/0.1723, allocations: 47.91 kB / 0.6039 GB, free: 1.016 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.1723, allocations: 0 / 0.6039 GB, free: 1.016 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 9.356e-05/0.1724, allocations: 28.05 kB / 0.6039 GB, free: 0.9883 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002552/0.1727, allocations: 11.92 kB / 0.6039 GB, free: 0.9766 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003997/0.1731, allocations: 146.4 kB / 0.6041 GB, free: 0.7969 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002223/0.1733, allocations: 0.677 MB / 0.6047 GB, free: 96 kB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.506e-05/0.1733, allocations: 4 kB / 0.6047 GB, free: 92 kB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.898e-05/0.1734, allocations: 11.5 kB / 0.6047 GB, free: 80 kB / 0.4981 GB Notification: Performance of SimCode: time 2.3e-07/0.1734, allocations: 0 / 0.6047 GB, free: 80 kB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2989/0.4723, allocations: 1.351 MB / 0.6061 GB, free: 39.78 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001519/0.4725, allocations: 207.3 kB / 0.6063 GB, free: 39.53 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.649/2.122, allocations: 0 / 0.6063 GB, free: 39.53 MB / 0.4981 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.RegNonZeroPower.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.RegNonZeroPower.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.RegNonZeroPower.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.RegNonZeroPower.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_RegNonZeroPower_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_RegNonZeroPower.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.RegNonZeroPower.pipe 2>&1)