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: translateModel(IDEAS.Fluid.Sources.Examples.PropertySource_h,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Sources.Examples.PropertySource_h") translateModel(IDEAS.Fluid.Sources.Examples.PropertySource_h,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.001035/0.001035, allocations: 105.6 kB / 15.98 MB, free: 6.34 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.000995/0.0009949, allocations: 196.5 kB / 16.91 MB, free: 6.191 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.288/1.288, allocations: 222.9 MB / 240.6 MB, free: 15.41 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7702/0.7702, allocations: 132.2 MB / 422.9 MB, free: 6.812 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001256/0.001257, allocations: 59.91 kB / 0.5019 GB, free: 12.06 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3932/0.3945, allocations: 80.18 MB / 0.5802 GB, free: 27.41 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.PropertySource_h): time 0.187/0.5815, allocations: 173.6 MB / 0.7498 GB, free: 228 kB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.4691/1.051, allocations: 8.601 MB / 0.7582 GB, free: 1.828 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001036/1.052, allocations: 18.53 kB / 0.7582 GB, free: 1.828 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0008701/1.053, allocations: 255.1 kB / 0.7584 GB, free: 1.828 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0008573/1.054, allocations: 289.5 kB / 0.7587 GB, free: 1.812 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001077/1.055, allocations: 341.3 kB / 0.7591 GB, free: 1.805 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001602/1.056, allocations: 1.157 MB / 0.7602 GB, free: 1.801 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001018/1.057, allocations: 0.556 MB / 0.7607 GB, free: 1.754 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006157/1.063, allocations: 1.996 MB / 0.7627 GB, free: 1.699 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008151/1.064, allocations: 373.8 kB / 0.763 GB, free: 1.699 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001733/1.064, allocations: 41.03 kB / 0.7631 GB, free: 1.699 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003743/1.065, allocations: 79.14 kB / 0.7631 GB, free: 1.699 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.000447/1.065, allocations: 258.7 kB / 0.7634 GB, free: 1.699 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.000488/1.066, allocations: 290.7 kB / 0.7637 GB, free: 1.699 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0008268/1.067, allocations: 482.6 kB / 0.7641 GB, free: 1.656 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.621e-06/1.067, allocations: 0.5 kB / 0.7641 GB, free: 1.656 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.833e-06/1.067, allocations: 0 / 0.7641 GB, free: 1.656 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.102e-05/1.067, allocations: 1.562 kB / 0.7641 GB, free: 1.656 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.001236/1.068, allocations: 0.8214 MB / 0.7649 GB, free: 17.12 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.593e-05/1.068, allocations: 8.531 kB / 0.7649 GB, free: 17.12 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001123/1.068, allocations: 67.06 kB / 0.765 GB, free: 17.09 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005349/1.069, allocations: 414.4 kB / 0.7654 GB, free: 16.85 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.898e-05/1.069, allocations: 46.72 kB / 0.7654 GB, free: 16.84 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.984e-05/1.069, allocations: 53.02 kB / 0.7655 GB, free: 16.84 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001027/1.07, allocations: 0.7047 MB / 0.7662 GB, free: 16.6 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.926e-05/1.07, allocations: 2.531 kB / 0.7662 GB, free: 16.6 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.666e-05/1.07, allocations: 27.36 kB / 0.7662 GB, free: 16.59 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.146e-05/1.07, allocations: 31.5 kB / 0.7662 GB, free: 16.59 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005704/1.071, allocations: 377.1 kB / 0.7666 GB, free: 16.59 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002624/1.073, allocations: 3.225 MB / 0.7698 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002458/1.073, allocations: 224.6 kB / 0.77 GB, free: 13.96 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002047/1.074, allocations: 129.9 kB / 0.7701 GB, free: 13.89 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 1.801e-05/1.074, allocations: 5.688 kB / 0.7701 GB, free: 13.89 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.602e-05/1.074, allocations: 43.34 kB / 0.7701 GB, free: 13.85 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=10): time 3.075e-06/1.074, allocations: 0.9062 kB / 0.7701 GB, free: 13.85 MB / 0.5919 GB Notification: Performance of matching and sorting (n=10): time 0.0007105/1.074, allocations: 251.6 kB / 0.7704 GB, free: 13.79 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000124/1.075, allocations: 295.2 kB / 0.7707 GB, free: 13.44 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007926/1.075, allocations: 0.6845 MB / 0.7713 GB, free: 13.31 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.159e-05/1.075, allocations: 32.05 kB / 0.7714 GB, free: 13.28 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001693/1.076, allocations: 268.8 kB / 0.7716 GB, free: 13.18 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 3.635e-05/1.076, allocations: 34.05 kB / 0.7716 GB, free: 13.16 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.418e-05/1.076, allocations: 32.33 kB / 0.7717 GB, free: 13.15 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001424/1.076, allocations: 370.7 kB / 0.772 GB, free: 12.84 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001123/1.076, allocations: 32.55 kB / 0.7721 GB, free: 12.84 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001662/1.076, allocations: 98.67 kB / 0.7722 GB, free: 12.79 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002483/1.076, allocations: 127.6 kB / 0.7723 GB, free: 12.74 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/1.076, allocations: 1.219 kB / 0.7723 GB, free: 12.74 MB / 0.5919 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003557/1.077, allocations: 193.2 kB / 0.7725 GB, free: 12.68 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.737e-05/1.077, allocations: 5.438 kB / 0.7725 GB, free: 12.68 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.414e-06/1.077, allocations: 3.625 kB / 0.7725 GB, free: 12.68 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.539e-05/1.077, allocations: 2.656 kB / 0.7725 GB, free: 12.68 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002174/1.077, allocations: 43.88 kB / 0.7725 GB, free: 12.68 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.917e-06/1.077, allocations: 8.047 kB / 0.7725 GB, free: 12.68 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002453/1.077, allocations: 60.36 kB / 0.7726 GB, free: 12.64 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.343e-05/1.077, allocations: 8 kB / 0.7726 GB, free: 12.64 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.0001906/1.077, allocations: 200.7 kB / 0.7728 GB, free: 12.53 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002029/1.078, allocations: 59.59 kB / 0.7728 GB, free: 12.5 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.637e-05/1.078, allocations: 60.28 kB / 0.7729 GB, free: 12.49 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.021e-05/1.078, allocations: 4.844 kB / 0.7729 GB, free: 12.49 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.021e-05/1.078, allocations: 6.344 kB / 0.7729 GB, free: 12.48 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.811e-06/1.078, allocations: 7.906 kB / 0.7729 GB, free: 12.48 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001409/1.079, allocations: 1.306 MB / 0.7742 GB, free: 11.51 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.44e-06/1.079, allocations: 2.344 kB / 0.7742 GB, free: 11.51 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001969/1.079, allocations: 43.28 kB / 0.7742 GB, free: 11.51 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.292e-06/1.079, allocations: 5.531 kB / 0.7742 GB, free: 11.51 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.412e-05/1.08, allocations: 6.625 kB / 0.7742 GB, free: 11.51 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.961e-06/1.08, allocations: 7.344 kB / 0.7742 GB, free: 11.51 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-06/1.08, allocations: 2.469 kB / 0.7743 GB, free: 11.51 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004071/1.08, allocations: 337.8 kB / 0.7746 GB, free: 11.28 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001583/1.08, allocations: 153.7 kB / 0.7747 GB, free: 11.15 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.175e-05/1.08, allocations: 7.188 kB / 0.7747 GB, free: 11.15 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001982/1.08, allocations: 13.02 kB / 0.7747 GB, free: 11.15 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.663e-05/1.08, allocations: 17.78 kB / 0.7748 GB, free: 11.14 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.308e-06/1.08, allocations: 6.562 kB / 0.7748 GB, free: 11.14 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0005709/1.081, allocations: 0.4976 MB / 0.7752 GB, free: 11.05 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.3e-07/1.081, allocations: 0.9062 kB / 0.7753 GB, free: 11.05 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0004246/1.081, allocations: 81.12 kB / 0.7753 GB, free: 11.05 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.0003228/1.082, allocations: 133.8 kB / 0.7755 GB, free: 10.96 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0003224/1.082, allocations: 105 kB / 0.7756 GB, free: 10.96 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/1.082, allocations: 0.875 kB / 0.7756 GB, free: 10.96 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001429/1.082, allocations: 64.22 kB / 0.7756 GB, free: 10.96 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001699/1.084, allocations: 286.2 kB / 0.7759 GB, free: 10.93 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001353/1.085, allocations: 1.058 MB / 0.7769 GB, free: 10.34 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004285/1.086, allocations: 0.91 MB / 0.7778 GB, free: 9.641 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.854e-05/1.086, allocations: 37.88 kB / 0.7778 GB, free: 9.633 MB / 0.5919 GB Notification: Performance of SimCode: time 4.01e-07/1.086, allocations: 0 / 0.7778 GB, free: 9.633 MB / 0.5919 GB Notification: Performance of Templates: time 0.01262/1.099, allocations: 7.803 MB / 0.7855 GB, free: 9.117 MB / 0.5919 GB make -j1 -f IDEAS_IDEAS.Fluid.Sources.Examples.PropertySource_h.makefile (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 & ./IDEAS_IDEAS.Fluid.Sources.Examples.PropertySource_h -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Sources.Examples.PropertySource_h.pipe 2>&1)