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: translateModel(IDEAS.Fluid.Sources.Examples.PropertySource_h,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Sources.Examples.PropertySource_h") translateModel(IDEAS.Fluid.Sources.Examples.PropertySource_h,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Sources.Examples.PropertySource_h") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001216/0.001216, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001338/0.001338, allocations: 190.9 kB / 16.25 MB, free: 6.633 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.409/1.409, allocations: 222.9 MB / 239.9 MB, free: 4.547 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.023/1.023, allocations: 135.1 MB / 425.2 MB, free: 11.95 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001441/0.00144, allocations: 60.23 kB / 0.5048 GB, free: 5.633 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1626/0.1641, allocations: 80.93 MB / 0.5839 GB, free: 4.875 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.PropertySource_h): time 0.506/0.6701, allocations: 173.6 MB / 0.7534 GB, free: 14.75 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.009748/0.6799, allocations: 8.622 MB / 0.7619 GB, free: 7.051 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000895/0.6809, allocations: 15.88 kB / 0.7619 GB, free: 7.035 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0008081/0.6817, allocations: 254.4 kB / 0.7621 GB, free: 6.785 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0007925/0.6825, allocations: 286.7 kB / 0.7624 GB, free: 6.504 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009748/0.6835, allocations: 348.9 kB / 0.7627 GB, free: 6.168 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001153/0.6847, allocations: 1.154 MB / 0.7639 GB, free: 5.012 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007601/0.6855, allocations: 0.553 MB / 0.7644 GB, free: 4.457 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005329/0.6908, allocations: 1.993 MB / 0.7663 GB, free: 2.457 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005921/0.6914, allocations: 382.4 kB / 0.7667 GB, free: 2.082 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 6.785e-05/0.6915, allocations: 40 kB / 0.7667 GB, free: 2.043 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002377/0.6917, allocations: 75.97 kB / 0.7668 GB, free: 1.969 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002651/0.692, allocations: 267.3 kB / 0.7671 GB, free: 1.707 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0003095/0.6923, allocations: 278.5 kB / 0.7673 GB, free: 1.434 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0007269/0.6931, allocations: 0.6268 MB / 0.7679 GB, free: 0.8047 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 8.386e-06/0.6931, allocations: 4 kB / 0.768 GB, free: 0.8008 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.983e-06/0.6931, allocations: 0 / 0.768 GB, free: 0.8008 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 9.688e-06/0.6931, allocations: 0 / 0.768 GB, free: 0.8008 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.001166/0.6943, allocations: 0.8211 MB / 0.7688 GB, free: 15.93 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.008e-05/0.6943, allocations: 8.031 kB / 0.7688 GB, free: 15.92 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001091/0.6944, allocations: 75.12 kB / 0.7688 GB, free: 15.85 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005382/0.695, allocations: 414.2 kB / 0.7692 GB, free: 15.41 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.636e-05/0.6951, allocations: 37.3 kB / 0.7693 GB, free: 15.37 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.976e-05/0.6951, allocations: 52 kB / 0.7693 GB, free: 15.32 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001053/0.6962, allocations: 0.6988 MB / 0.77 GB, free: 14.54 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.008e-05/0.6962, allocations: 5.438 kB / 0.77 GB, free: 14.53 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.383e-05/0.6963, allocations: 31.86 kB / 0.77 GB, free: 14.5 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.25e-05/0.6964, allocations: 39.92 kB / 0.7701 GB, free: 14.46 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006178/0.697, allocations: 367.4 kB / 0.7704 GB, free: 14.1 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002571/0.6996, allocations: 3.238 MB / 0.7736 GB, free: 10.72 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002737/0.6999, allocations: 222.2 kB / 0.7738 GB, free: 10.41 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001865/0.7001, allocations: 120.5 kB / 0.7739 GB, free: 10.27 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 1.792e-05/0.7001, allocations: 11.94 kB / 0.7739 GB, free: 10.25 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.235e-05/0.7001, allocations: 42.5 kB / 0.774 GB, free: 10.2 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=10): time 1.753e-06/0.7001, allocations: 4 kB / 0.774 GB, free: 10.2 MB / 0.5919 GB Notification: Performance of matching and sorting (n=10): time 0.0006917/0.7008, allocations: 245.8 kB / 0.7742 GB, free: 9.953 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001421/0.701, allocations: 294.7 kB / 0.7745 GB, free: 9.598 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007482/0.7017, allocations: 0.6877 MB / 0.7752 GB, free: 8.898 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.446e-05/0.7018, allocations: 29.7 kB / 0.7752 GB, free: 8.863 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002185/0.702, allocations: 268.1 kB / 0.7754 GB, free: 8.598 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 3.974e-05/0.702, allocations: 35.53 kB / 0.7755 GB, free: 8.562 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.657e-05/0.7021, allocations: 29.72 kB / 0.7755 GB, free: 8.527 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001606/0.7023, allocations: 370.8 kB / 0.7759 GB, free: 8.156 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001133/0.7024, allocations: 35.97 kB / 0.7759 GB, free: 8.121 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001693/0.7026, allocations: 96.22 kB / 0.776 GB, free: 8.012 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002482/0.7029, allocations: 133 kB / 0.7761 GB, free: 7.863 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.966e-06/0.7029, allocations: 0 / 0.7761 GB, free: 7.863 MB / 0.5919 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003441/0.7032, allocations: 189 kB / 0.7763 GB, free: 7.672 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.418e-05/0.7032, allocations: 7.938 kB / 0.7763 GB, free: 7.664 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.466e-06/0.7033, allocations: 4 kB / 0.7763 GB, free: 7.66 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.586e-05/0.7033, allocations: 0 / 0.7763 GB, free: 7.66 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002266/0.7035, allocations: 39.95 kB / 0.7763 GB, free: 7.621 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.278e-06/0.7035, allocations: 4 kB / 0.7763 GB, free: 7.617 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002471/0.7038, allocations: 67.33 kB / 0.7764 GB, free: 7.551 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.331e-05/0.7038, allocations: 7.984 kB / 0.7764 GB, free: 7.543 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.0002016/0.704, allocations: 201.7 kB / 0.7766 GB, free: 7.336 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001987/0.7042, allocations: 67.41 kB / 0.7767 GB, free: 7.27 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.69e-05/0.7043, allocations: 60.31 kB / 0.7767 GB, free: 7.207 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.48e-06/0.7043, allocations: 7.938 kB / 0.7767 GB, free: 7.199 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.885e-06/0.7044, allocations: 4 kB / 0.7767 GB, free: 7.195 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.498e-06/0.7044, allocations: 0 / 0.7767 GB, free: 7.195 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001446/0.7058, allocations: 1.301 MB / 0.778 GB, free: 5.805 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.7058, allocations: 192 / 0.778 GB, free: 5.805 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001943/0.706, allocations: 43.89 kB / 0.778 GB, free: 5.762 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.949e-06/0.706, allocations: 7.938 kB / 0.7781 GB, free: 5.754 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.669e-05/0.7061, allocations: 8 kB / 0.7781 GB, free: 5.746 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.16e-06/0.7061, allocations: 4.938 kB / 0.7781 GB, free: 5.742 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/0.7061, allocations: 0 / 0.7781 GB, free: 5.742 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004514/0.7065, allocations: 346.4 kB / 0.7784 GB, free: 5.359 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001553/0.7067, allocations: 144.4 kB / 0.7785 GB, free: 5.199 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.982e-05/0.7068, allocations: 5.25 kB / 0.7785 GB, free: 5.195 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001874/0.707, allocations: 19.89 kB / 0.7786 GB, free: 5.176 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.125e-05/0.707, allocations: 19.92 kB / 0.7786 GB, free: 5.156 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.454e-06/0.707, allocations: 4 kB / 0.7786 GB, free: 5.152 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0005859/0.7076, allocations: 0.4951 MB / 0.7791 GB, free: 4.664 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7076, allocations: 0 / 0.7791 GB, free: 4.664 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.000419/0.7081, allocations: 79.94 kB / 0.7791 GB, free: 4.586 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.0003724/0.7084, allocations: 144.4 kB / 0.7793 GB, free: 4.445 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0003559/0.7088, allocations: 107.8 kB / 0.7794 GB, free: 4.34 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.7088, allocations: 0 / 0.7794 GB, free: 4.34 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001483/0.709, allocations: 60.64 kB / 0.7794 GB, free: 4.281 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001458/0.7104, allocations: 287.4 kB / 0.7797 GB, free: 4.023 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001389/0.7118, allocations: 1.019 MB / 0.7807 GB, free: 2.949 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005055/0.7124, allocations: 0.905 MB / 0.7816 GB, free: 2.02 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0002567/0.7126, allocations: 100.6 kB / 0.7817 GB, free: 1.918 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.712e-05/0.7127, allocations: 39.44 kB / 0.7817 GB, free: 1.879 MB / 0.5919 GB Notification: Performance of SimCode: time 5.42e-07/0.7127, allocations: 3.938 kB / 0.7817 GB, free: 1.875 MB / 0.5919 GB Notification: Performance of Templates: time 0.01527/0.728, allocations: 8.312 MB / 0.7898 GB, free: 9.73 MB / 0.6075 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Sources.Examples.PropertySource_h.makefile (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 & ./IDEAS_dev_IDEAS.Fluid.Sources.Examples.PropertySource_h -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Sources.Examples.PropertySource_h.pipe 2>&1)