Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.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.RegNonZeroPowerDerivative_2_Check,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivative_2_Check",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivative_2_Check",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.006539/0.006539, allocations: 103.8 kB / 15.73 MB, free: 6.008 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.001198/0.001198, allocations: 197.4 kB / 16.68 MB, free: 5.934 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.383/1.383, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.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.8556/0.8556, allocations: 143.1 MB / 433.6 MB, free: 11.96 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001238/0.001238, allocations: 66.38 kB / 0.5951 GB, free: 12.73 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1556/0.1569, allocations: 82.03 MB / 0.6752 GB, free: 10.8 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check): time 0.001705/0.1586, allocations: 0.6216 MB / 0.6758 GB, free: 10.18 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0006967/0.1593, allocations: 355.1 kB / 0.6762 GB, free: 9.836 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.918e-05/0.1594, allocations: 0 / 0.6762 GB, free: 9.836 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 1.809e-05/0.1594, allocations: 0 / 0.6762 GB, free: 9.836 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 2.883e-05/0.1595, allocations: 3.938 kB / 0.6762 GB, free: 9.832 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005296/0.16, allocations: 123.5 kB / 0.6763 GB, free: 9.711 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 7.57e-05/0.1601, allocations: 23.92 kB / 0.6763 GB, free: 9.688 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 4.459e-05/0.1602, allocations: 4 kB / 0.6763 GB, free: 9.684 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 3.687e-05/0.1602, allocations: 8 kB / 0.6763 GB, free: 9.676 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 5.898e-05/0.1603, allocations: 15.92 kB / 0.6763 GB, free: 9.66 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.298e-05/0.1603, allocations: 0 / 0.6763 GB, free: 9.66 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003889/0.1607, allocations: 283.6 kB / 0.6766 GB, free: 9.383 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 1.775e-05/0.1607, allocations: 8 kB / 0.6766 GB, free: 9.375 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 2.287e-05/0.1607, allocations: 11.88 kB / 0.6766 GB, free: 9.363 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.000193/0.1609, allocations: 111.7 kB / 0.6767 GB, free: 9.254 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.161, allocations: 0 / 0.6767 GB, free: 9.254 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.804e-06/0.161, allocations: 0 / 0.6767 GB, free: 9.254 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 4.709e-06/0.161, allocations: 0 / 0.6767 GB, free: 9.254 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004248/0.1614, allocations: 358.4 kB / 0.6771 GB, free: 8.855 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.653e-05/0.1614, allocations: 12.03 kB / 0.6771 GB, free: 8.844 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.634e-05/0.1615, allocations: 34.75 kB / 0.6771 GB, free: 8.801 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.357e-05/0.1615, allocations: 8.844 kB / 0.6771 GB, free: 8.793 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001063/0.1617, allocations: 160.4 kB / 0.6773 GB, free: 8.598 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.362e-05/0.1617, allocations: 4.375 kB / 0.6773 GB, free: 8.594 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.07e-05/0.1617, allocations: 4.375 kB / 0.6773 GB, free: 8.59 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001126/0.1618, allocations: 50.23 kB / 0.6773 GB, free: 8.535 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.194e-05/0.1618, allocations: 3.938 kB / 0.6773 GB, free: 8.531 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.063e-05/0.1618, allocations: 4 kB / 0.6773 GB, free: 8.527 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.346e-05/0.1619, allocations: 4 kB / 0.6773 GB, free: 8.523 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.456e-05/0.1619, allocations: 31.91 kB / 0.6774 GB, free: 8.492 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001715/0.1621, allocations: 170.4 kB / 0.6775 GB, free: 8.277 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001014/0.1622, allocations: 58.55 kB / 0.6776 GB, free: 8.211 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.411e-05/0.1623, allocations: 28.84 kB / 0.6776 GB, free: 8.18 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006852/0.163, allocations: 465.7 kB / 0.6781 GB, free: 7.633 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.667e-05/0.163, allocations: 34.56 kB / 0.6781 GB, free: 7.59 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=7): time 1.192e-06/0.163, allocations: 0 / 0.6781 GB, free: 7.59 MB / 0.5137 GB Notification: Performance of matching and sorting (n=11): time 0.001245/0.1643, allocations: 0.5875 MB / 0.6787 GB, free: 6.91 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.801e-05/0.1643, allocations: 55.41 kB / 0.6787 GB, free: 6.844 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.941e-05/0.1644, allocations: 93.86 kB / 0.6788 GB, free: 6.742 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.515e-05/0.1644, allocations: 29.7 kB / 0.6788 GB, free: 6.707 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 3.71e-05/0.1644, allocations: 84.12 kB / 0.6789 GB, free: 6.621 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.936e-05/0.1645, allocations: 39.45 kB / 0.679 GB, free: 6.582 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.392e-05/0.1645, allocations: 33.8 kB / 0.679 GB, free: 6.543 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 9.475e-05/0.1646, allocations: 318.8 kB / 0.6793 GB, free: 6.223 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.199e-05/0.1647, allocations: 23.98 kB / 0.6793 GB, free: 6.199 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.604e-05/0.1647, allocations: 23.23 kB / 0.6793 GB, free: 6.18 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.457e-05/0.1648, allocations: 56.8 kB / 0.6794 GB, free: 6.121 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.41e-07/0.1648, allocations: 0 / 0.6794 GB, free: 6.121 MB / 0.5137 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001531/0.165, allocations: 101.5 kB / 0.6795 GB, free: 6.016 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.592e-05/0.165, allocations: 11.98 kB / 0.6795 GB, free: 6.004 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.165, allocations: 4 kB / 0.6795 GB, free: 6 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.255e-05/0.165, allocations: 0 / 0.6795 GB, free: 6 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001025/0.1651, allocations: 20 kB / 0.6795 GB, free: 5.98 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.853e-06/0.1652, allocations: 7.984 kB / 0.6795 GB, free: 5.973 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.282e-05/0.1652, allocations: 0 / 0.6795 GB, free: 5.973 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.856e-06/0.1652, allocations: 4 kB / 0.6795 GB, free: 5.969 MB / 0.5137 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 (13): * Single equations (assignments): 13 * 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 8.237e-05/0.1653, allocations: 122.4 kB / 0.6796 GB, free: 5.84 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.91e-05/0.1653, allocations: 7.938 kB / 0.6797 GB, free: 5.832 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000182/0.1655, allocations: 105.5 kB / 0.6798 GB, free: 5.723 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-06/0.1655, allocations: 4 kB / 0.6798 GB, free: 5.719 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.1655, allocations: 0 / 0.6798 GB, free: 5.719 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.611e-06/0.1655, allocations: 3.984 kB / 0.6798 GB, free: 5.715 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003715/0.1659, allocations: 354.4 kB / 0.6801 GB, free: 5.312 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.1659, allocations: 0 / 0.6801 GB, free: 5.312 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000107/0.166, allocations: 24 kB / 0.6801 GB, free: 5.289 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.374e-06/0.166, allocations: 0 / 0.6801 GB, free: 5.289 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.023e-05/0.1661, allocations: 4 kB / 0.6801 GB, free: 5.285 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.306e-06/0.1661, allocations: 3.984 kB / 0.6801 GB, free: 5.281 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.1661, allocations: 0 / 0.6801 GB, free: 5.281 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002467/0.1663, allocations: 223.3 kB / 0.6803 GB, free: 5.047 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 6.119e-05/0.1664, allocations: 85 kB / 0.6804 GB, free: 4.945 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.679e-05/0.1664, allocations: 8.031 kB / 0.6804 GB, free: 4.938 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.83e-05/0.1665, allocations: 0 / 0.6804 GB, free: 4.938 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.849e-05/0.1665, allocations: 8.172 kB / 0.6804 GB, free: 4.93 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.608e-06/0.1665, allocations: 8 kB / 0.6804 GB, free: 4.922 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 3.471e-05/0.1666, allocations: 87.2 kB / 0.6805 GB, free: 4.836 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.51e-07/0.1666, allocations: 4.062 kB / 0.6805 GB, free: 4.832 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002718/0.1669, allocations: 43.98 kB / 0.6806 GB, free: 4.789 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (y_comp,der_y_comp) * 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 (11): * Single equations (assignments): 11 * 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.0006457/0.1675, allocations: 0.8013 MB / 0.6814 GB, free: 3.965 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0001349/0.1677, allocations: 55.23 kB / 0.6814 GB, free: 3.914 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.626e-06/0.1677, allocations: 4 kB / 0.6814 GB, free: 3.91 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 4.716e-05/0.1677, allocations: 40.53 kB / 0.6815 GB, free: 3.871 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002161/0.168, allocations: 4.812 kB / 0.6815 GB, free: 3.867 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001242/0.1692, allocations: 1.39 MB / 0.6828 GB, free: 2.398 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002324/0.1694, allocations: 0.6885 MB / 0.6835 GB, free: 1.684 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 4.696e-05/0.1695, allocations: 4 kB / 0.6835 GB, free: 1.68 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.829e-05/0.1695, allocations: 23.42 kB / 0.6835 GB, free: 1.656 MB / 0.5137 GB Notification: Performance of SimCode: time 3.3e-07/0.1696, allocations: 4 kB / 0.6835 GB, free: 1.652 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01987/0.1894, allocations: 2.498 MB / 0.686 GB, free: 15.33 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.6/7.789, allocations: 5.312 kB / 0.686 GB, free: 15.33 MB / 0.5294 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivative_2_Check_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-08 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivative_2_Check.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe 2>&1)