Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Fluid.Sources.Examples.PropertySource_h,fileNamePrefix="Buildings_8_Buildings_Fluid_Sources_Examples_PropertySource_h",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.PropertySource_h,fileNamePrefix="Buildings_8_Buildings_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.001627/0.001627, allocations: 108 kB / 15.6 MB, free: 132 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.00207/0.00207, allocations: 199.5 kB / 16.54 MB, free: 6.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.409/1.409, allocations: 205.1 MB / 222.4 MB, free: 4.617 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.798/1.798, allocations: 292.3 MB / 0.5489 GB, free: 12.79 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001444/0.001444, allocations: 68.78 kB / 0.6716 GB, free: 26.18 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2219/0.2234, allocations: 114.5 MB / 0.7835 GB, free: 13.36 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.PropertySource_h): time 0.663/0.8864, allocations: 176 MB / 0.9553 GB, free: 1.027 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0116/0.8981, allocations: 8.702 MB / 0.9638 GB, free: 284 kB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001191/0.8993, allocations: 19.72 kB / 0.9638 GB, free: 276 kB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001006/0.9004, allocations: 305 kB / 0.9641 GB, free: 144 kB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.001273/0.9017, allocations: 305.9 kB / 0.9644 GB, free: 56 kB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001376/0.9031, allocations: 379.7 kB / 0.9648 GB, free: 32 kB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.001776/0.9049, allocations: 1.165 MB / 0.9659 GB, free: 0 / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009523/0.9058, allocations: 0.5914 MB / 0.9665 GB, free: 15.91 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006149/0.912, allocations: 2.06 MB / 0.9685 GB, free: 15.51 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000694/0.9127, allocations: 346.3 kB / 0.9688 GB, free: 15.43 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 9.046e-05/0.9128, allocations: 43.22 kB / 0.9689 GB, free: 15.43 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002741/0.9131, allocations: 78.41 kB / 0.969 GB, free: 15.43 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0002844/0.9134, allocations: 257.4 kB / 0.9692 GB, free: 15.4 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.000364/0.9138, allocations: 289.2 kB / 0.9695 GB, free: 15.31 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0008495/0.9146, allocations: 0.6194 MB / 0.9701 GB, free: 15.2 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.9146, allocations: 0 / 0.9701 GB, free: 15.2 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.703e-06/0.9147, allocations: 0 / 0.9701 GB, free: 15.2 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.352e-05/0.9147, allocations: 1.25 kB / 0.9701 GB, free: 15.2 MB / 0.7325 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.001285/0.916, allocations: 0.8224 MB / 0.9709 GB, free: 14.66 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.928e-05/0.916, allocations: 12.84 kB / 0.9709 GB, free: 14.66 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001336/0.9162, allocations: 97.3 kB / 0.971 GB, free: 14.62 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001364/0.9163, allocations: 71.91 kB / 0.9711 GB, free: 14.58 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006042/0.9169, allocations: 415.8 kB / 0.9715 GB, free: 14.31 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.274e-05/0.917, allocations: 39.84 kB / 0.9715 GB, free: 14.31 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.107e-05/0.9171, allocations: 56.09 kB / 0.9716 GB, free: 14.31 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001051/0.9181, allocations: 0.6996 MB / 0.9722 GB, free: 14.05 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.206e-05/0.9182, allocations: 6.062 kB / 0.9722 GB, free: 14.04 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.528e-05/0.9182, allocations: 22.34 kB / 0.9723 GB, free: 14.04 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.067e-05/0.9183, allocations: 38.08 kB / 0.9723 GB, free: 14.04 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006504/0.9189, allocations: 375.8 kB / 0.9727 GB, free: 14.01 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00296/0.9219, allocations: 3.242 MB / 0.9758 GB, free: 11.54 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002564/0.9222, allocations: 214.9 kB / 0.976 GB, free: 11.29 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002076/0.9224, allocations: 134.8 kB / 0.9762 GB, free: 11.2 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.571e-05/0.9224, allocations: 3.766 kB / 0.9762 GB, free: 11.2 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.463e-05/0.9225, allocations: 47.69 kB / 0.9762 GB, free: 11.16 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=10): time 1.803e-06/0.9225, allocations: 0 / 0.9762 GB, free: 11.16 MB / 0.7325 GB Notification: Performance of matching and sorting (n=10): time 0.000684/0.9231, allocations: 243.7 kB / 0.9764 GB, free: 11.08 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001618/0.9233, allocations: 297.5 kB / 0.9767 GB, free: 10.73 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007934/0.9241, allocations: 0.6861 MB / 0.9774 GB, free: 10.6 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.237e-05/0.9242, allocations: 26.83 kB / 0.9774 GB, free: 10.57 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002723/0.9244, allocations: 268.8 kB / 0.9777 GB, free: 10.48 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.808e-05/0.9245, allocations: 35.95 kB / 0.9777 GB, free: 10.45 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.157e-05/0.9245, allocations: 29.59 kB / 0.9777 GB, free: 10.44 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0002701/0.9248, allocations: 372.4 kB / 0.9781 GB, free: 10.12 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001125/0.9249, allocations: 36.52 kB / 0.9781 GB, free: 10.12 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001841/0.9251, allocations: 96.42 kB / 0.9782 GB, free: 10.07 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002599/0.9254, allocations: 126 kB / 0.9783 GB, free: 10.02 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.366e-06/0.9254, allocations: 1.406 kB / 0.9783 GB, free: 10.02 MB / 0.7325 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000367/0.9258, allocations: 190 kB / 0.9785 GB, free: 9.945 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.067e-05/0.9258, allocations: 9.188 kB / 0.9785 GB, free: 9.945 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.05e-05/0.9258, allocations: 6.312 kB / 0.9785 GB, free: 9.941 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.856e-05/0.9259, allocations: 1.906 kB / 0.9785 GB, free: 9.941 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002316/0.9261, allocations: 42.41 kB / 0.9786 GB, free: 9.938 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.434e-06/0.9261, allocations: 2.156 kB / 0.9786 GB, free: 9.938 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002225/0.9263, allocations: 64.36 kB / 0.9786 GB, free: 9.898 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.506e-05/0.9264, allocations: 5.688 kB / 0.9786 GB, free: 9.898 MB / 0.7325 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.0002213/0.9266, allocations: 203 kB / 0.9788 GB, free: 9.785 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002265/0.9268, allocations: 57.34 kB / 0.9789 GB, free: 9.758 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001114/0.927, allocations: 63.33 kB / 0.979 GB, free: 9.742 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.758e-06/0.927, allocations: 5.016 kB / 0.979 GB, free: 9.742 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.638e-06/0.927, allocations: 7.906 kB / 0.979 GB, free: 9.738 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.662e-06/0.927, allocations: 2.656 kB / 0.979 GB, free: 9.738 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001561/0.9286, allocations: 1.306 MB / 0.9802 GB, free: 8.707 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.058e-06/0.9286, allocations: 2.5 kB / 0.9802 GB, free: 8.707 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001868/0.9288, allocations: 40.39 kB / 0.9803 GB, free: 8.707 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.02e-06/0.9288, allocations: 3.656 kB / 0.9803 GB, free: 8.707 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.41e-05/0.9288, allocations: 5.5 kB / 0.9803 GB, free: 8.703 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.791e-06/0.9288, allocations: 10.66 kB / 0.9803 GB, free: 8.695 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.604e-06/0.9288, allocations: 5.125 kB / 0.9803 GB, free: 8.695 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003858/0.9292, allocations: 342.5 kB / 0.9806 GB, free: 8.418 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001962/0.9294, allocations: 149.2 kB / 0.9808 GB, free: 8.285 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.733e-05/0.9295, allocations: 7.625 kB / 0.9808 GB, free: 8.285 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000163/0.9297, allocations: 10.98 kB / 0.9808 GB, free: 8.281 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.629e-05/0.9297, allocations: 15.77 kB / 0.9808 GB, free: 8.273 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.784e-06/0.9297, allocations: 8.844 kB / 0.9808 GB, free: 8.27 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0005669/0.9303, allocations: 0.495 MB / 0.9813 GB, free: 8.066 MB / 0.7325 GB Notification: Performance of sort global known variables: time 5.41e-07/0.9303, allocations: 0 / 0.9813 GB, free: 8.066 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0004159/0.9307, allocations: 84.94 kB / 0.9814 GB, free: 8.055 MB / 0.7325 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.0008806/0.9316, allocations: 0.9036 MB / 0.9823 GB, free: 7.246 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0003613/0.932, allocations: 105.5 kB / 0.9824 GB, free: 7.219 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.932, allocations: 0 / 0.9824 GB, free: 7.219 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001484/0.9321, allocations: 66.03 kB / 0.9824 GB, free: 7.199 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001324/0.9335, allocations: 283.6 kB / 0.9827 GB, free: 7.117 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005266/0.9388, allocations: 4.574 MB / 0.9872 GB, free: 4.102 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004489/0.9392, allocations: 0.9001 MB / 0.988 GB, free: 3.301 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0002993/0.9395, allocations: 111.2 kB / 0.9882 GB, free: 3.254 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001817/0.9397, allocations: 178.8 kB / 0.9883 GB, free: 3.105 MB / 0.7325 GB Notification: Performance of SimCode: time 6.81e-07/0.9397, allocations: 2.906 kB / 0.9883 GB, free: 3.105 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03523/0.975, allocations: 13.46 MB / 1.001 GB, free: 12.6 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.939/8.914, allocations: 20.05 kB / 1.001 GB, free: 12.59 MB / 0.7481 GB (rm -f Buildings_8_Buildings.Fluid.Sources.Examples.PropertySource_h.pipe ; mkfifo Buildings_8_Buildings.Fluid.Sources.Examples.PropertySource_h.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Sources.Examples.PropertySource_h.pipe >> ../files/Buildings_8_Buildings.Fluid.Sources.Examples.PropertySource_h.sim & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Fluid.Sources.Examples.PropertySource_h_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_Fluid_Sources_Examples_PropertySource_h.fmu > Buildings_8_Buildings.Fluid.Sources.Examples.PropertySource_h.pipe 2>&1)