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.008352/0.008352, allocations: 97.62 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.00159/0.00159, allocations: 201.5 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.395/1.395, 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.032/1.032, allocations: 143 MB / 433.6 MB, free: 11.51 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001329/0.001329, allocations: 79.88 kB / 0.5951 GB, free: 8.785 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4108/0.4122, allocations: 82.02 MB / 0.6752 GB, free: 1.121 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck): time 0.001577/0.4138, allocations: 0.5793 MB / 0.6758 GB, free: 0.6875 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.000599/0.4144, allocations: 345.7 kB / 0.6761 GB, free: 432 kB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.894e-05/0.4145, allocations: 3.938 kB / 0.6761 GB, free: 428 kB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.672e-05/0.4145, allocations: 1.438 kB / 0.6761 GB, free: 428 kB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 1.88e-05/0.4145, allocations: 0 / 0.6761 GB, free: 428 kB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004261/0.4149, allocations: 120.3 kB / 0.6762 GB, free: 352 kB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 5.181e-05/0.415, allocations: 12.98 kB / 0.6762 GB, free: 344 kB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.585e-05/0.4151, allocations: 13.02 kB / 0.6763 GB, free: 332 kB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.827e-05/0.4151, allocations: 2.594 kB / 0.6763 GB, free: 332 kB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.017e-05/0.4151, allocations: 5.5 kB / 0.6763 GB, free: 328 kB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.32e-05/0.4152, allocations: 1.312 kB / 0.6763 GB, free: 328 kB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003285/0.4155, allocations: 271.3 kB / 0.6765 GB, free: 176 kB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.079e-05/0.4155, allocations: 4 kB / 0.6765 GB, free: 172 kB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 1.858e-05/0.4155, allocations: 6.062 kB / 0.6765 GB, free: 168 kB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001763/0.4157, allocations: 98.23 kB / 0.6766 GB, free: 104 kB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.4157, allocations: 0 / 0.6766 GB, free: 104 kB / 0.4981 GB Notification: Performance of FrontEnd: time 1.773e-06/0.4157, allocations: 0 / 0.6766 GB, free: 104 kB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.121e-06/0.4157, allocations: 1.062 kB / 0.6766 GB, free: 104 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0004167/0.4162, allocations: 346.2 kB / 0.677 GB, free: 15.72 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.239e-05/0.4162, allocations: 10.09 kB / 0.677 GB, free: 15.72 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.57e-05/0.4163, allocations: 30.75 kB / 0.677 GB, free: 15.68 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.271e-05/0.4163, allocations: 6.312 kB / 0.677 GB, free: 15.68 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001201/0.4164, allocations: 169.6 kB / 0.6772 GB, free: 15.48 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.243e-05/0.4165, allocations: 5.344 kB / 0.6772 GB, free: 15.47 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.394e-05/0.4165, allocations: 1.531 kB / 0.6772 GB, free: 15.47 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.939e-05/0.4166, allocations: 34.67 kB / 0.6772 GB, free: 15.44 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.416e-06/0.4166, allocations: 3.938 kB / 0.6772 GB, free: 15.43 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.307e-06/0.4166, allocations: 1.094 kB / 0.6772 GB, free: 15.43 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.538e-06/0.4166, allocations: 0 / 0.6772 GB, free: 15.43 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.591e-05/0.4167, allocations: 10.16 kB / 0.6772 GB, free: 15.43 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001763/0.4168, allocations: 149.3 kB / 0.6774 GB, free: 15.23 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 6.388e-05/0.4169, allocations: 31.69 kB / 0.6774 GB, free: 15.2 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.107e-05/0.4169, allocations: 6.266 kB / 0.6774 GB, free: 15.19 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007299/0.4177, allocations: 460.8 kB / 0.6778 GB, free: 14.7 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.562e-05/0.4177, allocations: 35.8 kB / 0.6779 GB, free: 14.65 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=2): time 1.132e-06/0.4177, allocations: 0 / 0.6779 GB, free: 14.65 MB / 0.5137 GB Notification: Performance of matching and sorting (n=3): time 0.0005026/0.4182, allocations: 251.9 kB / 0.6781 GB, free: 14.38 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.158e-05/0.4183, allocations: 55.41 kB / 0.6782 GB, free: 14.32 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.263e-05/0.4184, allocations: 96.8 kB / 0.6783 GB, free: 14.21 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.483e-05/0.4184, allocations: 27.02 kB / 0.6783 GB, free: 14.18 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 3.258e-05/0.4184, allocations: 80.14 kB / 0.6784 GB, free: 14.1 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.006e-05/0.4184, allocations: 16.31 kB / 0.6784 GB, free: 14.09 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.273e-05/0.4185, allocations: 16.98 kB / 0.6784 GB, free: 14.07 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.00011/0.4186, allocations: 316.1 kB / 0.6787 GB, free: 13.75 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.789e-05/0.4186, allocations: 7.281 kB / 0.6787 GB, free: 13.75 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.9e-05/0.4187, allocations: 18.23 kB / 0.6787 GB, free: 13.73 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.214e-05/0.4187, allocations: 35.12 kB / 0.6787 GB, free: 13.7 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.41e-07/0.4187, allocations: 0.9688 kB / 0.6787 GB, free: 13.7 MB / 0.5137 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001056/0.4188, allocations: 57.12 kB / 0.6788 GB, free: 13.65 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.023e-05/0.4189, allocations: 15.77 kB / 0.6788 GB, free: 13.64 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.129e-06/0.4189, allocations: 1.219 kB / 0.6788 GB, free: 13.64 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.388e-05/0.4189, allocations: 0 / 0.6788 GB, free: 13.64 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.302e-05/0.419, allocations: 7.031 kB / 0.6788 GB, free: 13.64 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.179e-06/0.419, allocations: 4.062 kB / 0.6788 GB, free: 13.64 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.136e-05/0.419, allocations: 1 kB / 0.6788 GB, free: 13.64 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.815e-06/0.419, allocations: 5.125 kB / 0.6788 GB, free: 13.64 MB / 0.5137 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.884e-05/0.4191, allocations: 108.4 kB / 0.6789 GB, free: 13.52 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.792e-05/0.4191, allocations: 9.156 kB / 0.6789 GB, free: 13.52 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001311/0.4193, allocations: 57.73 kB / 0.679 GB, free: 13.46 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.4193, allocations: 0 / 0.679 GB, free: 13.46 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.4193, allocations: 5.156 kB / 0.679 GB, free: 13.46 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.4193, allocations: 0 / 0.679 GB, free: 13.46 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001065/0.4194, allocations: 157.1 kB / 0.6792 GB, free: 13.26 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.4194, allocations: 1.125 kB / 0.6792 GB, free: 13.26 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.342e-05/0.4195, allocations: 4.438 kB / 0.6792 GB, free: 13.26 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.532e-06/0.4195, allocations: 3.938 kB / 0.6792 GB, free: 13.26 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.632e-06/0.4195, allocations: 1.156 kB / 0.6792 GB, free: 13.26 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.997e-06/0.4195, allocations: 5.172 kB / 0.6792 GB, free: 13.25 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.4195, allocations: 0 / 0.6792 GB, free: 13.25 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001515/0.4197, allocations: 82.58 kB / 0.6793 GB, free: 13.17 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 3.875e-05/0.4197, allocations: 84.98 kB / 0.6793 GB, free: 13.07 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.336e-05/0.4197, allocations: 1.156 kB / 0.6793 GB, free: 13.07 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.768e-05/0.4198, allocations: 1.156 kB / 0.6793 GB, free: 13.07 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.674e-05/0.4198, allocations: 1.453 kB / 0.6793 GB, free: 13.07 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.609e-06/0.4198, allocations: 1.219 kB / 0.6793 GB, free: 13.07 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 3.096e-05/0.4198, allocations: 81.45 kB / 0.6794 GB, free: 12.99 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.6e-07/0.4199, allocations: 0 / 0.6794 GB, free: 12.99 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002257/0.4201, allocations: 27.53 kB / 0.6794 GB, free: 12.98 MB / 0.5137 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.0005191/0.4206, allocations: 0.6455 MB / 0.6801 GB, free: 12.36 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 9.916e-05/0.4207, allocations: 26.48 kB / 0.6801 GB, free: 12.34 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.4207, allocations: 0 / 0.6801 GB, free: 12.34 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 1.698e-05/0.4208, allocations: 6.062 kB / 0.6801 GB, free: 12.34 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000148/0.4209, allocations: 6.688 kB / 0.6801 GB, free: 12.34 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009356/0.4219, allocations: 1.128 MB / 0.6812 GB, free: 11.19 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002214/0.4221, allocations: 0.6772 MB / 0.6819 GB, free: 10.49 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 3.508e-05/0.4221, allocations: 3.594 kB / 0.6819 GB, free: 10.49 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.943e-05/0.4222, allocations: 12.59 kB / 0.6819 GB, free: 10.48 MB / 0.5137 GB Notification: Performance of SimCode: time 3.41e-07/0.4222, allocations: 5.188 kB / 0.6819 GB, free: 10.48 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02064/0.4428, allocations: 1.77 MB / 0.6836 GB, free: 9.547 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.605/8.048, allocations: 13.28 kB / 0.6836 GB, free: 9.543 MB / 0.5137 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 & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck_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_RegNonZeroPowerDerivativeCheck.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe 2>&1)