Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Sources.Examples.PropertySource_h.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.Fluid.Sources.Examples.PropertySource_h,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Sources_Examples_PropertySource_h",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Sources.Examples.PropertySource_h,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Sources_Examples_PropertySource_h",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.004675/0.004674, allocations: 98.56 kB / 15.73 MB, free: 6.059 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.001272/0.001272, allocations: 195.9 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.403/1.403, allocations: 222.9 MB / 240.4 MB, free: 4.336 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.019/1.019, allocations: 143.3 MB / 433.8 MB, free: 11.46 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001886/0.001887, allocations: 71.88 kB / 0.5953 GB, free: 8.676 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3842/0.3861, allocations: 82.03 MB / 0.6754 GB, free: 0.8828 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Sources.Examples.PropertySource_h): time 0.1968/0.583, allocations: 176 MB / 0.8473 GB, free: 5.52 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.01075/0.5938, allocations: 8.739 MB / 0.8559 GB, free: 12.76 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006999/0.5945, allocations: 23.88 kB / 0.8559 GB, free: 12.73 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.0007963/0.5953, allocations: 293.8 kB / 0.8562 GB, free: 12.45 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.0007146/0.5961, allocations: 302.4 kB / 0.8565 GB, free: 12.15 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.001015/0.5971, allocations: 386.4 kB / 0.8568 GB, free: 11.77 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.001332/0.5985, allocations: 1.144 MB / 0.8579 GB, free: 10.62 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008573/0.5993, allocations: 0.5854 MB / 0.8585 GB, free: 10.04 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004571/0.6039, allocations: 2.07 MB / 0.8605 GB, free: 7.961 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004982/0.6045, allocations: 350.5 kB / 0.8609 GB, free: 7.617 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 7.308e-05/0.6045, allocations: 40 kB / 0.8609 GB, free: 7.578 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002441/0.6048, allocations: 79.95 kB / 0.861 GB, free: 7.5 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0002685/0.6051, allocations: 263.2 kB / 0.8612 GB, free: 7.242 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0003106/0.6054, allocations: 286.5 kB / 0.8615 GB, free: 6.961 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.0008099/0.6062, allocations: 0.669 MB / 0.8622 GB, free: 6.289 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.6062, allocations: 0 / 0.8622 GB, free: 6.289 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.513e-06/0.6062, allocations: 0 / 0.8622 GB, free: 6.289 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 1.063e-05/0.6062, allocations: 0 / 0.8622 GB, free: 6.289 MB / 0.6856 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 133 * Number of variables: 133 Notification: Performance of Generate backend data structure: time 0.001095/0.6073, allocations: 0.849 MB / 0.863 GB, free: 5.387 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.05e-05/0.6074, allocations: 8.031 kB / 0.863 GB, free: 5.379 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001169/0.6075, allocations: 98.52 kB / 0.8631 GB, free: 5.273 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001133/0.6076, allocations: 75.52 kB / 0.8632 GB, free: 5.199 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000669/0.6083, allocations: 446.4 kB / 0.8636 GB, free: 4.723 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.144e-05/0.6084, allocations: 45.23 kB / 0.8636 GB, free: 4.68 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.702e-05/0.6084, allocations: 52 kB / 0.8637 GB, free: 4.629 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001052/0.6095, allocations: 0.7027 MB / 0.8644 GB, free: 3.844 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.85e-05/0.6095, allocations: 3.938 kB / 0.8644 GB, free: 3.84 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.756e-05/0.6096, allocations: 31.94 kB / 0.8644 GB, free: 3.809 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.678e-05/0.6096, allocations: 31.98 kB / 0.8644 GB, free: 3.777 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006557/0.6103, allocations: 375.3 kB / 0.8648 GB, free: 3.41 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002721/0.613, allocations: 3.224 MB / 0.8679 GB, free: 44 kB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.2848/0.8979, allocations: 215 kB / 0.8681 GB, free: 189.5 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002042/0.8981, allocations: 127.2 kB / 0.8683 GB, free: 189.4 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 2.564e-05/0.8982, allocations: 10.36 kB / 0.8683 GB, free: 189.4 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.946e-05/0.8982, allocations: 44.91 kB / 0.8683 GB, free: 189.4 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=10): time 2.675e-06/0.8982, allocations: 0 / 0.8683 GB, free: 189.4 MB / 0.6856 GB Notification: Performance of matching and sorting (n=10): time 0.0007893/0.899, allocations: 257 kB / 0.8686 GB, free: 189.3 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.101e-05/0.8991, allocations: 293.2 kB / 0.8688 GB, free: 189 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008394/0.8999, allocations: 0.6851 MB / 0.8695 GB, free: 188.8 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 1.743e-05/0.9, allocations: 32.28 kB / 0.8695 GB, free: 188.8 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001675/0.9001, allocations: 263.6 kB / 0.8698 GB, free: 188.5 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 3.575e-05/0.9002, allocations: 36.27 kB / 0.8698 GB, free: 188.5 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.895e-05/0.9002, allocations: 34.8 kB / 0.8699 GB, free: 188.5 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 9.412e-05/0.9003, allocations: 367.9 kB / 0.8702 GB, free: 188.2 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000123/0.9005, allocations: 34.25 kB / 0.8702 GB, free: 188.2 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001742/0.9007, allocations: 95.23 kB / 0.8703 GB, free: 188.1 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002404/0.9009, allocations: 129.3 kB / 0.8705 GB, free: 188 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.906e-06/0.9009, allocations: 0 / 0.8705 GB, free: 188 MB / 0.6856 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003407/0.9013, allocations: 198 kB / 0.8706 GB, free: 188 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.795e-05/0.9013, allocations: 8.062 kB / 0.8707 GB, free: 188 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/0.9013, allocations: 1.688 kB / 0.8707 GB, free: 188 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.683e-05/0.9013, allocations: 2.25 kB / 0.8707 GB, free: 188 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002249/0.9015, allocations: 41.97 kB / 0.8707 GB, free: 188 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.923e-06/0.9016, allocations: 2.125 kB / 0.8707 GB, free: 188 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002043/0.9018, allocations: 60.92 kB / 0.8708 GB, free: 187.9 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.363e-05/0.9018, allocations: 7.297 kB / 0.8708 GB, free: 187.9 MB / 0.6856 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (10): * Single equations (assignments): 10 * 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.0001747/0.902, allocations: 207.7 kB / 0.871 GB, free: 187.8 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002014/0.9022, allocations: 61.38 kB / 0.871 GB, free: 187.8 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.794e-05/0.9023, allocations: 62.75 kB / 0.8711 GB, free: 187.7 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.851e-06/0.9023, allocations: 3.578 kB / 0.8711 GB, free: 187.7 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.063e-06/0.9023, allocations: 3.656 kB / 0.8711 GB, free: 187.7 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.392e-06/0.9023, allocations: 3.391 kB / 0.8711 GB, free: 187.7 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001157/0.9035, allocations: 1.301 MB / 0.8724 GB, free: 186.6 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/0.9035, allocations: 2.125 kB / 0.8724 GB, free: 186.6 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001982/0.9037, allocations: 43.44 kB / 0.8724 GB, free: 186.6 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.11e-06/0.9037, allocations: 8.25 kB / 0.8724 GB, free: 186.6 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.134e-05/0.9037, allocations: 7.25 kB / 0.8724 GB, free: 186.6 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.11e-06/0.9037, allocations: 8.359 kB / 0.8724 GB, free: 186.6 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.027e-06/0.9037, allocations: 10.53 kB / 0.8724 GB, free: 186.6 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003343/0.9041, allocations: 331.8 kB / 0.8728 GB, free: 186.4 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001189/0.9042, allocations: 156.5 kB / 0.8729 GB, free: 186.2 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.553e-05/0.9043, allocations: 4.969 kB / 0.8729 GB, free: 186.2 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001673/0.9044, allocations: 11.47 kB / 0.8729 GB, free: 186.2 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.814e-05/0.9045, allocations: 11.97 kB / 0.8729 GB, free: 186.2 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.876e-06/0.9045, allocations: 5.781 kB / 0.8729 GB, free: 186.2 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0005553/0.9051, allocations: 0.4985 MB / 0.8734 GB, free: 186 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9051, allocations: 0 / 0.8734 GB, free: 186 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.0003918/0.9055, allocations: 85.66 kB / 0.8735 GB, free: 186 MB / 0.6856 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 (10): * Single equations (assignments): 10 * 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.0007193/0.9062, allocations: 0.9056 MB / 0.8744 GB, free: 185.2 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.0003174/0.9065, allocations: 114.4 kB / 0.8745 GB, free: 185.2 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.9065, allocations: 0.875 kB / 0.8745 GB, free: 185.2 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0001464/0.9067, allocations: 61.8 kB / 0.8746 GB, free: 185.2 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001308/0.908, allocations: 283.7 kB / 0.8748 GB, free: 185.1 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00537/0.9134, allocations: 4.454 MB / 0.8792 GB, free: 182.7 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004414/0.9138, allocations: 0.9061 MB / 0.8801 GB, free: 182 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0003457/0.9142, allocations: 103.5 kB / 0.8802 GB, free: 182 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001826/0.9144, allocations: 169.9 kB / 0.8803 GB, free: 181.9 MB / 0.6856 GB Notification: Performance of SimCode: time 5.31e-07/0.9144, allocations: 0 / 0.8803 GB, free: 181.9 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03751/0.9519, allocations: 13.61 MB / 0.8936 GB, free: 175.5 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.438/9.39, allocations: 16.86 kB / 0.8936 GB, free: 175.5 MB / 0.6856 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Sources.Examples.PropertySource_h.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Sources.Examples.PropertySource_h.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Sources.Examples.PropertySource_h.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Sources.Examples.PropertySource_h.sim & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.Fluid.Sources.Examples.PropertySource_h_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_Fluid_Sources_Examples_PropertySource_h.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Sources.Examples.PropertySource_h.pipe 2>&1)