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.001103/0.001103, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001176/0.001176, allocations: 192.7 kB / 16.13 MB, free: 6.707 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.319/1.319, allocations: 222.9 MB / 239.8 MB, free: 4.633 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7467/0.7467, allocations: 132.2 MB / 422.1 MB, free: 2.023 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001105/0.001105, allocations: 63.67 kB / 0.5012 GB, free: 9.141 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1364/0.1375, allocations: 80.21 MB / 0.5795 GB, free: 9.16 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.PropertySource_h): time 0.3868/0.5244, allocations: 173.7 MB / 0.7492 GB, free: 3.633 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.008861/0.5333, allocations: 8.691 MB / 0.7576 GB, free: 12.62 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005809/0.5339, allocations: 20.06 kB / 0.7577 GB, free: 12.61 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0006727/0.5346, allocations: 240.5 kB / 0.7579 GB, free: 12.41 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0006688/0.5353, allocations: 290.5 kB / 0.7582 GB, free: 12.18 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008257/0.5361, allocations: 339 kB / 0.7585 GB, free: 11.93 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001283/0.5374, allocations: 1.622 MB / 0.7601 GB, free: 10.42 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006137/0.538, allocations: 0.5007 MB / 0.7606 GB, free: 9.918 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004054/0.5421, allocations: 1.923 MB / 0.7624 GB, free: 7.988 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004102/0.5425, allocations: 370.3 kB / 0.7628 GB, free: 7.625 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 5.84e-05/0.5426, allocations: 28 kB / 0.7628 GB, free: 7.598 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001903/0.5428, allocations: 79.88 kB / 0.7629 GB, free: 7.52 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002347/0.543, allocations: 247.3 kB / 0.7631 GB, free: 7.277 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0002496/0.5433, allocations: 266.5 kB / 0.7634 GB, free: 7.016 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0005382/0.5438, allocations: 0.6073 MB / 0.764 GB, free: 6.406 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.5438, allocations: 0 / 0.764 GB, free: 6.406 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.092e-06/0.5438, allocations: 0 / 0.764 GB, free: 6.406 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 9.438e-06/0.5439, allocations: 0 / 0.764 GB, free: 6.406 MB / 0.5762 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.0009542/0.5448, allocations: 0.8167 MB / 0.7648 GB, free: 5.543 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.589e-05/0.5449, allocations: 12.03 kB / 0.7648 GB, free: 5.531 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.228e-05/0.545, allocations: 102.5 kB / 0.7649 GB, free: 5.422 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.798e-05/0.5451, allocations: 63.25 kB / 0.765 GB, free: 5.359 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004976/0.5456, allocations: 414.2 kB / 0.7654 GB, free: 4.914 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.071e-05/0.5456, allocations: 41.31 kB / 0.7654 GB, free: 4.871 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.225e-05/0.5457, allocations: 59.91 kB / 0.7654 GB, free: 4.812 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009762/0.5467, allocations: 0.7081 MB / 0.7661 GB, free: 4.023 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.721e-05/0.5467, allocations: 4 kB / 0.7661 GB, free: 4.02 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.221e-05/0.5467, allocations: 23.94 kB / 0.7662 GB, free: 3.996 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.665e-05/0.5468, allocations: 31.92 kB / 0.7662 GB, free: 3.965 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006336/0.5474, allocations: 379.4 kB / 0.7666 GB, free: 3.594 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002366/0.5498, allocations: 3.225 MB / 0.7697 GB, free: 232 kB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002606/0.5501, allocations: 222.1 kB / 0.7699 GB, free: 15.92 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001983/0.5503, allocations: 124.6 kB / 0.77 GB, free: 15.77 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 1.73e-05/0.5503, allocations: 11.94 kB / 0.77 GB, free: 15.75 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.687e-05/0.5504, allocations: 46.44 kB / 0.7701 GB, free: 15.7 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=10): time 1.513e-06/0.5504, allocations: 0 / 0.7701 GB, free: 15.7 MB / 0.5919 GB Notification: Performance of matching and sorting (n=10): time 0.0006847/0.5511, allocations: 248.7 kB / 0.7703 GB, free: 15.45 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000118/0.5512, allocations: 295.8 kB / 0.7706 GB, free: 15.09 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007217/0.5519, allocations: 0.6878 MB / 0.7713 GB, free: 14.39 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.505e-05/0.5519, allocations: 25.7 kB / 0.7713 GB, free: 14.36 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001956/0.5521, allocations: 272.2 kB / 0.7716 GB, free: 14.09 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 3.191e-05/0.5522, allocations: 31.55 kB / 0.7716 GB, free: 14.06 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.163e-05/0.5522, allocations: 29.7 kB / 0.7716 GB, free: 14.03 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001455/0.5524, allocations: 366.8 kB / 0.772 GB, free: 13.66 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001122/0.5525, allocations: 39.95 kB / 0.772 GB, free: 13.62 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001583/0.5527, allocations: 93.11 kB / 0.7721 GB, free: 13.51 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002494/0.5529, allocations: 137 kB / 0.7722 GB, free: 13.36 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.5529, allocations: 0 / 0.7722 GB, free: 13.36 MB / 0.5919 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003331/0.5533, allocations: 188.9 kB / 0.7724 GB, free: 13.17 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.708e-05/0.5533, allocations: 18 kB / 0.7724 GB, free: 13.15 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/0.5533, allocations: 3.938 kB / 0.7724 GB, free: 13.15 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.023e-05/0.5533, allocations: 0 / 0.7724 GB, free: 13.15 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002124/0.5536, allocations: 39.95 kB / 0.7725 GB, free: 13.11 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.324e-06/0.5536, allocations: 4 kB / 0.7725 GB, free: 13.11 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002166/0.5538, allocations: 66.91 kB / 0.7725 GB, free: 13.04 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.209e-05/0.5538, allocations: 12 kB / 0.7726 GB, free: 13.03 MB / 0.5919 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.0001877/0.554, allocations: 197.7 kB / 0.7727 GB, free: 12.83 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002223/0.5542, allocations: 71.17 kB / 0.7728 GB, free: 12.76 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.272e-05/0.5543, allocations: 56.33 kB / 0.7729 GB, free: 12.7 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.158e-06/0.5543, allocations: 4 kB / 0.7729 GB, free: 12.7 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.691e-06/0.5543, allocations: 4 kB / 0.7729 GB, free: 12.69 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.5544, allocations: 0 / 0.7729 GB, free: 12.69 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001321/0.5557, allocations: 1.304 MB / 0.7741 GB, free: 11.3 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.57e-06/0.5557, allocations: 4.375 kB / 0.7741 GB, free: 11.29 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001892/0.5559, allocations: 43.91 kB / 0.7742 GB, free: 11.25 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.519e-06/0.5559, allocations: 4 kB / 0.7742 GB, free: 11.25 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.065e-05/0.5559, allocations: 4 kB / 0.7742 GB, free: 11.24 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.944e-06/0.5559, allocations: 8.688 kB / 0.7742 GB, free: 11.23 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.308e-06/0.5559, allocations: 7.875 kB / 0.7742 GB, free: 11.23 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003742/0.5563, allocations: 330.5 kB / 0.7745 GB, free: 10.86 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001376/0.5565, allocations: 152.3 kB / 0.7747 GB, free: 10.69 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.678e-05/0.5565, allocations: 4 kB / 0.7747 GB, free: 10.69 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001927/0.5567, allocations: 15.98 kB / 0.7747 GB, free: 10.67 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.969e-05/0.5568, allocations: 19.86 kB / 0.7747 GB, free: 10.65 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.203e-06/0.5568, allocations: 8 kB / 0.7747 GB, free: 10.64 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.000529/0.5573, allocations: 0.4951 MB / 0.7752 GB, free: 10.15 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.8e-07/0.5573, allocations: 0 / 0.7752 GB, free: 10.15 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003754/0.5577, allocations: 83.92 kB / 0.7753 GB, free: 10.07 MB / 0.5919 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.0007869/0.5585, allocations: 0.908 MB / 0.7762 GB, free: 9.113 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0002805/0.5588, allocations: 95.86 kB / 0.7763 GB, free: 9.02 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 9.749e-06/0.5588, allocations: 4 kB / 0.7763 GB, free: 9.016 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001555/0.559, allocations: 68.2 kB / 0.7763 GB, free: 8.949 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001311/0.5603, allocations: 276.2 kB / 0.7766 GB, free: 8.699 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005138/0.5655, allocations: 4.675 MB / 0.7812 GB, free: 3.863 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004215/0.5659, allocations: 0.9091 MB / 0.782 GB, free: 2.93 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0002465/0.5661, allocations: 100.6 kB / 0.7821 GB, free: 2.828 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001765/0.5663, allocations: 167.4 kB / 0.7823 GB, free: 2.664 MB / 0.5919 GB Notification: Performance of SimCode: time 2.21e-07/0.5663, allocations: 0 / 0.7823 GB, free: 2.664 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1518/0.7182, allocations: 12.96 MB / 0.795 GB, free: 5.984 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002128/0.7184, allocations: 221.3 kB / 0.7952 GB, free: 5.734 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.94/2.659, allocations: 3.25 kB / 0.7952 GB, free: 5.734 MB / 0.6075 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Sources_Examples_PropertySource_h_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Sources_Examples_PropertySource_h.fmu > IDEAS_IDEAS.Fluid.Sources.Examples.PropertySource_h.pipe 2>&1)