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-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.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.004847/0.004847, allocations: 102 kB / 15.73 MB, free: 6.441 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.001301/0.001301, allocations: 196.1 kB / 16.67 MB, free: 6.352 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.561/1.561, allocations: 222.9 MB / 240.4 MB, free: 4.277 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.1/1.1, allocations: 143.3 MB / 433.8 MB, free: 11.53 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001896/0.001896, allocations: 67.89 kB / 0.5953 GB, free: 8.598 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.459/0.4609, allocations: 82.02 MB / 0.6754 GB, free: 0.9609 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.VectorFunctions): time 0.002793/0.4638, allocations: 1.596 MB / 0.677 GB, free: 15.71 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001089/0.4649, allocations: 0.4971 MB / 0.6775 GB, free: 15.32 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.193e-05/0.4649, allocations: 1.219 kB / 0.6775 GB, free: 15.32 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0001224/0.4651, allocations: 13.16 kB / 0.6775 GB, free: 15.3 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 4.485e-05/0.4651, allocations: 20.94 kB / 0.6775 GB, free: 15.29 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002739/0.4654, allocations: 36.47 kB / 0.6775 GB, free: 15.26 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0001559/0.4656, allocations: 81.2 kB / 0.6776 GB, free: 15.21 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001957/0.4658, allocations: 49.41 kB / 0.6777 GB, free: 15.18 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001073/0.4659, allocations: 41.84 kB / 0.6777 GB, free: 15.15 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 9.852e-05/0.466, allocations: 36.34 kB / 0.6777 GB, free: 15.12 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 2.428e-05/0.466, allocations: 6.75 kB / 0.6777 GB, free: 15.12 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 7.53e-05/0.4661, allocations: 12.84 kB / 0.6778 GB, free: 15.12 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 5.175e-05/0.4662, allocations: 25.84 kB / 0.6778 GB, free: 15.1 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 6.099e-05/0.4663, allocations: 44.8 kB / 0.6778 GB, free: 15.07 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0001878/0.4664, allocations: 93.09 kB / 0.6779 GB, free: 15 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.4665, allocations: 0 / 0.6779 GB, free: 15 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.893e-06/0.4665, allocations: 1.031 kB / 0.6779 GB, free: 15 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 6.362e-06/0.4665, allocations: 0 / 0.6779 GB, free: 15 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.0006048/0.4671, allocations: 400.4 kB / 0.6783 GB, free: 14.6 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.652e-05/0.4671, allocations: 9.875 kB / 0.6783 GB, free: 14.6 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.074e-05/0.4672, allocations: 40.86 kB / 0.6783 GB, free: 14.55 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.409e-05/0.4672, allocations: 14.36 kB / 0.6784 GB, free: 14.54 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001917/0.4674, allocations: 198.3 kB / 0.6785 GB, free: 14.32 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.419e-05/0.4675, allocations: 2.469 kB / 0.6785 GB, free: 14.32 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.867e-05/0.4675, allocations: 13 kB / 0.6786 GB, free: 14.31 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002726/0.4678, allocations: 102.9 kB / 0.6787 GB, free: 14.25 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.053e-05/0.4678, allocations: 0 / 0.6787 GB, free: 14.25 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.591e-05/0.4678, allocations: 5.344 kB / 0.6787 GB, free: 14.24 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.319e-06/0.4678, allocations: 1.375 kB / 0.6787 GB, free: 14.24 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002718/0.4681, allocations: 102.8 kB / 0.6788 GB, free: 14.2 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006254/0.4687, allocations: 375.4 kB / 0.6791 GB, free: 13.85 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001698/0.4689, allocations: 59.55 kB / 0.6792 GB, free: 13.8 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000138/0.469, allocations: 53.36 kB / 0.6792 GB, free: 13.77 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 4.456e-05/0.4691, allocations: 6.172 kB / 0.6792 GB, free: 13.77 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.729e-05/0.4691, allocations: 36.69 kB / 0.6793 GB, free: 13.73 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=6): time 1.372e-06/0.4691, allocations: 0 / 0.6793 GB, free: 13.73 MB / 0.5137 GB Notification: Performance of matching and sorting (n=6): time 0.0005398/0.4697, allocations: 167.6 kB / 0.6794 GB, free: 13.63 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.973e-05/0.4698, allocations: 56.84 kB / 0.6795 GB, free: 13.57 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001318/0.4699, allocations: 132.8 kB / 0.6796 GB, free: 13.45 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.334e-05/0.4699, allocations: 25.7 kB / 0.6796 GB, free: 13.42 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 9.256e-05/0.47, allocations: 108.8 kB / 0.6797 GB, free: 13.31 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.832e-05/0.4701, allocations: 23.03 kB / 0.6798 GB, free: 13.29 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.005e-05/0.4701, allocations: 18.47 kB / 0.6798 GB, free: 13.27 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001591/0.4703, allocations: 316.8 kB / 0.6801 GB, free: 12.96 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001272/0.4704, allocations: 38.31 kB / 0.6801 GB, free: 12.94 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001145/0.4706, allocations: 46.84 kB / 0.6802 GB, free: 12.92 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002442/0.4708, allocations: 89.7 kB / 0.6802 GB, free: 12.88 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.023e-06/0.4708, allocations: 0 / 0.6802 GB, free: 12.88 MB / 0.5137 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003007/0.4711, allocations: 124.7 kB / 0.6804 GB, free: 12.8 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.814e-05/0.4712, allocations: 10.06 kB / 0.6804 GB, free: 12.8 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.578e-06/0.4712, allocations: 4 kB / 0.6804 GB, free: 12.79 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.587e-05/0.4712, allocations: 4.844 kB / 0.6804 GB, free: 12.79 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001402/0.4713, allocations: 21.22 kB / 0.6804 GB, free: 12.78 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.2e-06/0.4714, allocations: 0 / 0.6804 GB, free: 12.78 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.176e-05/0.4714, allocations: 9.578 kB / 0.6804 GB, free: 12.78 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.601e-05/0.4715, allocations: 6.172 kB / 0.6804 GB, free: 12.77 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 9.347e-05/0.4716, allocations: 115.9 kB / 0.6805 GB, free: 12.66 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.058e-05/0.4716, allocations: 6.953 kB / 0.6805 GB, free: 12.65 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003821/0.472, allocations: 156.8 kB / 0.6807 GB, free: 12.55 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.365e-05/0.472, allocations: 5.031 kB / 0.6807 GB, free: 12.54 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.439e-06/0.472, allocations: 4.438 kB / 0.6807 GB, free: 12.54 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.472, allocations: 0 / 0.6807 GB, free: 12.54 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002521/0.4723, allocations: 206.5 kB / 0.6809 GB, free: 12.31 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.346e-06/0.4723, allocations: 4 kB / 0.6809 GB, free: 12.31 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001053/0.4724, allocations: 17.45 kB / 0.6809 GB, free: 12.3 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.839e-06/0.4724, allocations: 3.984 kB / 0.6809 GB, free: 12.3 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.148e-06/0.4724, allocations: 5.094 kB / 0.6809 GB, free: 12.3 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.918e-06/0.4725, allocations: 5.031 kB / 0.6809 GB, free: 12.29 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.4725, allocations: 0 / 0.6809 GB, free: 12.29 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003459/0.4728, allocations: 224.8 kB / 0.6811 GB, free: 12.11 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 5.087e-05/0.4729, allocations: 83.78 kB / 0.6812 GB, free: 12.02 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.95e-05/0.4729, allocations: 1.219 kB / 0.6812 GB, free: 12.02 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001027/0.473, allocations: 20.36 kB / 0.6812 GB, free: 12 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.921e-05/0.4731, allocations: 3.281 kB / 0.6812 GB, free: 12 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.492e-05/0.4731, allocations: 6.266 kB / 0.6812 GB, free: 12 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 8.096e-05/0.4732, allocations: 102.7 kB / 0.6813 GB, free: 11.91 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.11e-07/0.4732, allocations: 0 / 0.6813 GB, free: 11.91 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002481/0.4734, allocations: 17.23 kB / 0.6814 GB, free: 11.91 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.0007859/0.4742, allocations: 0.7595 MB / 0.6821 GB, free: 11.2 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0003284/0.4746, allocations: 105.1 kB / 0.6822 GB, free: 11.16 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.4746, allocations: 1.094 kB / 0.6822 GB, free: 11.16 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.000131/0.4747, allocations: 52.44 kB / 0.6823 GB, free: 11.14 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000227/0.475, allocations: 10.06 kB / 0.6823 GB, free: 11.13 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002161/0.4771, allocations: 1.6 MB / 0.6838 GB, free: 9.742 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000368/0.4775, allocations: 0.704 MB / 0.6845 GB, free: 9.031 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0001525/0.4777, allocations: 16.16 kB / 0.6845 GB, free: 9.023 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.429e-05/0.4777, allocations: 30.17 kB / 0.6846 GB, free: 9 MB / 0.5137 GB Notification: Performance of SimCode: time 7.11e-07/0.4778, allocations: 0 / 0.6846 GB, free: 9 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02215/0.4999, allocations: 2.018 MB / 0.6865 GB, free: 7.93 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.904/8.404, allocations: 4.828 kB / 0.6865 GB, free: 7.93 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)