Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.Sources.Examples.PropertySource_h,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Sources_Examples_PropertySource_h",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Sources.Examples.PropertySource_h,fileNamePrefix="BuildingSystems_BuildingSystems_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.005183/0.005183, allocations: 101.2 kB / 15.73 MB, free: 6.047 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.001222/0.001223, allocations: 196.2 kB / 16.67 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.269/1.269, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002021/0.002021, allocations: 279 kB / 290.8 MB, free: 1.91 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9005/0.9005, allocations: 169.3 MB / 0.4983 GB, free: 13.81 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001797/0.001797, allocations: 95.84 kB / 0.681 GB, free: 15.99 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1552/0.157, allocations: 86.97 MB / 0.7659 GB, free: 8.938 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sources.Examples.PropertySource_h): time 0.5405/0.6976, allocations: 176 MB / 0.9378 GB, free: 3.152 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.009546/0.7072, allocations: 8.717 MB / 0.9463 GB, free: 10.41 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006382/0.7078, allocations: 23.88 kB / 0.9463 GB, free: 10.39 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.0007932/0.7086, allocations: 297.8 kB / 0.9466 GB, free: 10.09 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.000863/0.7095, allocations: 310.3 kB / 0.9469 GB, free: 9.789 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.001018/0.7106, allocations: 371.2 kB / 0.9472 GB, free: 9.43 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.001298/0.7119, allocations: 1.149 MB / 0.9483 GB, free: 8.277 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008815/0.7128, allocations: 0.5881 MB / 0.9489 GB, free: 7.688 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004086/0.7169, allocations: 2.066 MB / 0.9509 GB, free: 5.613 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005429/0.7174, allocations: 350.4 kB / 0.9513 GB, free: 5.27 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 9.412e-05/0.7175, allocations: 40 kB / 0.9513 GB, free: 5.23 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002448/0.7178, allocations: 79.94 kB / 0.9514 GB, free: 5.152 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.0002739/0.7181, allocations: 263.3 kB / 0.9516 GB, free: 4.895 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.0003481/0.7184, allocations: 286.5 kB / 0.9519 GB, free: 4.613 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.0006612/0.7191, allocations: 0.6461 MB / 0.9525 GB, free: 3.965 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.7191, allocations: 0 / 0.9525 GB, free: 3.965 MB / 0.7012 GB Notification: Performance of FrontEnd: time 2.735e-06/0.7191, allocations: 7.938 kB / 0.9525 GB, free: 3.957 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 2.554e-05/0.7191, allocations: 0 / 0.9525 GB, free: 3.957 MB / 0.7012 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.001088/0.7202, allocations: 0.8146 MB / 0.9533 GB, free: 3.09 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 3.557e-05/0.7203, allocations: 8.031 kB / 0.9533 GB, free: 3.082 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001125/0.7204, allocations: 98.5 kB / 0.9534 GB, free: 2.977 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001112/0.7205, allocations: 71.19 kB / 0.9535 GB, free: 2.906 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000666/0.7212, allocations: 450.1 kB / 0.9539 GB, free: 2.426 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.22e-05/0.7212, allocations: 37.31 kB / 0.954 GB, free: 2.391 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.095e-05/0.7213, allocations: 55.98 kB / 0.954 GB, free: 2.336 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009419/0.7222, allocations: 0.7027 MB / 0.9547 GB, free: 1.555 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.895e-05/0.7223, allocations: 3.938 kB / 0.9547 GB, free: 1.551 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.512e-05/0.7223, allocations: 27.98 kB / 0.9547 GB, free: 1.523 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.726e-05/0.7224, allocations: 31.92 kB / 0.9548 GB, free: 1.492 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006123/0.723, allocations: 385 kB / 0.9551 GB, free: 1.117 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002501/0.7255, allocations: 3.2 MB / 0.9583 GB, free: 13.77 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002455/0.7258, allocations: 226 kB / 0.9585 GB, free: 13.46 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001826/0.726, allocations: 128.9 kB / 0.9586 GB, free: 13.3 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.276e-05/0.726, allocations: 0 / 0.9586 GB, free: 13.3 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.152e-05/0.726, allocations: 50.5 kB / 0.9587 GB, free: 13.25 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=10): time 1.072e-06/0.726, allocations: 3.938 kB / 0.9587 GB, free: 13.24 MB / 0.7169 GB Notification: Performance of matching and sorting (n=10): time 0.0006572/0.7267, allocations: 249.6 kB / 0.9589 GB, free: 12.99 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000127/0.7268, allocations: 290.9 kB / 0.9592 GB, free: 12.64 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007026/0.7275, allocations: 0.6839 MB / 0.9598 GB, free: 11.95 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.324e-05/0.7276, allocations: 29.7 kB / 0.9599 GB, free: 11.91 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001902/0.7278, allocations: 276 kB / 0.9601 GB, free: 11.64 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.333e-05/0.7278, allocations: 31.55 kB / 0.9602 GB, free: 11.61 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.187e-05/0.7279, allocations: 29.7 kB / 0.9602 GB, free: 11.57 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001373/0.728, allocations: 370.8 kB / 0.9605 GB, free: 11.2 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001041/0.7281, allocations: 39.95 kB / 0.9606 GB, free: 11.16 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001495/0.7283, allocations: 89.11 kB / 0.9607 GB, free: 11.05 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002161/0.7285, allocations: 125 kB / 0.9608 GB, free: 10.91 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.918e-06/0.7285, allocations: 4 kB / 0.9608 GB, free: 10.91 MB / 0.7169 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003464/0.7289, allocations: 192.8 kB / 0.961 GB, free: 10.71 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.448e-05/0.7289, allocations: 4 kB / 0.961 GB, free: 10.71 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.506e-06/0.7289, allocations: 4.625 kB / 0.961 GB, free: 10.71 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.563e-05/0.7289, allocations: 4 kB / 0.961 GB, free: 10.7 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002114/0.7291, allocations: 44.08 kB / 0.961 GB, free: 10.66 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.092e-06/0.7292, allocations: 0 / 0.961 GB, free: 10.66 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002045/0.7294, allocations: 63.48 kB / 0.9611 GB, free: 10.6 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.475e-05/0.7294, allocations: 12.86 kB / 0.9611 GB, free: 10.59 MB / 0.7169 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.0001873/0.7296, allocations: 205.4 kB / 0.9613 GB, free: 10.38 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002103/0.7298, allocations: 63.25 kB / 0.9614 GB, free: 10.32 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.135e-05/0.7299, allocations: 64.27 kB / 0.9614 GB, free: 10.25 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.775e-06/0.7299, allocations: 0 / 0.9614 GB, free: 10.25 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/0.7299, allocations: 4 kB / 0.9614 GB, free: 10.24 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.133e-06/0.7299, allocations: 7.984 kB / 0.9614 GB, free: 10.23 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001277/0.7312, allocations: 1.297 MB / 0.9627 GB, free: 8.848 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.57e-06/0.7312, allocations: 6.375 kB / 0.9627 GB, free: 8.844 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001807/0.7314, allocations: 43.89 kB / 0.9627 GB, free: 8.801 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.22e-06/0.7314, allocations: 4 kB / 0.9627 GB, free: 8.797 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.084e-05/0.7314, allocations: 0 / 0.9627 GB, free: 8.797 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.525e-06/0.7314, allocations: 4 kB / 0.9628 GB, free: 8.793 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.048e-06/0.7315, allocations: 4 kB / 0.9628 GB, free: 8.789 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003897/0.7318, allocations: 346.4 kB / 0.9631 GB, free: 8.406 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001744/0.732, allocations: 152.3 kB / 0.9632 GB, free: 8.238 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.999e-05/0.7321, allocations: 11.92 kB / 0.9632 GB, free: 8.227 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001559/0.7323, allocations: 4 kB / 0.9632 GB, free: 8.223 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.341e-05/0.7323, allocations: 15.92 kB / 0.9633 GB, free: 8.207 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.564e-06/0.7323, allocations: 12 kB / 0.9633 GB, free: 8.195 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0005261/0.7329, allocations: 0.4912 MB / 0.9638 GB, free: 7.707 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7329, allocations: 4 kB / 0.9638 GB, free: 7.703 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003662/0.7332, allocations: 75.94 kB / 0.9638 GB, free: 7.629 MB / 0.7169 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.0009035/0.7341, allocations: 0.9155 MB / 0.9647 GB, free: 6.664 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003079/0.7345, allocations: 107.8 kB / 0.9648 GB, free: 6.559 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.7345, allocations: 384 / 0.9648 GB, free: 6.559 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001378/0.7346, allocations: 67.83 kB / 0.9649 GB, free: 6.492 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001166/0.7358, allocations: 281.5 kB / 0.9652 GB, free: 6.238 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005178/0.741, allocations: 4.432 MB / 0.9695 GB, free: 1.641 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004841/0.7415, allocations: 0.905 MB / 0.9704 GB, free: 0.7109 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0002697/0.7418, allocations: 104.6 kB / 0.9705 GB, free: 0.6055 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001857/0.742, allocations: 167.4 kB / 0.9706 GB, free: 452 kB / 0.7169 GB Notification: Performance of SimCode: time 7.71e-07/0.742, allocations: 8 kB / 0.9706 GB, free: 444 kB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03399/0.776, allocations: 13.81 MB / 0.9841 GB, free: 2.875 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.789/8.565, allocations: 22.94 kB / 0.9841 GB, free: 2.855 MB / 0.7325 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Sources.Examples.PropertySource_h.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sources.Examples.PropertySource_h.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sources.Examples.PropertySource_h.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sources.Examples.PropertySource_h.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Sources_Examples_PropertySource_h_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Sources_Examples_PropertySource_h.fmu > BuildingSystems_BuildingSystems.Fluid.Sources.Examples.PropertySource_h.pipe 2>&1)