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-master/package.mo", uses=false) Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/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.00542/0.00542, allocations: 96.7 kB / 15.73 MB, free: 6.047 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.001308/0.001308, allocations: 194.8 kB / 16.67 MB, free: 5.973 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.557/1.557, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/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-master/package.mo): time 1.079/1.079, allocations: 143.3 MB / 433.8 MB, free: 11.53 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002088/0.002088, allocations: 63.89 kB / 0.5954 GB, free: 8.586 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4648/0.4669, allocations: 82.03 MB / 0.6755 GB, free: 1.035 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check): time 0.001569/0.4685, allocations: 0.6108 MB / 0.6761 GB, free: 0.5781 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0006528/0.4691, allocations: 354.8 kB / 0.6764 GB, free: 312 kB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.28e-05/0.4692, allocations: 0 / 0.6764 GB, free: 312 kB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.592e-05/0.4692, allocations: 7.875 kB / 0.6764 GB, free: 304 kB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 3.335e-05/0.4693, allocations: 0 / 0.6764 GB, free: 304 kB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005273/0.4698, allocations: 122.6 kB / 0.6765 GB, free: 228 kB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 8.202e-05/0.4699, allocations: 22.05 kB / 0.6765 GB, free: 216 kB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.652e-05/0.47, allocations: 6.562 kB / 0.6766 GB, free: 212 kB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.674e-05/0.47, allocations: 17.44 kB / 0.6766 GB, free: 200 kB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.473e-05/0.4701, allocations: 11.48 kB / 0.6766 GB, free: 192 kB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.479e-05/0.4701, allocations: 1.25 kB / 0.6766 GB, free: 192 kB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004229/0.4705, allocations: 272.2 kB / 0.6768 GB, free: 40 kB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.903e-05/0.4706, allocations: 13.33 kB / 0.6769 GB, free: 28 kB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.133e-05/0.4706, allocations: 16.23 kB / 0.6769 GB, free: 16 kB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002678/0.4709, allocations: 100.2 kB / 0.677 GB, free: 15.95 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 7.264e-06/0.4709, allocations: 0 / 0.677 GB, free: 15.95 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.815e-06/0.4709, allocations: 0 / 0.677 GB, free: 15.95 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 7.684e-06/0.4709, allocations: 1.125 kB / 0.677 GB, free: 15.95 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.0006127/0.4715, allocations: 361.3 kB / 0.6773 GB, free: 15.57 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.865e-05/0.4716, allocations: 9.625 kB / 0.6773 GB, free: 15.57 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.456e-05/0.4717, allocations: 32.22 kB / 0.6774 GB, free: 15.53 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.411e-05/0.4717, allocations: 3.5 kB / 0.6774 GB, free: 15.53 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001619/0.4719, allocations: 193.6 kB / 0.6775 GB, free: 15.3 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.577e-05/0.4719, allocations: 1.75 kB / 0.6775 GB, free: 15.3 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.623e-05/0.472, allocations: 3.719 kB / 0.6775 GB, free: 15.3 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001579/0.4721, allocations: 53.55 kB / 0.6776 GB, free: 15.25 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.124e-05/0.4722, allocations: 3.938 kB / 0.6776 GB, free: 15.25 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.302e-05/0.4722, allocations: 1.062 kB / 0.6776 GB, free: 15.25 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.216e-06/0.4722, allocations: 1.094 kB / 0.6776 GB, free: 15.25 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.008e-05/0.4723, allocations: 18.48 kB / 0.6776 GB, free: 15.24 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002344/0.4725, allocations: 165.9 kB / 0.6778 GB, free: 15.04 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001536/0.4727, allocations: 63.25 kB / 0.6778 GB, free: 14.99 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.166e-05/0.4727, allocations: 29.53 kB / 0.6779 GB, free: 14.97 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008197/0.4736, allocations: 457.3 kB / 0.6783 GB, free: 14.48 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.573e-05/0.4736, allocations: 35.53 kB / 0.6783 GB, free: 14.44 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=7): time 1.312e-06/0.4736, allocations: 0 / 0.6783 GB, free: 14.44 MB / 0.5137 GB Notification: Performance of matching and sorting (n=11): time 0.001471/0.4751, allocations: 0.599 MB / 0.6789 GB, free: 13.88 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.125e-05/0.4751, allocations: 53.62 kB / 0.679 GB, free: 13.82 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.529e-05/0.4752, allocations: 97.56 kB / 0.6791 GB, free: 13.71 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.696e-05/0.4753, allocations: 30.95 kB / 0.6791 GB, free: 13.68 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 4.257e-05/0.4753, allocations: 84.08 kB / 0.6792 GB, free: 13.59 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 4.455e-05/0.4754, allocations: 40.47 kB / 0.6792 GB, free: 13.56 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.09e-05/0.4754, allocations: 30.73 kB / 0.6792 GB, free: 13.53 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001461/0.4756, allocations: 319.9 kB / 0.6795 GB, free: 13.21 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.35e-05/0.4756, allocations: 24.23 kB / 0.6796 GB, free: 13.2 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.602e-05/0.4757, allocations: 25.19 kB / 0.6796 GB, free: 13.19 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.927e-05/0.4758, allocations: 57.31 kB / 0.6796 GB, free: 13.16 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.41e-07/0.4758, allocations: 0 / 0.6796 GB, free: 13.16 MB / 0.5137 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001652/0.4759, allocations: 99.41 kB / 0.6797 GB, free: 13.1 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.531e-05/0.476, allocations: 8.5 kB / 0.6798 GB, free: 13.09 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.491e-06/0.476, allocations: 1.094 kB / 0.6798 GB, free: 13.09 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.445e-05/0.476, allocations: 0 / 0.6798 GB, free: 13.09 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001094/0.4761, allocations: 26.83 kB / 0.6798 GB, free: 13.09 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.841e-06/0.4761, allocations: 4 kB / 0.6798 GB, free: 13.08 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.29e-05/0.4762, allocations: 1.312 kB / 0.6798 GB, free: 13.08 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.016e-05/0.4762, allocations: 6.469 kB / 0.6798 GB, free: 13.08 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 0.0001387/0.4763, allocations: 112.6 kB / 0.6799 GB, free: 12.96 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.03e-05/0.4764, allocations: 10.64 kB / 0.6799 GB, free: 12.95 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002038/0.4766, allocations: 107.8 kB / 0.68 GB, free: 12.88 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/0.4766, allocations: 1.25 kB / 0.68 GB, free: 12.88 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.581e-06/0.4766, allocations: 1 kB / 0.68 GB, free: 12.88 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.481e-06/0.4766, allocations: 3.984 kB / 0.68 GB, free: 12.88 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005391/0.4771, allocations: 356.8 kB / 0.6804 GB, free: 12.52 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.4772, allocations: 1.594 kB / 0.6804 GB, free: 12.52 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001521/0.4773, allocations: 24.77 kB / 0.6804 GB, free: 12.51 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.4773, allocations: 0 / 0.6804 GB, free: 12.51 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.09e-05/0.4773, allocations: 1.469 kB / 0.6804 GB, free: 12.51 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.146e-06/0.4774, allocations: 1.469 kB / 0.6804 GB, free: 12.51 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.4774, allocations: 0 / 0.6804 GB, free: 12.51 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000366/0.4777, allocations: 226.5 kB / 0.6806 GB, free: 12.33 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 8.144e-05/0.4778, allocations: 91.39 kB / 0.6807 GB, free: 12.22 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.891e-05/0.4779, allocations: 1.094 kB / 0.6807 GB, free: 12.22 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001199/0.478, allocations: 6.531 kB / 0.6807 GB, free: 12.22 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.363e-05/0.478, allocations: 3.188 kB / 0.6807 GB, free: 12.22 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.513e-05/0.478, allocations: 11.17 kB / 0.6807 GB, free: 12.21 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 5.093e-05/0.4781, allocations: 77.28 kB / 0.6808 GB, free: 12.14 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.71e-07/0.4781, allocations: 1.156 kB / 0.6808 GB, free: 12.14 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0004149/0.4785, allocations: 44.25 kB / 0.6808 GB, free: 12.12 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.000774/0.4793, allocations: 0.7928 MB / 0.6816 GB, free: 11.41 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0001693/0.4795, allocations: 67.09 kB / 0.6817 GB, free: 11.38 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.4795, allocations: 0 / 0.6817 GB, free: 11.38 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 5.705e-05/0.4796, allocations: 38.11 kB / 0.6817 GB, free: 11.36 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002272/0.4798, allocations: 13.77 kB / 0.6817 GB, free: 11.36 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001484/0.4813, allocations: 1.401 MB / 0.6831 GB, free: 10.05 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003231/0.4816, allocations: 0.6853 MB / 0.6838 GB, free: 9.348 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 5.213e-05/0.4817, allocations: 10.64 kB / 0.6838 GB, free: 9.344 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.556e-05/0.4817, allocations: 16 kB / 0.6838 GB, free: 9.332 MB / 0.5137 GB Notification: Performance of SimCode: time 2.4e-07/0.4818, allocations: 0 / 0.6838 GB, free: 9.332 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02874/0.5105, allocations: 2.517 MB / 0.6862 GB, free: 8.078 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.842/8.352, allocations: 8.719 kB / 0.6862 GB, free: 8.078 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)