Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.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(IDEAS.Fluid.Sources.Examples.PropertySource_h,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Sources_Examples_PropertySource_h",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sources.Examples.PropertySource_h,fileNamePrefix="IDEAS_dev_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.0009655/0.0009655, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.0009691/0.0009692, allocations: 195.5 kB / 16.14 MB, free: 6.688 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.245/1.245, allocations: 222.9 MB / 239.8 MB, free: 4.621 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8233/0.8233, allocations: 135.1 MB / 425.1 MB, free: 11.94 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001091/0.001091, allocations: 64.53 kB / 0.5048 GB, free: 5.676 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1193/0.1204, allocations: 80.91 MB / 0.5838 GB, free: 4.93 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.PropertySource_h): time 0.3529/0.4734, allocations: 173.7 MB / 0.7535 GB, free: 14.51 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01224/0.4856, allocations: 8.692 MB / 0.762 GB, free: 6.957 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005889/0.4863, allocations: 15.88 kB / 0.762 GB, free: 6.941 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0006275/0.4869, allocations: 242.4 kB / 0.7622 GB, free: 6.703 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0005912/0.4875, allocations: 298.6 kB / 0.7625 GB, free: 6.41 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008691/0.4884, allocations: 332.4 kB / 0.7628 GB, free: 6.09 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001222/0.4896, allocations: 1.626 MB / 0.7644 GB, free: 4.461 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006115/0.4903, allocations: 0.5046 MB / 0.7649 GB, free: 3.957 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003864/0.4941, allocations: 1.927 MB / 0.7668 GB, free: 2.023 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004092/0.4946, allocations: 370.3 kB / 0.7671 GB, free: 1.66 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 5.603e-05/0.4946, allocations: 32 kB / 0.7671 GB, free: 1.629 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001816/0.4948, allocations: 63.97 kB / 0.7672 GB, free: 1.566 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002195/0.495, allocations: 243.4 kB / 0.7674 GB, free: 1.328 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0002395/0.4953, allocations: 274.5 kB / 0.7677 GB, free: 1.059 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0004879/0.4958, allocations: 0.6034 MB / 0.7683 GB, free: 464 kB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.4958, allocations: 0 / 0.7683 GB, free: 464 kB / 0.5762 GB Notification: Performance of FrontEnd: time 2.284e-06/0.4958, allocations: 3.984 kB / 0.7683 GB, free: 460 kB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.693e-06/0.4958, allocations: 0 / 0.7683 GB, free: 460 kB / 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.0009231/0.4967, allocations: 0.8208 MB / 0.7691 GB, free: 15.58 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.524e-05/0.4968, allocations: 16.03 kB / 0.7691 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.874e-05/0.4969, allocations: 98.45 kB / 0.7692 GB, free: 15.46 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.753e-05/0.497, allocations: 63.25 kB / 0.7693 GB, free: 15.4 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004652/0.4974, allocations: 413.7 kB / 0.7697 GB, free: 14.96 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.445e-05/0.4975, allocations: 45.3 kB / 0.7697 GB, free: 14.91 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.531e-05/0.4976, allocations: 55.94 kB / 0.7698 GB, free: 14.86 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008992/0.4985, allocations: 0.695 MB / 0.7704 GB, free: 14.08 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.541e-05/0.4985, allocations: 7.938 kB / 0.7704 GB, free: 14.07 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.123e-05/0.4985, allocations: 27.94 kB / 0.7705 GB, free: 14.05 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.515e-05/0.4986, allocations: 27.98 kB / 0.7705 GB, free: 14.02 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005756/0.4992, allocations: 378 kB / 0.7709 GB, free: 13.65 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002292/0.5015, allocations: 3.223 MB / 0.774 GB, free: 10.29 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002268/0.5017, allocations: 226 kB / 0.7742 GB, free: 9.973 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001727/0.5019, allocations: 132.6 kB / 0.7743 GB, free: 9.812 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 1.236e-05/0.5019, allocations: 4 kB / 0.7743 GB, free: 9.809 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.623e-05/0.5019, allocations: 46.44 kB / 0.7744 GB, free: 9.754 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=10): time 1.323e-06/0.5019, allocations: 0 / 0.7744 GB, free: 9.754 MB / 0.5919 GB Notification: Performance of matching and sorting (n=10): time 0.0006333/0.5026, allocations: 248.6 kB / 0.7746 GB, free: 9.504 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001037/0.5027, allocations: 292 kB / 0.7749 GB, free: 9.152 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007096/0.5034, allocations: 0.6877 MB / 0.7756 GB, free: 8.453 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.584e-05/0.5034, allocations: 25.7 kB / 0.7756 GB, free: 8.422 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001771/0.5036, allocations: 272.1 kB / 0.7759 GB, free: 8.152 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 3.026e-05/0.5037, allocations: 39.47 kB / 0.7759 GB, free: 8.113 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.674e-05/0.5037, allocations: 25.72 kB / 0.7759 GB, free: 8.082 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001231/0.5038, allocations: 370.8 kB / 0.7763 GB, free: 7.711 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001055/0.5039, allocations: 39.97 kB / 0.7763 GB, free: 7.672 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001696/0.5041, allocations: 101 kB / 0.7764 GB, free: 7.555 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002204/0.5043, allocations: 129 kB / 0.7765 GB, free: 7.41 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.5044, allocations: 0 / 0.7765 GB, free: 7.41 MB / 0.5919 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003118/0.5047, allocations: 196.9 kB / 0.7767 GB, free: 7.211 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.555e-05/0.5047, allocations: 11.94 kB / 0.7767 GB, free: 7.199 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.429e-06/0.5047, allocations: 0 / 0.7767 GB, free: 7.199 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.312e-05/0.5047, allocations: 4 kB / 0.7767 GB, free: 7.195 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002035/0.5049, allocations: 39.89 kB / 0.7768 GB, free: 7.156 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.054e-06/0.5049, allocations: 4 kB / 0.7768 GB, free: 7.152 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002075/0.5052, allocations: 63.39 kB / 0.7768 GB, free: 7.09 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.108e-05/0.5052, allocations: 11.98 kB / 0.7769 GB, free: 7.078 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.0001736/0.5054, allocations: 193.8 kB / 0.777 GB, free: 6.879 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002/0.5056, allocations: 71.12 kB / 0.7771 GB, free: 6.809 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.244e-05/0.5057, allocations: 60.31 kB / 0.7772 GB, free: 6.742 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.007e-06/0.5057, allocations: 4 kB / 0.7772 GB, free: 6.738 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.5057, allocations: 4 kB / 0.7772 GB, free: 6.734 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.5057, allocations: 1.312 kB / 0.7772 GB, free: 6.734 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001191/0.5069, allocations: 1.301 MB / 0.7784 GB, free: 5.344 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.599e-06/0.5069, allocations: 8.172 kB / 0.7785 GB, free: 5.336 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001777/0.5071, allocations: 43.83 kB / 0.7785 GB, free: 5.293 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.5071, allocations: 4 kB / 0.7785 GB, free: 5.289 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.085e-05/0.5071, allocations: 8 kB / 0.7785 GB, free: 5.281 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.577e-06/0.5071, allocations: 4 kB / 0.7785 GB, free: 5.277 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/0.5071, allocations: 7.938 kB / 0.7785 GB, free: 5.27 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004033/0.5075, allocations: 330.4 kB / 0.7788 GB, free: 4.902 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001288/0.5077, allocations: 152.3 kB / 0.779 GB, free: 4.734 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.301e-05/0.5077, allocations: 4.875 kB / 0.779 GB, free: 4.73 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001773/0.5079, allocations: 15.98 kB / 0.779 GB, free: 4.715 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.672e-05/0.5079, allocations: 19.92 kB / 0.779 GB, free: 4.695 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.683e-06/0.508, allocations: 4 kB / 0.779 GB, free: 4.691 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0004799/0.5084, allocations: 0.4951 MB / 0.7795 GB, free: 4.199 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5084, allocations: 0 / 0.7795 GB, free: 4.199 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003563/0.5088, allocations: 80.22 kB / 0.7796 GB, free: 4.121 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.0007542/0.5096, allocations: 0.9154 MB / 0.7805 GB, free: 3.164 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0002724/0.5099, allocations: 103.8 kB / 0.7806 GB, free: 3.062 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.5099, allocations: 4.375 kB / 0.7806 GB, free: 3.059 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001324/0.51, allocations: 59.84 kB / 0.7806 GB, free: 3 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001253/0.5113, allocations: 277 kB / 0.7809 GB, free: 2.742 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005113/0.5164, allocations: 4.673 MB / 0.7855 GB, free: 13.92 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004615/0.5169, allocations: 0.9053 MB / 0.7863 GB, free: 12.99 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.000228/0.5171, allocations: 112.5 kB / 0.7865 GB, free: 12.88 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001684/0.5173, allocations: 167.4 kB / 0.7866 GB, free: 12.71 MB / 0.6075 GB Notification: Performance of SimCode: time 3.81e-07/0.5173, allocations: 0 / 0.7866 GB, free: 12.71 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.654/3.172, allocations: 12.96 MB / 0.7993 GB, free: 16 kB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002303/3.172, allocations: 230.4 kB / 0.7995 GB, free: 15.76 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.995/5.166, allocations: 0 / 0.7995 GB, free: 15.76 MB / 0.6231 GB (rm -f IDEAS_dev_IDEAS.Fluid.Sources.Examples.PropertySource_h.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Sources.Examples.PropertySource_h.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Sources.Examples.PropertySource_h.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Sources.Examples.PropertySource_h.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Sources_Examples_PropertySource_h_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Sources_Examples_PropertySource_h.fmu > IDEAS_dev_IDEAS.Fluid.Sources.Examples.PropertySource_h.pipe 2>&1)