Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.RegNonZeroPower.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.Examples.RegNonZeroPower,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_RegNonZeroPower",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Examples.RegNonZeroPower,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_RegNonZeroPower",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.005476/0.005476, allocations: 98.48 kB / 15.73 MB, free: 6.004 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: 193.3 kB / 16.67 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.372/1.372, allocations: 222.9 MB / 240.4 MB, free: 4.309 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.101/1.101, allocations: 143 MB / 433.6 MB, free: 11.43 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001262/0.001262, allocations: 67.89 kB / 0.5951 GB, free: 8.844 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4637/0.4649, allocations: 82.02 MB / 0.6752 GB, free: 1.18 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.RegNonZeroPower): time 0.002038/0.467, allocations: 1.443 MB / 0.6766 GB, free: 44 kB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0006706/0.4677, allocations: 385.2 kB / 0.6769 GB, free: 15.75 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.03e-05/0.4677, allocations: 3.938 kB / 0.6769 GB, free: 15.74 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 2.501e-05/0.4678, allocations: 0 / 0.6769 GB, free: 15.74 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 3.846e-05/0.4678, allocations: 5.125 kB / 0.6769 GB, free: 15.74 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004126/0.4682, allocations: 116 kB / 0.6771 GB, free: 15.67 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 6.552e-05/0.4683, allocations: 26.39 kB / 0.6771 GB, free: 15.65 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 8.684e-05/0.4684, allocations: 10.7 kB / 0.6771 GB, free: 15.64 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 4.258e-05/0.4685, allocations: 11.36 kB / 0.6771 GB, free: 15.64 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 3.705e-05/0.4685, allocations: 11.72 kB / 0.6771 GB, free: 15.63 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.311e-05/0.4685, allocations: 1.969 kB / 0.6771 GB, free: 15.63 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003787/0.4689, allocations: 281 kB / 0.6774 GB, free: 15.47 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 1.332e-05/0.4689, allocations: 4.969 kB / 0.6774 GB, free: 15.47 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 2.42e-05/0.469, allocations: 10.19 kB / 0.6774 GB, free: 15.46 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0001908/0.4691, allocations: 113.3 kB / 0.6775 GB, free: 15.39 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.4692, allocations: 0 / 0.6775 GB, free: 15.39 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.946e-06/0.4692, allocations: 0 / 0.6775 GB, free: 15.39 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 4.659e-06/0.4692, allocations: 7.938 kB / 0.6775 GB, free: 15.38 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004457/0.4696, allocations: 363.8 kB / 0.6779 GB, free: 14.99 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.84e-05/0.4697, allocations: 8.75 kB / 0.6779 GB, free: 14.99 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.678e-05/0.4697, allocations: 35.94 kB / 0.6779 GB, free: 14.95 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.794e-05/0.4698, allocations: 10.89 kB / 0.6779 GB, free: 14.94 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001167/0.4699, allocations: 166.6 kB / 0.6781 GB, free: 14.74 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.907e-06/0.4699, allocations: 384 / 0.6781 GB, free: 14.74 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.206e-06/0.4699, allocations: 1.688 kB / 0.6781 GB, free: 14.74 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000168/0.4701, allocations: 57.66 kB / 0.6781 GB, free: 14.69 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.466e-06/0.4701, allocations: 5.156 kB / 0.6781 GB, free: 14.69 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.474e-06/0.4701, allocations: 0 / 0.6781 GB, free: 14.69 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.737e-06/0.4701, allocations: 0 / 0.6781 GB, free: 14.69 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001626/0.4703, allocations: 39.58 kB / 0.6782 GB, free: 14.67 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002956/0.4706, allocations: 250 kB / 0.6784 GB, free: 14.38 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001249/0.4708, allocations: 43.81 kB / 0.6785 GB, free: 14.34 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.504e-05/0.4708, allocations: 19.53 kB / 0.6785 GB, free: 14.33 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006576/0.4715, allocations: 463.6 kB / 0.6789 GB, free: 13.83 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.296e-05/0.4715, allocations: 31.59 kB / 0.6789 GB, free: 13.79 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=2): time 1.282e-06/0.4716, allocations: 0 / 0.6789 GB, free: 13.79 MB / 0.5137 GB Notification: Performance of matching and sorting (n=2): time 0.0003691/0.4719, allocations: 90.94 kB / 0.679 GB, free: 13.73 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.274e-05/0.472, allocations: 55.53 kB / 0.6791 GB, free: 13.66 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.596e-05/0.472, allocations: 105 kB / 0.6792 GB, free: 13.56 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.285e-05/0.4721, allocations: 26.73 kB / 0.6792 GB, free: 13.53 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 4.008e-05/0.4721, allocations: 85.39 kB / 0.6793 GB, free: 13.44 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 1.682e-05/0.4721, allocations: 5.016 kB / 0.6793 GB, free: 13.44 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.836e-05/0.4722, allocations: 12.16 kB / 0.6793 GB, free: 13.42 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001182/0.4723, allocations: 324 kB / 0.6796 GB, free: 13.1 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.223e-05/0.4724, allocations: 17.2 kB / 0.6796 GB, free: 13.09 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.457e-05/0.4725, allocations: 21.42 kB / 0.6797 GB, free: 13.08 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001522/0.4726, allocations: 40 kB / 0.6797 GB, free: 13.05 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.008e-06/0.4726, allocations: 9.062 kB / 0.6797 GB, free: 13.05 MB / 0.5137 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002022/0.4728, allocations: 60.92 kB / 0.6798 GB, free: 13 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.259e-05/0.4729, allocations: 9.438 kB / 0.6798 GB, free: 13 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.4729, allocations: 1.031 kB / 0.6798 GB, free: 13 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.045e-05/0.4729, allocations: 0 / 0.6798 GB, free: 13 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.003e-05/0.473, allocations: 10.23 kB / 0.6798 GB, free: 13 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.948e-06/0.473, allocations: 0 / 0.6798 GB, free: 13 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.757e-05/0.473, allocations: 8.516 kB / 0.6798 GB, free: 12.99 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.859e-06/0.4731, allocations: 0 / 0.6798 GB, free: 12.99 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 (2): * Single equations (assignments): 2 * 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.312e-05/0.4731, allocations: 116.2 kB / 0.6799 GB, free: 12.87 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.899e-05/0.4732, allocations: 10.33 kB / 0.6799 GB, free: 12.86 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002249/0.4734, allocations: 76 kB / 0.68 GB, free: 12.8 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.983e-06/0.4734, allocations: 0 / 0.68 GB, free: 12.8 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.4734, allocations: 1.438 kB / 0.68 GB, free: 12.8 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.02e-06/0.4734, allocations: 3.984 kB / 0.68 GB, free: 12.8 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001512/0.4736, allocations: 158.9 kB / 0.6801 GB, free: 12.6 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.4736, allocations: 0 / 0.6801 GB, free: 12.6 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.892e-05/0.4737, allocations: 14.23 kB / 0.6802 GB, free: 12.59 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.305e-06/0.4737, allocations: 5.156 kB / 0.6802 GB, free: 12.59 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.901e-06/0.4737, allocations: 0 / 0.6802 GB, free: 12.59 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.4737, allocations: 1.125 kB / 0.6802 GB, free: 12.59 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.4737, allocations: 0 / 0.6802 GB, free: 12.59 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002614/0.474, allocations: 168.8 kB / 0.6803 GB, free: 12.43 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 3.928e-05/0.474, allocations: 77.11 kB / 0.6804 GB, free: 12.34 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.156e-05/0.474, allocations: 5.031 kB / 0.6804 GB, free: 12.34 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.73e-05/0.4741, allocations: 7.703 kB / 0.6804 GB, free: 12.33 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.767e-05/0.4742, allocations: 1.25 kB / 0.6804 GB, free: 12.33 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.026e-06/0.4742, allocations: 1.156 kB / 0.6804 GB, free: 12.33 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 3.909e-05/0.4742, allocations: 88.17 kB / 0.6805 GB, free: 12.25 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.5e-07/0.4742, allocations: 0 / 0.6805 GB, free: 12.25 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002388/0.4745, allocations: 20.23 kB / 0.6805 GB, free: 12.24 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (2): * Single equations (assignments): 2 * 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.0005721/0.475, allocations: 0.7153 MB / 0.6812 GB, free: 11.55 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0002131/0.4753, allocations: 49.48 kB / 0.6813 GB, free: 11.52 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.4753, allocations: 0 / 0.6813 GB, free: 11.52 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 8.552e-05/0.4754, allocations: 20.05 kB / 0.6813 GB, free: 11.52 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002826/0.4756, allocations: 13.5 kB / 0.6813 GB, free: 11.51 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003926/0.476, allocations: 139.3 kB / 0.6814 GB, free: 11.35 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002251/0.4763, allocations: 0.6786 MB / 0.6821 GB, free: 10.65 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 2.295e-05/0.4763, allocations: 0.9688 kB / 0.6821 GB, free: 10.65 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.98e-05/0.4763, allocations: 12.44 kB / 0.6821 GB, free: 10.64 MB / 0.5137 GB Notification: Performance of SimCode: time 2.81e-07/0.4764, allocations: 4.062 kB / 0.6821 GB, free: 10.64 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0164/0.4928, allocations: 1.615 MB / 0.6837 GB, free: 9.754 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.718/8.21, allocations: 1.719 kB / 0.6837 GB, free: 9.754 MB / 0.5137 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.RegNonZeroPower.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.RegNonZeroPower.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.RegNonZeroPower.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.RegNonZeroPower.sim & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.RegNonZeroPower_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_RegNonZeroPower.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.RegNonZeroPower.pipe 2>&1)