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.006584/0.006584, allocations: 96.52 kB / 15.73 MB, free: 6.039 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.001257/0.001257, allocations: 200.7 kB / 16.68 MB, free: 5.969 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.372/1.372, allocations: 222.9 MB / 240.4 MB, free: 4.34 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 1.002/1.002, allocations: 143.1 MB / 433.6 MB, free: 11.41 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001406/0.001406, allocations: 63.89 kB / 0.5951 GB, free: 8.867 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4504/0.4518, allocations: 82.02 MB / 0.6752 GB, free: 1.105 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check): time 0.001452/0.4533, allocations: 0.6185 MB / 0.6758 GB, free: 0.6406 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0005983/0.4539, allocations: 350.4 kB / 0.6762 GB, free: 380 kB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.485e-05/0.4539, allocations: 3.938 kB / 0.6762 GB, free: 376 kB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.17e-05/0.4539, allocations: 4 kB / 0.6762 GB, free: 372 kB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 2.925e-05/0.454, allocations: 1.125 kB / 0.6762 GB, free: 372 kB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004018/0.4544, allocations: 124.6 kB / 0.6763 GB, free: 292 kB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 5.954e-05/0.4545, allocations: 27.67 kB / 0.6763 GB, free: 276 kB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.674e-05/0.4545, allocations: 2.562 kB / 0.6763 GB, free: 276 kB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.455e-05/0.4545, allocations: 8.906 kB / 0.6763 GB, free: 272 kB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.571e-05/0.4546, allocations: 10.83 kB / 0.6763 GB, free: 264 kB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.304e-05/0.4546, allocations: 10.17 kB / 0.6763 GB, free: 256 kB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003189/0.4549, allocations: 275.5 kB / 0.6766 GB, free: 100 kB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.374e-05/0.4549, allocations: 6.219 kB / 0.6766 GB, free: 96 kB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.354e-05/0.455, allocations: 15.02 kB / 0.6766 GB, free: 84 kB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001602/0.4551, allocations: 104 kB / 0.6767 GB, free: 16 kB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.4552, allocations: 1 kB / 0.6767 GB, free: 16 kB / 0.4981 GB Notification: Performance of FrontEnd: time 1.122e-06/0.4552, allocations: 3.938 kB / 0.6767 GB, free: 12 kB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.087e-06/0.4552, allocations: 0 / 0.6767 GB, free: 12 kB / 0.4981 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.0004157/0.4556, allocations: 362.5 kB / 0.6771 GB, free: 15.62 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.504e-05/0.4556, allocations: 8.938 kB / 0.6771 GB, free: 15.62 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.115e-05/0.4557, allocations: 39.94 kB / 0.6771 GB, free: 15.58 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.628e-05/0.4557, allocations: 3.906 kB / 0.6771 GB, free: 15.58 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001074/0.4558, allocations: 170.5 kB / 0.6773 GB, free: 15.38 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.073e-05/0.4559, allocations: 1.75 kB / 0.6773 GB, free: 15.38 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.786e-05/0.4559, allocations: 3.438 kB / 0.6773 GB, free: 15.38 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001093/0.456, allocations: 52.64 kB / 0.6773 GB, free: 15.33 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.356e-05/0.456, allocations: 5.312 kB / 0.6774 GB, free: 15.32 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.216e-06/0.456, allocations: 0 / 0.6774 GB, free: 15.32 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.177e-06/0.456, allocations: 1.406 kB / 0.6774 GB, free: 15.32 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.846e-05/0.4561, allocations: 22.39 kB / 0.6774 GB, free: 15.31 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001609/0.4563, allocations: 170 kB / 0.6775 GB, free: 15.11 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 9.877e-05/0.4564, allocations: 59.64 kB / 0.6776 GB, free: 15.06 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.296e-05/0.4564, allocations: 29.7 kB / 0.6776 GB, free: 15.04 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006364/0.4571, allocations: 472.7 kB / 0.6781 GB, free: 14.54 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.909e-05/0.4571, allocations: 31.78 kB / 0.6781 GB, free: 14.5 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=7): time 1.162e-06/0.4571, allocations: 0 / 0.6781 GB, free: 14.5 MB / 0.5137 GB Notification: Performance of matching and sorting (n=11): time 0.001249/0.4584, allocations: 0.5912 MB / 0.6787 GB, free: 13.95 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.375e-05/0.4584, allocations: 53.69 kB / 0.6787 GB, free: 13.89 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.863e-05/0.4585, allocations: 97.34 kB / 0.6788 GB, free: 13.79 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.024e-05/0.4585, allocations: 30.48 kB / 0.6789 GB, free: 13.75 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 3.682e-05/0.4585, allocations: 89.12 kB / 0.6789 GB, free: 13.66 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.648e-05/0.4586, allocations: 32.48 kB / 0.679 GB, free: 13.63 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.448e-05/0.4586, allocations: 38.25 kB / 0.679 GB, free: 13.6 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 9.484e-05/0.4587, allocations: 316.2 kB / 0.6793 GB, free: 13.28 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.907e-05/0.4588, allocations: 20.42 kB / 0.6793 GB, free: 13.27 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.79e-05/0.4588, allocations: 28.17 kB / 0.6794 GB, free: 13.26 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.665e-05/0.4589, allocations: 56.48 kB / 0.6794 GB, free: 13.23 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.4589, allocations: 0 / 0.6794 GB, free: 13.23 MB / 0.5137 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001524/0.4591, allocations: 104.1 kB / 0.6795 GB, free: 13.16 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.327e-05/0.4591, allocations: 7.156 kB / 0.6795 GB, free: 13.16 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.717e-06/0.4591, allocations: 0 / 0.6795 GB, free: 13.16 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.206e-05/0.4591, allocations: 5.219 kB / 0.6795 GB, free: 13.16 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.303e-05/0.4592, allocations: 17.94 kB / 0.6795 GB, free: 13.16 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.022e-06/0.4592, allocations: 3.984 kB / 0.6795 GB, free: 13.16 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.648e-05/0.4593, allocations: 9.078 kB / 0.6795 GB, free: 13.15 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.216e-06/0.4593, allocations: 2.625 kB / 0.6796 GB, free: 13.15 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 7.358e-05/0.4594, allocations: 112.5 kB / 0.6797 GB, free: 13.03 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.901e-05/0.4594, allocations: 16.02 kB / 0.6797 GB, free: 13.02 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001862/0.4596, allocations: 102.6 kB / 0.6798 GB, free: 12.95 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-06/0.4596, allocations: 1.188 kB / 0.6798 GB, free: 12.95 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.539e-06/0.4596, allocations: 5.125 kB / 0.6798 GB, free: 12.95 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/0.4596, allocations: 3.984 kB / 0.6798 GB, free: 12.94 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003671/0.46, allocations: 353.9 kB / 0.6801 GB, free: 12.59 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.472e-06/0.46, allocations: 0 / 0.6801 GB, free: 12.59 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001027/0.4601, allocations: 16.69 kB / 0.6801 GB, free: 12.59 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.4601, allocations: 1.125 kB / 0.6801 GB, free: 12.59 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.371e-05/0.4601, allocations: 9.203 kB / 0.6801 GB, free: 12.58 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.4601, allocations: 1.031 kB / 0.6801 GB, free: 12.58 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.4602, allocations: 0 / 0.6801 GB, free: 12.58 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000241/0.4604, allocations: 226.5 kB / 0.6804 GB, free: 12.4 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 5.367e-05/0.4605, allocations: 88.61 kB / 0.6804 GB, free: 12.3 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.37e-05/0.4605, allocations: 1.062 kB / 0.6804 GB, free: 12.3 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.108e-05/0.4606, allocations: 5.188 kB / 0.6805 GB, free: 12.29 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.863e-05/0.4606, allocations: 8.047 kB / 0.6805 GB, free: 12.29 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.987e-06/0.4606, allocations: 4 kB / 0.6805 GB, free: 12.29 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 3.299e-05/0.4606, allocations: 84.58 kB / 0.6805 GB, free: 12.21 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.11e-07/0.4606, allocations: 0 / 0.6805 GB, free: 12.21 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002727/0.4609, allocations: 53.55 kB / 0.6806 GB, free: 12.19 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.000599/0.4615, allocations: 0.7895 MB / 0.6814 GB, free: 11.47 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0001466/0.4617, allocations: 62.64 kB / 0.6814 GB, free: 11.45 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.4617, allocations: 0 / 0.6814 GB, free: 11.45 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 7.187e-05/0.4618, allocations: 37.52 kB / 0.6815 GB, free: 11.43 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000226/0.462, allocations: 11.92 kB / 0.6815 GB, free: 11.43 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001361/0.4634, allocations: 1.397 MB / 0.6828 GB, free: 10.12 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002845/0.4637, allocations: 0.6852 MB / 0.6835 GB, free: 9.422 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 4.771e-05/0.4637, allocations: 5.75 kB / 0.6835 GB, free: 9.422 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.589e-05/0.4638, allocations: 26.75 kB / 0.6835 GB, free: 9.402 MB / 0.5137 GB Notification: Performance of SimCode: time 4.21e-07/0.4638, allocations: 5.531 kB / 0.6835 GB, free: 9.398 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0216/0.4854, allocations: 2.512 MB / 0.686 GB, free: 8.145 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.483/7.969, allocations: 12.14 kB / 0.686 GB, free: 8.137 MB / 0.5137 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 & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check_res.csv --start-time -1 --stop-time 1 --timeout 50 --relative-tolerance 1e-08 --interface-type ModelExchange --solver CVode --output-interval 0.0008 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivative_2_Check.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe 2>&1)