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.001278/0.001278, allocations: 108 kB / 15.61 MB, free: 152 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.001474/0.001474, allocations: 193.1 kB / 16.53 MB, free: 6.664 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.397/1.397, allocations: 222.9 MB / 240.2 MB, free: 4.43 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.9847/0.9847, allocations: 143 MB / 433.4 MB, free: 11.49 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00136/0.00136, allocations: 68.05 kB / 0.5143 GB, free: 11.57 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1516/0.1529, allocations: 82.03 MB / 0.5944 GB, free: 9.504 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.RegNonZeroPower): time 0.002597/0.1556, allocations: 1.443 MB / 0.5958 GB, free: 8.047 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0006806/0.1563, allocations: 391.5 kB / 0.5962 GB, free: 7.66 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.142e-05/0.1563, allocations: 0 / 0.5962 GB, free: 7.66 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.612e-05/0.1564, allocations: 0 / 0.5962 GB, free: 7.66 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.86e-05/0.1564, allocations: 3.938 kB / 0.5962 GB, free: 7.656 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004433/0.1569, allocations: 113.2 kB / 0.5963 GB, free: 7.547 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.153e-05/0.157, allocations: 27.92 kB / 0.5963 GB, free: 7.52 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 8.437e-05/0.157, allocations: 8 kB / 0.5963 GB, free: 7.512 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.254e-05/0.1571, allocations: 11.92 kB / 0.5963 GB, free: 7.5 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.982e-05/0.1571, allocations: 11.98 kB / 0.5963 GB, free: 7.488 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.196e-05/0.1572, allocations: 0 / 0.5963 GB, free: 7.488 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003775/0.1575, allocations: 275.6 kB / 0.5966 GB, free: 7.219 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.846e-05/0.1576, allocations: 7.938 kB / 0.5966 GB, free: 7.211 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.594e-05/0.1576, allocations: 7.938 kB / 0.5966 GB, free: 7.203 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.000199/0.1578, allocations: 115.8 kB / 0.5967 GB, free: 7.09 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.1578, allocations: 0 / 0.5967 GB, free: 7.09 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.775e-06/0.1578, allocations: 0 / 0.5967 GB, free: 7.09 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.41e-06/0.1578, allocations: 3.938 kB / 0.5967 GB, free: 7.086 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.0004181/0.1582, allocations: 367.7 kB / 0.5971 GB, free: 6.676 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.569e-05/0.1583, allocations: 15.97 kB / 0.5971 GB, free: 6.66 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.854e-05/0.1583, allocations: 30.75 kB / 0.5971 GB, free: 6.621 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.67e-05/0.1584, allocations: 0.9375 kB / 0.5971 GB, free: 6.621 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001003/0.1585, allocations: 168.3 kB / 0.5973 GB, free: 6.418 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.859e-06/0.1585, allocations: 4.375 kB / 0.5973 GB, free: 6.414 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.959e-06/0.1585, allocations: 384 / 0.5973 GB, free: 6.414 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001667/0.1587, allocations: 50.23 kB / 0.5973 GB, free: 6.359 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.706e-06/0.1587, allocations: 3.938 kB / 0.5973 GB, free: 6.355 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.04e-05/0.1587, allocations: 7.984 kB / 0.5973 GB, free: 6.348 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-06/0.1587, allocations: 0 / 0.5973 GB, free: 6.348 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001628/0.1589, allocations: 35.89 kB / 0.5974 GB, free: 6.312 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002907/0.1592, allocations: 252.9 kB / 0.5976 GB, free: 6.016 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001289/0.1593, allocations: 42.53 kB / 0.5977 GB, free: 5.965 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.628e-05/0.1594, allocations: 28.91 kB / 0.5977 GB, free: 5.934 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006425/0.1601, allocations: 457.5 kB / 0.5981 GB, free: 5.395 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.366e-05/0.1601, allocations: 34.56 kB / 0.5982 GB, free: 5.352 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.242e-06/0.1601, allocations: 0 / 0.5982 GB, free: 5.352 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0003761/0.1605, allocations: 89.58 kB / 0.5982 GB, free: 5.258 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.749e-05/0.1605, allocations: 51.41 kB / 0.5983 GB, free: 5.195 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.466e-05/0.1606, allocations: 105.8 kB / 0.5984 GB, free: 5.082 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.055e-05/0.1606, allocations: 25.7 kB / 0.5984 GB, free: 5.051 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.061e-05/0.1607, allocations: 91.98 kB / 0.5985 GB, free: 4.957 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.358e-05/0.1607, allocations: 0 / 0.5985 GB, free: 4.957 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.898e-05/0.1607, allocations: 13.84 kB / 0.5985 GB, free: 4.938 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.178e-05/0.1608, allocations: 318.8 kB / 0.5988 GB, free: 4.617 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.371e-05/0.1609, allocations: 23.91 kB / 0.5988 GB, free: 4.594 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.066e-05/0.161, allocations: 15.98 kB / 0.5989 GB, free: 4.578 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001458/0.1611, allocations: 36.83 kB / 0.5989 GB, free: 4.539 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.1611, allocations: 11.94 kB / 0.5989 GB, free: 4.527 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002021/0.1614, allocations: 69.56 kB / 0.599 GB, free: 4.453 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.27e-05/0.1614, allocations: 4 kB / 0.599 GB, free: 4.449 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.398e-06/0.1614, allocations: 0 / 0.599 GB, free: 4.449 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.181e-05/0.1614, allocations: 4 kB / 0.599 GB, free: 4.445 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.086e-05/0.1615, allocations: 7.984 kB / 0.599 GB, free: 4.438 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.651e-06/0.1615, allocations: 0 / 0.599 GB, free: 4.438 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.965e-05/0.1616, allocations: 12.23 kB / 0.599 GB, free: 4.426 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.58e-06/0.1616, allocations: 4.031 kB / 0.599 GB, free: 4.422 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.969e-05/0.1617, allocations: 113.8 kB / 0.5991 GB, free: 4.301 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.006e-05/0.1617, allocations: 0 / 0.5991 GB, free: 4.301 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002324/0.1619, allocations: 81.12 kB / 0.5992 GB, free: 4.211 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-06/0.1619, allocations: 0 / 0.5992 GB, free: 4.211 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.498e-06/0.162, allocations: 0 / 0.5992 GB, free: 4.211 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.162, allocations: 3.938 kB / 0.5992 GB, free: 4.207 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001476/0.1621, allocations: 169.6 kB / 0.5994 GB, free: 3.992 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.1621, allocations: 0 / 0.5994 GB, free: 3.992 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.688e-05/0.1622, allocations: 7.984 kB / 0.5994 GB, free: 3.984 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.23e-06/0.1622, allocations: 4 kB / 0.5994 GB, free: 3.98 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.973e-06/0.1622, allocations: 0 / 0.5994 GB, free: 3.98 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.854e-06/0.1622, allocations: 0 / 0.5994 GB, free: 3.98 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.1622, allocations: 0 / 0.5994 GB, free: 3.98 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002508/0.1625, allocations: 175.3 kB / 0.5995 GB, free: 3.793 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.339e-05/0.1625, allocations: 77.11 kB / 0.5996 GB, free: 3.699 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.423e-05/0.1625, allocations: 4 kB / 0.5996 GB, free: 3.695 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.257e-05/0.1626, allocations: 7.984 kB / 0.5996 GB, free: 3.688 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.851e-05/0.1627, allocations: 0 / 0.5996 GB, free: 3.688 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.437e-06/0.1627, allocations: 0 / 0.5996 GB, free: 3.688 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.177e-05/0.1627, allocations: 83.28 kB / 0.5997 GB, free: 3.605 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.1627, allocations: 0 / 0.5997 GB, free: 3.605 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000231/0.163, allocations: 20.02 kB / 0.5997 GB, free: 3.586 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.0005758/0.1635, allocations: 0.7046 MB / 0.6004 GB, free: 2.855 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002226/0.1638, allocations: 51.86 kB / 0.6005 GB, free: 2.805 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.1638, allocations: 4 kB / 0.6005 GB, free: 2.801 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.527e-05/0.1639, allocations: 15.98 kB / 0.6005 GB, free: 2.785 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003252/0.1642, allocations: 9.938 kB / 0.6005 GB, free: 2.781 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005011/0.1647, allocations: 147.2 kB / 0.6006 GB, free: 2.598 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002312/0.165, allocations: 0.6768 MB / 0.6013 GB, free: 1.895 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.763e-05/0.165, allocations: 4 kB / 0.6013 GB, free: 1.891 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.358e-05/0.165, allocations: 15.42 kB / 0.6013 GB, free: 1.875 MB / 0.4981 GB Notification: Performance of SimCode: time 4.81e-07/0.1651, allocations: 0 / 0.6013 GB, free: 1.875 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01714/0.1822, allocations: 1.583 MB / 0.6028 GB, free: 376 kB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.788/7.97, allocations: 6.75 kB / 0.6029 GB, free: 372 kB / 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)