Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.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.RegNonZeroPowerDerivativeCheck,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck",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.0012/0.0012, 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.001441/0.001441, allocations: 194.6 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.336/1.336, allocations: 222.9 MB / 240.2 MB, free: 4.414 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.992/0.992, allocations: 143 MB / 433.4 MB, free: 11.52 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001489/0.001489, allocations: 59.91 kB / 0.5143 GB, free: 11.56 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1566/0.1582, allocations: 82.05 MB / 0.5944 GB, free: 9.48 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck): time 0.001784/0.16, allocations: 0.5688 MB / 0.595 GB, free: 8.91 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0006294/0.1606, allocations: 350.7 kB / 0.5953 GB, free: 8.566 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.176e-05/0.1607, allocations: 4 kB / 0.5953 GB, free: 8.562 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.34e-05/0.1607, allocations: 0 / 0.5953 GB, free: 8.562 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 1.582e-05/0.1607, allocations: 0 / 0.5953 GB, free: 8.562 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004817/0.1612, allocations: 111.6 kB / 0.5954 GB, free: 8.453 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 4.817e-05/0.1613, allocations: 11.92 kB / 0.5954 GB, free: 8.441 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.115e-05/0.1613, allocations: 4 kB / 0.5954 GB, free: 8.438 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.711e-05/0.1613, allocations: 3.984 kB / 0.5954 GB, free: 8.434 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.53e-05/0.1614, allocations: 12 kB / 0.5954 GB, free: 8.422 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.23e-05/0.1614, allocations: 0 / 0.5954 GB, free: 8.422 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003676/0.1618, allocations: 271.6 kB / 0.5957 GB, free: 8.156 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.289e-05/0.1618, allocations: 4 kB / 0.5957 GB, free: 8.152 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.217e-05/0.1618, allocations: 7.938 kB / 0.5957 GB, free: 8.145 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001836/0.162, allocations: 95.83 kB / 0.5958 GB, free: 8.051 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.162, allocations: 0 / 0.5958 GB, free: 8.051 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.593e-06/0.162, allocations: 0 / 0.5958 GB, free: 8.051 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.109e-06/0.1621, allocations: 0 / 0.5958 GB, free: 8.051 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003581/0.1624, allocations: 339.6 kB / 0.5961 GB, free: 7.668 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.891e-05/0.1625, allocations: 19.91 kB / 0.5962 GB, free: 7.648 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.552e-05/0.1625, allocations: 34.75 kB / 0.5962 GB, free: 7.605 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.195e-05/0.1626, allocations: 8.844 kB / 0.5962 GB, free: 7.598 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001159/0.1627, allocations: 168.5 kB / 0.5964 GB, free: 7.395 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.12e-05/0.1627, allocations: 384 / 0.5964 GB, free: 7.395 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.959e-05/0.1627, allocations: 4.375 kB / 0.5964 GB, free: 7.391 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.467e-05/0.1628, allocations: 42.23 kB / 0.5964 GB, free: 7.344 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.767e-06/0.1628, allocations: 3.938 kB / 0.5964 GB, free: 7.34 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.025e-05/0.1629, allocations: 0 / 0.5964 GB, free: 7.34 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-06/0.1629, allocations: 0 / 0.5964 GB, free: 7.34 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.278e-05/0.1629, allocations: 8 kB / 0.5964 GB, free: 7.332 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001663/0.1631, allocations: 153.7 kB / 0.5966 GB, free: 7.133 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 4.781e-05/0.1631, allocations: 22.52 kB / 0.5966 GB, free: 7.102 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.917e-05/0.1631, allocations: 8.844 kB / 0.5966 GB, free: 7.09 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007427/0.1639, allocations: 461.5 kB / 0.597 GB, free: 6.547 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.641e-05/0.1639, allocations: 30.56 kB / 0.5971 GB, free: 6.508 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.303e-06/0.1639, allocations: 0 / 0.5971 GB, free: 6.508 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.0005214/0.1645, allocations: 262.5 kB / 0.5973 GB, free: 6.199 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.611e-05/0.1645, allocations: 51.41 kB / 0.5974 GB, free: 6.137 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.101e-05/0.1646, allocations: 93.84 kB / 0.5974 GB, free: 6.035 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.292e-05/0.1646, allocations: 29.7 kB / 0.5975 GB, free: 6 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.578e-05/0.1646, allocations: 80.14 kB / 0.5975 GB, free: 5.918 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.035e-05/0.1646, allocations: 7.906 kB / 0.5976 GB, free: 5.91 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.832e-05/0.1647, allocations: 13.72 kB / 0.5976 GB, free: 5.891 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.218e-05/0.1648, allocations: 323 kB / 0.5979 GB, free: 5.566 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.844e-05/0.1648, allocations: 4 kB / 0.5979 GB, free: 5.562 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.535e-05/0.1648, allocations: 17.72 kB / 0.5979 GB, free: 5.539 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.544e-05/0.1649, allocations: 29.66 kB / 0.5979 GB, free: 5.504 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.51e-07/0.1649, allocations: 0 / 0.5979 GB, free: 5.504 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.389e-05/0.165, allocations: 53.62 kB / 0.598 GB, free: 5.445 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.498e-05/0.165, allocations: 12 kB / 0.598 GB, free: 5.434 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.165, allocations: 0 / 0.598 GB, free: 5.434 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.399e-05/0.165, allocations: 4 kB / 0.598 GB, free: 5.43 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.977e-05/0.1651, allocations: 7.984 kB / 0.598 GB, free: 5.422 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.872e-06/0.1651, allocations: 3.938 kB / 0.598 GB, free: 5.418 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.85e-05/0.1651, allocations: 0 / 0.598 GB, free: 5.418 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.332e-06/0.1651, allocations: 4 kB / 0.598 GB, free: 5.414 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (4): * Single equations (assignments): 4 * 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.806e-05/0.1652, allocations: 109.8 kB / 0.5981 GB, free: 5.297 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.63e-05/0.1653, allocations: 7.938 kB / 0.5981 GB, free: 5.289 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001202/0.1654, allocations: 68.95 kB / 0.5982 GB, free: 5.215 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.427e-06/0.1654, allocations: 3.984 kB / 0.5982 GB, free: 5.211 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.798e-06/0.1654, allocations: 0 / 0.5982 GB, free: 5.211 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.1654, allocations: 0 / 0.5982 GB, free: 5.211 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.529e-05/0.1655, allocations: 153.7 kB / 0.5983 GB, free: 5.012 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/0.1655, allocations: 0 / 0.5983 GB, free: 5.012 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.972e-05/0.1656, allocations: 4 kB / 0.5983 GB, free: 5.008 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.491e-06/0.1656, allocations: 7.938 kB / 0.5983 GB, free: 5 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.823e-06/0.1656, allocations: 0 / 0.5983 GB, free: 5 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.452e-06/0.1656, allocations: 4 kB / 0.5984 GB, free: 4.996 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/0.1656, allocations: 4 kB / 0.5984 GB, free: 4.992 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000129/0.1657, allocations: 73.31 kB / 0.5984 GB, free: 4.902 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.595e-05/0.1658, allocations: 89.06 kB / 0.5985 GB, free: 4.797 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.126e-05/0.1658, allocations: 4.031 kB / 0.5985 GB, free: 4.793 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.854e-05/0.1658, allocations: 0 / 0.5985 GB, free: 4.793 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.123e-05/0.1659, allocations: 3.938 kB / 0.5985 GB, free: 4.789 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.211e-06/0.1659, allocations: 8.062 kB / 0.5985 GB, free: 4.781 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.746e-05/0.1659, allocations: 75.28 kB / 0.5986 GB, free: 4.707 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1659, allocations: 0 / 0.5986 GB, free: 4.707 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002117/0.1661, allocations: 31.98 kB / 0.5986 GB, free: 4.676 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (y) * 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 (3): * Single equations (assignments): 3 * 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.000459/0.1666, allocations: 0.6321 MB / 0.5992 GB, free: 4.012 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 9.249e-05/0.1667, allocations: 31.92 kB / 0.5993 GB, free: 3.98 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.1667, allocations: 0 / 0.5993 GB, free: 3.98 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.741e-05/0.1667, allocations: 8 kB / 0.5993 GB, free: 3.973 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001385/0.1669, allocations: 2.344 kB / 0.5993 GB, free: 3.973 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009001/0.1678, allocations: 1.135 MB / 0.6004 GB, free: 2.75 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001884/0.168, allocations: 0.6768 MB / 0.6011 GB, free: 2.047 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.13e-05/0.168, allocations: 15.94 kB / 0.6011 GB, free: 2.031 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.562e-05/0.1681, allocations: 7.438 kB / 0.6011 GB, free: 2.023 MB / 0.4981 GB Notification: Performance of SimCode: time 2.3e-07/0.1681, allocations: 4 kB / 0.6011 GB, free: 2.02 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01901/0.1871, allocations: 1.745 MB / 0.6028 GB, free: 416 kB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.576/7.764, allocations: 2.844 kB / 0.6028 GB, free: 416 kB / 0.4981 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-08 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe 2>&1)