Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.VectorFunctions.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.VectorFunctions,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_VectorFunctions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Examples.VectorFunctions,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_VectorFunctions",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.00909/0.00909, allocations: 96.34 kB / 15.73 MB, free: 6.055 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.002415/0.002415, allocations: 202.8 kB / 16.68 MB, free: 5.977 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.412/1.412, allocations: 222.9 MB / 240.4 MB, free: 4.305 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 0.9947/0.9947, allocations: 143 MB / 433.6 MB, free: 11.5 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001413/0.001414, allocations: 67.89 kB / 0.5951 GB, free: 8.891 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4624/0.4638, allocations: 82.03 MB / 0.6752 GB, free: 1.316 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.VectorFunctions): time 0.002468/0.4663, allocations: 1.587 MB / 0.6767 GB, free: 72 kB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001018/0.4673, allocations: 0.5087 MB / 0.6772 GB, free: 15.66 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.02e-05/0.4674, allocations: 5.375 kB / 0.6772 GB, free: 15.66 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0001231/0.4676, allocations: 7.875 kB / 0.6772 GB, free: 15.65 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 3.63e-05/0.4676, allocations: 10.44 kB / 0.6772 GB, free: 15.64 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002815/0.4679, allocations: 47.34 kB / 0.6773 GB, free: 15.61 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0001377/0.468, allocations: 81.11 kB / 0.6774 GB, free: 15.56 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001678/0.4682, allocations: 43.69 kB / 0.6774 GB, free: 15.53 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 9.343e-05/0.4683, allocations: 39.25 kB / 0.6774 GB, free: 15.51 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 8.637e-05/0.4684, allocations: 39.11 kB / 0.6775 GB, free: 15.48 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 2.222e-05/0.4684, allocations: 6.688 kB / 0.6775 GB, free: 15.48 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 6.798e-05/0.4685, allocations: 21.25 kB / 0.6775 GB, free: 15.47 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 4.646e-05/0.4686, allocations: 25.88 kB / 0.6775 GB, free: 15.45 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 5.301e-05/0.4686, allocations: 40.95 kB / 0.6776 GB, free: 15.42 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0001678/0.4688, allocations: 91.92 kB / 0.6777 GB, free: 15.35 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.4688, allocations: 0 / 0.6777 GB, free: 15.35 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.432e-06/0.4688, allocations: 1.156 kB / 0.6777 GB, free: 15.35 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.3e-06/0.4688, allocations: 0 / 0.6777 GB, free: 15.35 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0006027/0.4694, allocations: 400.6 kB / 0.678 GB, free: 14.95 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.718e-05/0.4695, allocations: 12.72 kB / 0.6781 GB, free: 14.94 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.265e-05/0.4695, allocations: 37.97 kB / 0.6781 GB, free: 14.9 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.838e-05/0.4696, allocations: 13.19 kB / 0.6781 GB, free: 14.89 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001826/0.4698, allocations: 191.1 kB / 0.6783 GB, free: 14.68 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.216e-05/0.4698, allocations: 6.844 kB / 0.6783 GB, free: 14.67 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.796e-05/0.4698, allocations: 12.56 kB / 0.6783 GB, free: 14.66 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002665/0.4701, allocations: 109 kB / 0.6784 GB, free: 14.59 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.869e-06/0.4701, allocations: 5.125 kB / 0.6784 GB, free: 14.59 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.268e-05/0.4701, allocations: 4 kB / 0.6784 GB, free: 14.59 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.08e-06/0.4701, allocations: 6.531 kB / 0.6784 GB, free: 14.58 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002316/0.4704, allocations: 94.55 kB / 0.6785 GB, free: 14.55 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005808/0.4709, allocations: 383.5 kB / 0.6789 GB, free: 14.19 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001516/0.4711, allocations: 59.05 kB / 0.6789 GB, free: 14.14 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001196/0.4712, allocations: 49.83 kB / 0.679 GB, free: 14.12 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 3.237e-05/0.4713, allocations: 2.531 kB / 0.679 GB, free: 14.12 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.198e-05/0.4713, allocations: 35.94 kB / 0.679 GB, free: 14.07 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=6): time 1.252e-06/0.4713, allocations: 3.938 kB / 0.679 GB, free: 14.07 MB / 0.5137 GB Notification: Performance of matching and sorting (n=6): time 0.000453/0.4718, allocations: 171.6 kB / 0.6792 GB, free: 13.97 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.932e-05/0.4718, allocations: 56.44 kB / 0.6792 GB, free: 13.91 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.434e-05/0.4719, allocations: 129.5 kB / 0.6794 GB, free: 13.79 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.419e-05/0.4719, allocations: 25.7 kB / 0.6794 GB, free: 13.76 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 5.579e-05/0.472, allocations: 108.7 kB / 0.6795 GB, free: 13.66 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.674e-05/0.472, allocations: 18.48 kB / 0.6795 GB, free: 13.64 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.227e-05/0.4721, allocations: 23.67 kB / 0.6795 GB, free: 13.62 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001063/0.4722, allocations: 321.2 kB / 0.6798 GB, free: 13.3 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001173/0.4723, allocations: 38.22 kB / 0.6799 GB, free: 13.28 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001104/0.4724, allocations: 42.62 kB / 0.6799 GB, free: 13.26 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002268/0.4727, allocations: 87.91 kB / 0.68 GB, free: 13.22 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.4727, allocations: 1.156 kB / 0.68 GB, free: 13.22 MB / 0.5137 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002781/0.473, allocations: 129.8 kB / 0.6801 GB, free: 13.14 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.507e-05/0.473, allocations: 4.156 kB / 0.6801 GB, free: 13.14 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.473, allocations: 1.281 kB / 0.6801 GB, free: 13.14 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.563e-05/0.473, allocations: 3.938 kB / 0.6801 GB, free: 13.14 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00014/0.4732, allocations: 17.11 kB / 0.6801 GB, free: 13.13 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.622e-06/0.4732, allocations: 3.938 kB / 0.6801 GB, free: 13.13 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.442e-05/0.4733, allocations: 13.72 kB / 0.6802 GB, free: 13.12 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.116e-05/0.4733, allocations: 2.094 kB / 0.6802 GB, free: 13.12 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 (6): * Single equations (assignments): 6 * 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.8e-05/0.4734, allocations: 127.4 kB / 0.6803 GB, free: 12.99 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.354e-05/0.4734, allocations: 8.641 kB / 0.6803 GB, free: 12.99 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003591/0.4738, allocations: 144.6 kB / 0.6804 GB, free: 12.9 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.689e-06/0.4738, allocations: 5.5 kB / 0.6804 GB, free: 12.89 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/0.4738, allocations: 0 / 0.6804 GB, free: 12.89 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.4738, allocations: 64 / 0.6804 GB, free: 12.89 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002197/0.474, allocations: 214.4 kB / 0.6806 GB, free: 12.66 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-06/0.4741, allocations: 0 / 0.6806 GB, free: 12.66 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001067/0.4742, allocations: 21.05 kB / 0.6807 GB, free: 12.65 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.4742, allocations: 0 / 0.6807 GB, free: 12.65 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.318e-05/0.4742, allocations: 5.469 kB / 0.6807 GB, free: 12.65 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.348e-06/0.4742, allocations: 3.938 kB / 0.6807 GB, free: 12.64 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.225e-06/0.4742, allocations: 9.391 kB / 0.6807 GB, free: 12.64 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003207/0.4745, allocations: 216.5 kB / 0.6809 GB, free: 12.46 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 4.32e-05/0.4746, allocations: 91.02 kB / 0.681 GB, free: 12.36 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.023e-05/0.4746, allocations: 0.9688 kB / 0.681 GB, free: 12.36 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000118/0.4747, allocations: 12.88 kB / 0.681 GB, free: 12.35 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.072e-05/0.4748, allocations: 7.266 kB / 0.681 GB, free: 12.35 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.099e-05/0.4748, allocations: 2.75 kB / 0.681 GB, free: 12.35 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 6.682e-05/0.4749, allocations: 106 kB / 0.6811 GB, free: 12.26 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1e-07/0.4749, allocations: 0 / 0.6811 GB, free: 12.26 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002427/0.4751, allocations: 17.52 kB / 0.6811 GB, free: 12.25 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 (6): * Single equations (assignments): 6 * 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.0006923/0.4758, allocations: 0.7619 MB / 0.6819 GB, free: 11.55 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0002934/0.4761, allocations: 98.03 kB / 0.682 GB, free: 11.51 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.754e-06/0.4762, allocations: 4 kB / 0.682 GB, free: 11.51 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.000132/0.4763, allocations: 56.64 kB / 0.682 GB, free: 11.48 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002248/0.4765, allocations: 10.75 kB / 0.682 GB, free: 11.48 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001806/0.4783, allocations: 1.597 MB / 0.6836 GB, free: 10.09 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002564/0.4786, allocations: 0.7038 MB / 0.6843 GB, free: 9.379 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0001344/0.4788, allocations: 11.7 kB / 0.6843 GB, free: 9.375 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.359e-05/0.4788, allocations: 30.64 kB / 0.6843 GB, free: 9.348 MB / 0.5137 GB Notification: Performance of SimCode: time 3.61e-07/0.4788, allocations: 0 / 0.6843 GB, free: 9.348 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0174/0.4962, allocations: 2.018 MB / 0.6863 GB, free: 8.273 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.729/8.226, allocations: 4.734 kB / 0.6863 GB, free: 8.273 MB / 0.5137 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.VectorFunctions.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.VectorFunctions.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.VectorFunctions.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.VectorFunctions.sim & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.VectorFunctions_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_VectorFunctions.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.VectorFunctions.pipe 2>&1)