Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.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/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.Functions.Examples.RegNonZeroPower,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_RegNonZeroPower",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower,fileNamePrefix="BuildSysPro_BuildSysPro_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.001022/0.001022, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.00105/0.00105, allocations: 190.3 kB / 16.13 MB, free: 6.656 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.254/1.254, allocations: 222.9 MB / 239.8 MB, free: 4.582 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.953/0.953, allocations: 143 MB / 433 MB, free: 11.79 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001172/0.001172, allocations: 59.91 kB / 0.5136 GB, free: 12.05 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1561/0.1573, allocations: 82.05 MB / 0.5937 GB, free: 9.965 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower): time 0.001854/0.1592, allocations: 0.6348 MB / 0.5944 GB, free: 9.324 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0006509/0.1599, allocations: 354.9 kB / 0.5947 GB, free: 8.977 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.578e-06/0.1599, allocations: 0 / 0.5947 GB, free: 8.977 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.248e-05/0.1599, allocations: 0 / 0.5947 GB, free: 8.977 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.129e-06/0.1599, allocations: 0 / 0.5947 GB, free: 8.977 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003334/0.1603, allocations: 71.84 kB / 0.5948 GB, free: 8.906 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 3.425e-05/0.1603, allocations: 4 kB / 0.5948 GB, free: 8.902 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.72e-05/0.1604, allocations: 4 kB / 0.5948 GB, free: 8.898 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.888e-05/0.1604, allocations: 0 / 0.5948 GB, free: 8.898 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 1.897e-05/0.1604, allocations: 7.938 kB / 0.5948 GB, free: 8.891 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 8.866e-06/0.1604, allocations: 0 / 0.5948 GB, free: 8.891 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003629/0.1608, allocations: 275.6 kB / 0.5951 GB, free: 8.621 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.058e-05/0.1608, allocations: 0 / 0.5951 GB, free: 8.621 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 1.874e-05/0.1608, allocations: 4 kB / 0.5951 GB, free: 8.617 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001544/0.161, allocations: 83.84 kB / 0.5951 GB, free: 8.535 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.546e-06/0.161, allocations: 0 / 0.5951 GB, free: 8.535 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.132e-06/0.161, allocations: 0 / 0.5951 GB, free: 8.535 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.106e-06/0.161, allocations: 0 / 0.5951 GB, free: 8.535 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.000276/0.1613, allocations: 335.6 kB / 0.5955 GB, free: 8.156 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.48e-05/0.1613, allocations: 16.03 kB / 0.5955 GB, free: 8.141 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.868e-05/0.1614, allocations: 34.75 kB / 0.5955 GB, free: 8.098 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.454e-05/0.1614, allocations: 0.9375 kB / 0.5955 GB, free: 8.098 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.331e-05/0.1615, allocations: 168.3 kB / 0.5957 GB, free: 7.895 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.976e-06/0.1615, allocations: 384 / 0.5957 GB, free: 7.895 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.376e-06/0.1615, allocations: 384 / 0.5957 GB, free: 7.895 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.816e-05/0.1616, allocations: 34.25 kB / 0.5957 GB, free: 7.855 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.386e-06/0.1616, allocations: 3.938 kB / 0.5957 GB, free: 7.852 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.975e-06/0.1616, allocations: 0 / 0.5957 GB, free: 7.852 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.078e-06/0.1617, allocations: 7.938 kB / 0.5957 GB, free: 7.844 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.844e-05/0.1617, allocations: 0 / 0.5957 GB, free: 7.844 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001947/0.1619, allocations: 149.7 kB / 0.5959 GB, free: 7.648 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 3.595e-05/0.1619, allocations: 18.52 kB / 0.5959 GB, free: 7.621 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.671e-05/0.1619, allocations: 4.859 kB / 0.5959 GB, free: 7.613 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005291/0.1625, allocations: 429.6 kB / 0.5963 GB, free: 7.102 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.733e-05/0.1625, allocations: 38.55 kB / 0.5963 GB, free: 7.055 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 9.32e-07/0.1625, allocations: 0 / 0.5963 GB, free: 7.055 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.0001447/0.1627, allocations: 37.64 kB / 0.5964 GB, free: 7.012 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.82e-05/0.1627, allocations: 51.41 kB / 0.5964 GB, free: 6.949 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.641e-05/0.1628, allocations: 89.86 kB / 0.5965 GB, free: 6.852 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.322e-05/0.1628, allocations: 29.64 kB / 0.5965 GB, free: 6.816 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.947e-05/0.1628, allocations: 84.27 kB / 0.5966 GB, free: 6.73 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.786e-05/0.1628, allocations: 7.906 kB / 0.5966 GB, free: 6.723 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.415e-05/0.1629, allocations: 9.719 kB / 0.5966 GB, free: 6.707 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000104/0.163, allocations: 314.8 kB / 0.5969 GB, free: 6.391 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.846e-06/0.163, allocations: 0 / 0.5969 GB, free: 6.391 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.484e-06/0.163, allocations: 4 kB / 0.5969 GB, free: 6.387 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.455e-05/0.163, allocations: 8.859 kB / 0.5969 GB, free: 6.375 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.163, allocations: 4.062 kB / 0.5969 GB, free: 6.371 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.888e-05/0.1631, allocations: 33.7 kB / 0.597 GB, free: 6.332 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.158e-05/0.1631, allocations: 4 kB / 0.597 GB, free: 6.328 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.1631, allocations: 3.938 kB / 0.597 GB, free: 6.324 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.275e-05/0.1631, allocations: 3.984 kB / 0.597 GB, free: 6.32 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.116e-05/0.1632, allocations: 7.938 kB / 0.597 GB, free: 6.312 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.22e-06/0.1632, allocations: 3.938 kB / 0.597 GB, free: 6.309 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.158e-05/0.1632, allocations: 3.984 kB / 0.597 GB, free: 6.305 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.833e-06/0.1632, allocations: 3.984 kB / 0.597 GB, free: 6.301 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 (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 0.0001252/0.1634, allocations: 113.9 kB / 0.5971 GB, free: 6.18 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.735e-05/0.1634, allocations: 0 / 0.5971 GB, free: 6.18 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.211e-05/0.1635, allocations: 40.77 kB / 0.5971 GB, free: 6.137 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.402e-06/0.1635, allocations: 0 / 0.5971 GB, free: 6.137 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.447e-06/0.1635, allocations: 0 / 0.5971 GB, free: 6.137 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.771e-06/0.1635, allocations: 3.984 kB / 0.5971 GB, free: 6.133 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001478/0.1636, allocations: 149.9 kB / 0.5973 GB, free: 5.938 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.02e-07/0.1636, allocations: 0 / 0.5973 GB, free: 5.938 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.036e-05/0.1637, allocations: 0 / 0.5973 GB, free: 5.938 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-06/0.1637, allocations: 4.031 kB / 0.5973 GB, free: 5.934 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.494e-06/0.1637, allocations: 3.938 kB / 0.5973 GB, free: 5.93 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.017e-06/0.1637, allocations: 8 kB / 0.5973 GB, free: 5.922 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.1637, allocations: 3.938 kB / 0.5973 GB, free: 5.918 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.245e-05/0.1638, allocations: 57.12 kB / 0.5974 GB, free: 5.844 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.375e-05/0.1638, allocations: 77.11 kB / 0.5974 GB, free: 5.75 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.172e-05/0.1638, allocations: 7.938 kB / 0.5974 GB, free: 5.742 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.325e-06/0.1638, allocations: 4.031 kB / 0.5974 GB, free: 5.738 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.225e-06/0.1638, allocations: 0 / 0.5974 GB, free: 5.738 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.844e-06/0.1639, allocations: 0 / 0.5974 GB, free: 5.738 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.183e-05/0.1639, allocations: 75.28 kB / 0.5975 GB, free: 5.664 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.1639, allocations: 0 / 0.5975 GB, free: 5.664 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001916/0.1641, allocations: 19.92 kB / 0.5975 GB, free: 5.645 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 (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.0003959/0.1645, allocations: 0.6124 MB / 0.5981 GB, free: 5 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 6.28e-05/0.1646, allocations: 8 kB / 0.5981 GB, free: 4.992 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.1646, allocations: 0 / 0.5981 GB, free: 4.992 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 5.721e-06/0.1646, allocations: 0 / 0.5981 GB, free: 4.992 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001219/0.1647, allocations: 4 kB / 0.5981 GB, free: 4.988 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002701/0.165, allocations: 110.6 kB / 0.5983 GB, free: 4.844 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000236/0.1652, allocations: 0.6694 MB / 0.5989 GB, free: 4.148 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.754e-05/0.1652, allocations: 4 kB / 0.5989 GB, free: 4.145 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.547e-05/0.1653, allocations: 15.38 kB / 0.5989 GB, free: 4.129 MB / 0.4981 GB Notification: Performance of SimCode: time 2.3e-07/0.1653, allocations: 0 / 0.5989 GB, free: 4.129 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0103/0.1756, allocations: 1.067 MB / 0.6 GB, free: 3.199 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001794/0.1758, allocations: 220.4 kB / 0.6002 GB, free: 2.945 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.601/1.777, allocations: 0 / 0.6002 GB, free: 2.945 MB / 0.4981 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_RegNonZeroPower_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_RegNonZeroPower.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe 2>&1)