Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.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(IDEAS.Fluid.Sources.Examples.PropertySource_h,fileNamePrefix="IDEAS_IDEAS_Fluid_Sources_Examples_PropertySource_h",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sources.Examples.PropertySource_h,fileNamePrefix="IDEAS_IDEAS_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.006647/0.006647, allocations: 96.69 kB / 15.73 MB, free: 6.043 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.001699/0.001699, allocations: 195.5 kB / 16.68 MB, free: 5.969 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.408/1.408, allocations: 222.9 MB / 240.4 MB, free: 4.301 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7914/0.7914, allocations: 132.2 MB / 422.7 MB, free: 1.695 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001808/0.001808, allocations: 63.89 kB / 0.5809 GB, free: 8.062 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.398/0.3998, allocations: 80.21 MB / 0.6592 GB, free: 9.84 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.PropertySource_h): time 0.2025/0.6024, allocations: 176 MB / 0.8311 GB, free: 5.586 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.01114/0.6135, allocations: 8.701 MB / 0.8395 GB, free: 12.86 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007008/0.6143, allocations: 19.88 kB / 0.8396 GB, free: 12.84 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.0008822/0.6152, allocations: 305.8 kB / 0.8399 GB, free: 12.54 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.0009427/0.6162, allocations: 298.4 kB / 0.8401 GB, free: 12.25 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.001131/0.6173, allocations: 379.3 kB / 0.8405 GB, free: 11.88 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.001554/0.6189, allocations: 1.152 MB / 0.8416 GB, free: 10.73 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000978/0.6199, allocations: 0.592 MB / 0.8422 GB, free: 10.12 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004779/0.6247, allocations: 2.058 MB / 0.8442 GB, free: 8.059 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005644/0.6253, allocations: 350.4 kB / 0.8446 GB, free: 7.715 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.000101/0.6254, allocations: 40 kB / 0.8446 GB, free: 7.676 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002998/0.6257, allocations: 87.88 kB / 0.8447 GB, free: 7.59 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0003/0.626, allocations: 255.4 kB / 0.8449 GB, free: 7.34 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0003563/0.6263, allocations: 278.5 kB / 0.8452 GB, free: 7.066 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.000924/0.6273, allocations: 0.6494 MB / 0.8458 GB, free: 6.418 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 6.663e-06/0.6273, allocations: 4 kB / 0.8458 GB, free: 6.414 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.423e-06/0.6273, allocations: 0 / 0.8458 GB, free: 6.414 MB / 0.67 GB Notification: Performance of Transformations before backend: time 2.487e-05/0.6273, allocations: 0 / 0.8458 GB, free: 6.414 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: 133 * Number of variables: 133 Notification: Performance of Generate backend data structure: time 0.001404/0.6287, allocations: 0.845 MB / 0.8466 GB, free: 5.516 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.824e-05/0.6288, allocations: 8.031 kB / 0.8467 GB, free: 5.508 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001304/0.6289, allocations: 102.4 kB / 0.8468 GB, free: 5.398 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001457/0.6291, allocations: 75.58 kB / 0.8468 GB, free: 5.324 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008199/0.6299, allocations: 446.5 kB / 0.8473 GB, free: 4.852 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.906e-05/0.63, allocations: 37.31 kB / 0.8473 GB, free: 4.816 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.514e-05/0.6301, allocations: 55.98 kB / 0.8473 GB, free: 4.762 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00114/0.6312, allocations: 0.7072 MB / 0.848 GB, free: 3.973 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.728e-05/0.6312, allocations: 4 kB / 0.848 GB, free: 3.969 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.278e-05/0.6313, allocations: 31.97 kB / 0.8481 GB, free: 3.938 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.705e-05/0.6313, allocations: 31.92 kB / 0.8481 GB, free: 3.906 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006878/0.632, allocations: 375.4 kB / 0.8485 GB, free: 3.539 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002899/0.635, allocations: 3.224 MB / 0.8516 GB, free: 176 kB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002958/0.6353, allocations: 218.5 kB / 0.8518 GB, free: 15.86 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002094/0.6355, allocations: 132.5 kB / 0.8519 GB, free: 15.7 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 1.762e-05/0.6355, allocations: 11.94 kB / 0.8519 GB, free: 15.69 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.931e-05/0.6355, allocations: 42.5 kB / 0.852 GB, free: 15.64 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=10): time 2.214e-06/0.6356, allocations: 0 / 0.852 GB, free: 15.64 MB / 0.6856 GB Notification: Performance of matching and sorting (n=10): time 0.0006978/0.6363, allocations: 249.8 kB / 0.8522 GB, free: 15.39 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001549/0.6364, allocations: 290.7 kB / 0.8525 GB, free: 15.04 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007794/0.6372, allocations: 0.6842 MB / 0.8532 GB, free: 14.34 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 2.236e-05/0.6372, allocations: 33.7 kB / 0.8532 GB, free: 14.3 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002241/0.6375, allocations: 264.3 kB / 0.8535 GB, free: 14.04 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 4.886e-05/0.6375, allocations: 39.69 kB / 0.8535 GB, free: 14 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.781e-05/0.6376, allocations: 29.7 kB / 0.8535 GB, free: 13.97 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001819/0.6378, allocations: 370.6 kB / 0.8539 GB, free: 13.6 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001212/0.6379, allocations: 39.95 kB / 0.8539 GB, free: 13.56 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001746/0.6381, allocations: 93.11 kB / 0.854 GB, free: 13.45 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002516/0.6383, allocations: 129 kB / 0.8541 GB, free: 13.31 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.6384, allocations: 4 kB / 0.8541 GB, free: 13.3 MB / 0.6856 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003552/0.6387, allocations: 193.1 kB / 0.8543 GB, free: 13.11 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.696e-05/0.6387, allocations: 4 kB / 0.8543 GB, free: 13.11 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.965e-06/0.6388, allocations: 8.188 kB / 0.8543 GB, free: 13.1 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.981e-05/0.6388, allocations: 0 / 0.8543 GB, free: 13.1 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002272/0.639, allocations: 39.95 kB / 0.8544 GB, free: 13.06 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.982e-06/0.639, allocations: 0 / 0.8544 GB, free: 13.06 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002064/0.6392, allocations: 55.5 kB / 0.8544 GB, free: 13 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.649e-05/0.6393, allocations: 15.98 kB / 0.8544 GB, free: 12.99 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.0002125/0.6395, allocations: 205.6 kB / 0.8546 GB, free: 12.78 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002025/0.6397, allocations: 67.56 kB / 0.8547 GB, free: 12.71 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.76e-05/0.6398, allocations: 64.33 kB / 0.8548 GB, free: 12.64 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.6398, allocations: 0 / 0.8548 GB, free: 12.64 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/0.6398, allocations: 4 kB / 0.8548 GB, free: 12.64 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.316e-06/0.6398, allocations: 7.984 kB / 0.8548 GB, free: 12.63 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001446/0.6413, allocations: 1.293 MB / 0.856 GB, free: 11.25 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.689e-06/0.6413, allocations: 4.062 kB / 0.856 GB, free: 11.25 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001993/0.6415, allocations: 48.17 kB / 0.8561 GB, free: 11.2 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.47e-06/0.6415, allocations: 8 kB / 0.8561 GB, free: 11.19 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.148e-05/0.6415, allocations: 4.188 kB / 0.8561 GB, free: 11.19 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.769e-06/0.6415, allocations: 3.938 kB / 0.8561 GB, free: 11.18 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.597e-06/0.6416, allocations: 7.938 kB / 0.8561 GB, free: 11.18 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004244/0.642, allocations: 338.7 kB / 0.8564 GB, free: 10.8 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001666/0.6422, allocations: 156.6 kB / 0.8566 GB, free: 10.63 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.634e-05/0.6422, allocations: 8 kB / 0.8566 GB, free: 10.62 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001591/0.6424, allocations: 11.94 kB / 0.8566 GB, free: 10.61 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.449e-05/0.6425, allocations: 15.98 kB / 0.8566 GB, free: 10.59 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.875e-06/0.6425, allocations: 4 kB / 0.8566 GB, free: 10.59 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0005751/0.643, allocations: 0.4912 MB / 0.8571 GB, free: 10.11 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.21e-07/0.6431, allocations: 0 / 0.8571 GB, free: 10.11 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.000382/0.6434, allocations: 79.94 kB / 0.8572 GB, free: 10.03 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.0009328/0.6444, allocations: 0.9192 MB / 0.8581 GB, free: 9.062 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.0003267/0.6447, allocations: 103.8 kB / 0.8582 GB, free: 8.961 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 4.088e-06/0.6447, allocations: 4 kB / 0.8582 GB, free: 8.957 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0001501/0.6449, allocations: 64.77 kB / 0.8582 GB, free: 8.895 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00127/0.6462, allocations: 276.2 kB / 0.8585 GB, free: 8.633 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005478/0.6517, allocations: 4.463 MB / 0.8629 GB, free: 4 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005263/0.6522, allocations: 0.905 MB / 0.8637 GB, free: 3.07 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0002538/0.6525, allocations: 104.6 kB / 0.8638 GB, free: 2.969 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002018/0.6527, allocations: 175.4 kB / 0.864 GB, free: 2.801 MB / 0.6856 GB Notification: Performance of SimCode: time 8.62e-07/0.6527, allocations: 0 / 0.864 GB, free: 2.801 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3142/0.9669, allocations: 13.59 MB / 0.8773 GB, free: 194.1 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.34/9.307, allocations: 14.53 kB / 0.8773 GB, free: 194.1 MB / 0.6856 GB (rm -f IDEAS_IDEAS.Fluid.Sources.Examples.PropertySource_h.pipe ; mkfifo IDEAS_IDEAS.Fluid.Sources.Examples.PropertySource_h.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Sources.Examples.PropertySource_h.pipe >> ../files/IDEAS_IDEAS.Fluid.Sources.Examples.PropertySource_h.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.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 IDEAS_IDEAS_Fluid_Sources_Examples_PropertySource_h.fmu > IDEAS_IDEAS.Fluid.Sources.Examples.PropertySource_h.pipe 2>&1)