Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.Example4.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.Fluid.Examples.Performance.Example4,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Examples_Performance_Example4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Examples.Performance.Example4,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Examples_Performance_Example4",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.001167/0.001167, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001168/0.001168, allocations: 194.6 kB / 16.53 MB, free: 6.664 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.308/1.308, allocations: 222.9 MB / 240.2 MB, free: 4.41 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.9469/0.9469, allocations: 143 MB / 433.4 MB, free: 11.45 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001284/0.001284, allocations: 67.89 kB / 0.5143 GB, free: 11.59 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1296/0.1309, allocations: 82.03 MB / 0.5944 GB, free: 9.527 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Examples.Performance.Example4): time 0.4418/0.5727, allocations: 237.8 MB / 0.8266 GB, free: 15.27 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0189/0.5917, allocations: 15.82 MB / 0.842 GB, free: 15.41 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001801/0.5935, allocations: 63.62 kB / 0.8421 GB, free: 15.35 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.002359/0.5959, allocations: 1.037 MB / 0.8431 GB, free: 14.3 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.00666/0.6026, allocations: 2.966 MB / 0.846 GB, free: 11.33 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.003954/0.6065, allocations: 1.682 MB / 0.8476 GB, free: 9.66 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.004412/0.611, allocations: 3.423 MB / 0.851 GB, free: 6.227 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001933/0.6129, allocations: 1.283 MB / 0.8522 GB, free: 4.914 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005647/0.6186, allocations: 2.501 MB / 0.8547 GB, free: 2.43 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002246/0.6208, allocations: 1.072 MB / 0.8557 GB, free: 1.363 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0003911/0.6212, allocations: 124 kB / 0.8558 GB, free: 1.242 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.3145/0.9358, allocations: 3.086 MB / 0.8589 GB, free: 8.125 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0005652/0.9364, allocations: 474.7 kB / 0.8593 GB, free: 8.125 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.001035/0.9374, allocations: 0.8118 MB / 0.8601 GB, free: 8.125 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.003983/0.9414, allocations: 3.041 MB / 0.8631 GB, free: 8.047 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.9414, allocations: 0 / 0.8631 GB, free: 8.047 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.823e-06/0.9414, allocations: 0 / 0.8631 GB, free: 8.047 MB / 0.67 GB Notification: Performance of Transformations before backend: time 1.951e-05/0.9415, allocations: 1.203 kB / 0.8631 GB, free: 8.047 MB / 0.67 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 251 * Number of variables: 251 Notification: Performance of Generate backend data structure: time 0.003047/0.9445, allocations: 2.006 MB / 0.865 GB, free: 7.113 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 3.558e-05/0.9446, allocations: 11.19 kB / 0.865 GB, free: 7.113 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001528/0.9447, allocations: 151.5 kB / 0.8652 GB, free: 7.074 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002716/0.9474, allocations: 0.5 MB / 0.8657 GB, free: 6.988 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001881/0.9493, allocations: 1.104 MB / 0.8668 GB, free: 6.594 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009196/0.9503, allocations: 243 kB / 0.867 GB, free: 6.594 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001347/0.9504, allocations: 104 kB / 0.8671 GB, free: 6.594 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002172/0.9526, allocations: 1.371 MB / 0.8684 GB, free: 6.242 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.421e-05/0.9526, allocations: 5.562 kB / 0.8684 GB, free: 6.242 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.774e-05/0.9527, allocations: 43.84 kB / 0.8685 GB, free: 6.242 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.858e-05/0.9528, allocations: 42.09 kB / 0.8685 GB, free: 6.242 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002377/0.9552, allocations: 1.082 MB / 0.8696 GB, free: 6.234 MB / 0.67 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006731/0.9619, allocations: 7.449 MB / 0.8768 GB, free: 17.3 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001647/0.9636, allocations: 0.5724 MB / 0.8774 GB, free: 17.27 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006266/0.9642, allocations: 268.9 kB / 0.8777 GB, free: 17.27 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003632/0.9646, allocations: 286.4 kB / 0.8779 GB, free: 16.98 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.534e-05/0.9646, allocations: 37.75 kB / 0.878 GB, free: 16.95 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=33): time 1.944e-06/0.9646, allocations: 0.9375 kB / 0.878 GB, free: 16.95 MB / 0.6856 GB Notification: Performance of matching and sorting (n=33): time 0.002356/0.967, allocations: 0.8719 MB / 0.8788 GB, free: 16.83 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.971e-05/0.967, allocations: 55.53 kB / 0.8789 GB, free: 16.77 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001624/0.9687, allocations: 1.396 MB / 0.8802 GB, free: 16.59 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 5.579e-05/0.9687, allocations: 32.7 kB / 0.8803 GB, free: 16.56 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.000426/0.9692, allocations: 0.7033 MB / 0.881 GB, free: 16.29 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 7.587e-05/0.9693, allocations: 119.5 kB / 0.8811 GB, free: 16.22 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002398/0.9695, allocations: 173.8 kB / 0.8812 GB, free: 16.19 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001056/0.9696, allocations: 339.8 kB / 0.8816 GB, free: 15.88 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009196/0.9705, allocations: 331.5 kB / 0.8819 GB, free: 15.88 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001118/0.9717, allocations: 0.7144 MB / 0.8826 GB, free: 15.41 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001846/0.9735, allocations: 0.9675 MB / 0.8835 GB, free: 14.99 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.356e-06/0.9736, allocations: 4.125 kB / 0.8835 GB, free: 14.99 MB / 0.6856 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.002567/0.9761, allocations: 1.092 MB / 0.8846 GB, free: 14.89 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.38e-05/0.9762, allocations: 11.66 kB / 0.8846 GB, free: 14.89 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.819e-05/0.9762, allocations: 14.08 kB / 0.8846 GB, free: 14.89 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.969e-05/0.9762, allocations: 16.31 kB / 0.8846 GB, free: 14.89 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009236/0.9772, allocations: 216.1 kB / 0.8848 GB, free: 14.89 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.542e-05/0.9772, allocations: 25.64 kB / 0.8849 GB, free: 14.89 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001381/0.9786, allocations: 194.1 kB / 0.885 GB, free: 14.83 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.101e-05/0.9787, allocations: 47.47 kB / 0.8851 GB, free: 14.82 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001263/0.9799, allocations: 0.5881 MB / 0.8857 GB, free: 14.74 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001073/0.981, allocations: 0.7084 MB / 0.8864 GB, free: 14.28 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001782/0.9828, allocations: 0.9686 MB / 0.8873 GB, free: 13.86 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.203e-06/0.9828, allocations: 4.75 kB / 0.8873 GB, free: 13.86 MB / 0.6856 GB Notification: Performance of matching and sorting (n=91) (initialization_lambda0): time 0.002519/0.9854, allocations: 1.093 MB / 0.8884 GB, free: 13.75 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.579e-05/0.9854, allocations: 9.75 kB / 0.8884 GB, free: 13.75 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.421e-05/0.9854, allocations: 17.36 kB / 0.8884 GB, free: 13.75 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.818e-05/0.9854, allocations: 17.19 kB / 0.8884 GB, free: 13.75 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009043/0.9863, allocations: 215 kB / 0.8886 GB, free: 13.74 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.342e-05/0.9864, allocations: 23.05 kB / 0.8886 GB, free: 13.74 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001369/0.9877, allocations: 150 kB / 0.8888 GB, free: 13.71 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.794e-05/0.9878, allocations: 45.84 kB / 0.8888 GB, free: 13.71 MB / 0.6856 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * 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 (91): * Single equations (assignments): 91 * 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.0002352/0.9881, allocations: 243.1 kB / 0.8891 GB, free: 13.52 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001919/0.9883, allocations: 142.2 kB / 0.8892 GB, free: 13.44 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0018/0.9901, allocations: 0.6559 MB / 0.8898 GB, free: 13.36 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.5e-06/0.9901, allocations: 3.641 kB / 0.8898 GB, free: 13.36 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.9901, allocations: 1.781 kB / 0.8898 GB, free: 13.36 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.77e-06/0.9901, allocations: 1.875 kB / 0.8898 GB, free: 13.36 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003596/0.9937, allocations: 1.92 MB / 0.8917 GB, free: 12.87 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.243e-06/0.9937, allocations: 7.531 kB / 0.8917 GB, free: 12.86 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005409/0.9943, allocations: 95.84 kB / 0.8918 GB, free: 12.86 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.464e-06/0.9943, allocations: 5.312 kB / 0.8918 GB, free: 12.86 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.994e-05/0.9943, allocations: 20.91 kB / 0.8918 GB, free: 12.86 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.733e-06/0.9944, allocations: 5.172 kB / 0.8918 GB, free: 12.86 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.232e-06/0.9944, allocations: 10.95 kB / 0.8919 GB, free: 12.86 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001688/0.9961, allocations: 0.8197 MB / 0.8927 GB, free: 12.5 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004311/0.9965, allocations: 298.2 kB / 0.8929 GB, free: 12.32 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001961/0.9967, allocations: 11.88 kB / 0.893 GB, free: 12.32 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00106/0.9978, allocations: 76.56 kB / 0.893 GB, free: 12.32 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.213e-05/0.9979, allocations: 35.89 kB / 0.8931 GB, free: 12.31 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.656e-05/0.9979, allocations: 27.8 kB / 0.8931 GB, free: 12.31 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.001461/0.9994, allocations: 1.011 MB / 0.8941 GB, free: 12.2 MB / 0.6856 GB Notification: Performance of sort global known variables: time 2e-07/0.9994, allocations: 0 / 0.8941 GB, free: 12.2 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001887/1.001, allocations: 0.5775 MB / 0.8946 GB, free: 12.15 MB / 0.6856 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (32): * Single equations (assignments): 32 * 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.002318/1.004, allocations: 1.525 MB / 0.8961 GB, free: 11.25 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.003284/1.007, allocations: 1.192 MB / 0.8973 GB, free: 11.21 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 5.801e-06/1.007, allocations: 0.625 kB / 0.8973 GB, free: 11.21 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0007053/1.008, allocations: 267.5 kB / 0.8975 GB, free: 11.2 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00347/1.011, allocations: 0.7489 MB / 0.8983 GB, free: 11.11 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01753/1.029, allocations: 10.72 MB / 0.9087 GB, free: 6.664 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007108/1.029, allocations: 1.185 MB / 0.9099 GB, free: 5.934 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.001918/1.031, allocations: 389.4 kB / 0.9103 GB, free: 5.836 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005484/1.032, allocations: 0.4972 MB / 0.9108 GB, free: 5.824 MB / 0.6856 GB Notification: Performance of SimCode: time 9.62e-07/1.032, allocations: 1.203 kB / 0.9108 GB, free: 5.824 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0658/1.098, allocations: 35.43 MB / 0.9454 GB, free: 4.168 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.019/9.117, allocations: 13.28 kB / 0.9454 GB, free: 4.164 MB / 0.7012 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.Example4.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.Example4.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.Example4.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.Example4.sim & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.Example4_res.csv --start-time 0 --stop-time 20 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.008 BuildSysPro_BuildSysPro_IBPSA_Fluid_Examples_Performance_Example4.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.Example4.pipe 2>&1)