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.008179/0.008179, allocations: 103.5 kB / 15.74 MB, free: 6.039 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.001503/0.001503, allocations: 201.7 kB / 16.68 MB, free: 5.965 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.392/1.392, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9798/0.9798, allocations: 135.1 MB / 425.7 MB, free: 11.96 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001202/0.001202, allocations: 63.89 kB / 0.5856 GB, free: 3.359 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.498/0.4992, allocations: 80.92 MB / 0.6646 GB, free: 7.586 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.PropertySource_h): time 0.1867/0.6859, allocations: 176 MB / 0.8365 GB, free: 1.004 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.01014/0.6961, allocations: 8.709 MB / 0.845 GB, free: 8.273 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007714/0.6969, allocations: 19.88 kB / 0.845 GB, free: 8.254 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.0008532/0.6978, allocations: 301.8 kB / 0.8453 GB, free: 7.957 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.0008371/0.6987, allocations: 302.4 kB / 0.8456 GB, free: 7.66 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.001105/0.6998, allocations: 377.2 kB / 0.846 GB, free: 7.293 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.00124/0.7011, allocations: 1.152 MB / 0.8471 GB, free: 6.137 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008735/0.7019, allocations: 0.5939 MB / 0.8477 GB, free: 5.539 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004778/0.7067, allocations: 2.062 MB / 0.8497 GB, free: 3.469 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005198/0.7073, allocations: 354.4 kB / 0.85 GB, free: 3.121 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 7.318e-05/0.7074, allocations: 40 kB / 0.8501 GB, free: 3.082 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002405/0.7076, allocations: 83.89 kB / 0.8501 GB, free: 3 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0002563/0.7079, allocations: 267.3 kB / 0.8504 GB, free: 2.738 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0003984/0.7083, allocations: 270.6 kB / 0.8507 GB, free: 2.473 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.0007483/0.709, allocations: 0.6491 MB / 0.8513 GB, free: 1.824 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.709, allocations: 0 / 0.8513 GB, free: 1.824 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.203e-06/0.709, allocations: 0 / 0.8513 GB, free: 1.824 MB / 0.67 GB Notification: Performance of Transformations before backend: time 9.417e-06/0.7091, allocations: 4 kB / 0.8513 GB, free: 1.82 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.001033/0.7101, allocations: 0.8489 MB / 0.8521 GB, free: 0.918 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 3.762e-05/0.7101, allocations: 11.97 kB / 0.8521 GB, free: 0.9062 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001082/0.7103, allocations: 63.62 kB / 0.8522 GB, free: 0.8438 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006584/0.7109, allocations: 446.4 kB / 0.8526 GB, free: 376 kB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.563e-05/0.711, allocations: 45.31 kB / 0.8527 GB, free: 332 kB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.26e-05/0.711, allocations: 55.98 kB / 0.8527 GB, free: 276 kB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001045/0.7121, allocations: 0.7066 MB / 0.8534 GB, free: 15.48 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.625e-05/0.7121, allocations: 0 / 0.8534 GB, free: 15.48 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.666e-05/0.7122, allocations: 27.98 kB / 0.8534 GB, free: 15.45 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.756e-05/0.7122, allocations: 27.92 kB / 0.8535 GB, free: 15.43 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006146/0.7128, allocations: 375.4 kB / 0.8538 GB, free: 15.06 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002737/0.7156, allocations: 3.22 MB / 0.857 GB, free: 11.7 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000243/0.7158, allocations: 218.1 kB / 0.8572 GB, free: 11.39 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001913/0.716, allocations: 128.6 kB / 0.8573 GB, free: 11.23 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 2.066e-05/0.7161, allocations: 15.88 kB / 0.8573 GB, free: 11.22 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.674e-05/0.7161, allocations: 38.5 kB / 0.8573 GB, free: 11.17 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=10): time 1.513e-06/0.7161, allocations: 0 / 0.8573 GB, free: 11.17 MB / 0.6856 GB Notification: Performance of matching and sorting (n=10): time 0.0006858/0.7168, allocations: 249.2 kB / 0.8576 GB, free: 10.92 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001623/0.717, allocations: 295.6 kB / 0.8579 GB, free: 10.57 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007791/0.7178, allocations: 0.6917 MB / 0.8585 GB, free: 9.863 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 2.228e-05/0.7178, allocations: 26.03 kB / 0.8586 GB, free: 9.832 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.000201/0.718, allocations: 264.3 kB / 0.8588 GB, free: 9.57 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 3.818e-05/0.718, allocations: 43.67 kB / 0.8589 GB, free: 9.527 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.429e-05/0.7181, allocations: 29.66 kB / 0.8589 GB, free: 9.492 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001533/0.7183, allocations: 370.8 kB / 0.8592 GB, free: 9.121 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001088/0.7184, allocations: 35.97 kB / 0.8593 GB, free: 9.086 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001613/0.7186, allocations: 105 kB / 0.8594 GB, free: 8.965 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002399/0.7188, allocations: 129 kB / 0.8595 GB, free: 8.82 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.7188, allocations: 0 / 0.8595 GB, free: 8.82 MB / 0.6856 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003361/0.7192, allocations: 193.1 kB / 0.8597 GB, free: 8.625 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.684e-05/0.7192, allocations: 12.19 kB / 0.8597 GB, free: 8.613 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.401e-06/0.7192, allocations: 64 / 0.8597 GB, free: 8.613 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.733e-05/0.7192, allocations: 8 kB / 0.8597 GB, free: 8.605 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002148/0.7194, allocations: 35.95 kB / 0.8597 GB, free: 8.57 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.067e-06/0.7195, allocations: 4 kB / 0.8597 GB, free: 8.566 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002012/0.7197, allocations: 55.5 kB / 0.8598 GB, free: 8.512 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.437e-05/0.7197, allocations: 12 kB / 0.8598 GB, free: 8.5 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.0001971/0.7199, allocations: 201.7 kB / 0.86 GB, free: 8.293 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002152/0.7201, allocations: 67.55 kB / 0.8601 GB, free: 8.227 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.774e-05/0.7202, allocations: 56.33 kB / 0.8601 GB, free: 8.168 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.929e-06/0.7202, allocations: 4 kB / 0.8601 GB, free: 8.164 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.352e-06/0.7202, allocations: 4 kB / 0.8601 GB, free: 8.16 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.18e-06/0.7202, allocations: 4 kB / 0.8601 GB, free: 8.156 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001335/0.7216, allocations: 1.301 MB / 0.8614 GB, free: 6.766 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.439e-06/0.7216, allocations: 4 kB / 0.8614 GB, free: 6.762 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001875/0.7218, allocations: 44.19 kB / 0.8614 GB, free: 6.719 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/0.7218, allocations: 0 / 0.8614 GB, free: 6.719 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.32e-05/0.7218, allocations: 7.984 kB / 0.8614 GB, free: 6.711 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.32e-06/0.7218, allocations: 7.938 kB / 0.8615 GB, free: 6.703 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.288e-06/0.7218, allocations: 4 kB / 0.8615 GB, free: 6.699 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003827/0.7222, allocations: 334.7 kB / 0.8618 GB, free: 6.328 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001459/0.7224, allocations: 152.7 kB / 0.8619 GB, free: 6.16 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.442e-05/0.7225, allocations: 8 kB / 0.8619 GB, free: 6.152 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000172/0.7227, allocations: 15.92 kB / 0.8619 GB, free: 6.137 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.138e-05/0.7227, allocations: 11.98 kB / 0.862 GB, free: 6.125 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.075e-06/0.7227, allocations: 4 kB / 0.862 GB, free: 6.121 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0005775/0.7233, allocations: 0.4912 MB / 0.8624 GB, free: 5.637 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.503e-06/0.7233, allocations: 0 / 0.8624 GB, free: 5.637 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.0003754/0.7237, allocations: 87.88 kB / 0.8625 GB, free: 5.551 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.0003148/0.724, allocations: 158.1 kB / 0.8627 GB, free: 5.391 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.0003052/0.7243, allocations: 100.1 kB / 0.8628 GB, free: 5.293 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 2.494e-06/0.7243, allocations: 4.062 kB / 0.8628 GB, free: 5.289 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0001553/0.7245, allocations: 67.83 kB / 0.8628 GB, free: 5.223 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001321/0.7258, allocations: 282.6 kB / 0.8631 GB, free: 4.953 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001178/0.727, allocations: 0.8909 MB / 0.864 GB, free: 4.004 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004473/0.7275, allocations: 0.905 MB / 0.8649 GB, free: 3.074 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0002327/0.7277, allocations: 104.6 kB / 0.865 GB, free: 2.969 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.969e-05/0.7278, allocations: 39.38 kB / 0.865 GB, free: 2.93 MB / 0.6856 GB Notification: Performance of SimCode: time 3.51e-07/0.7278, allocations: 0 / 0.865 GB, free: 2.93 MB / 0.6856 GB Notification: Performance of Templates: time 0.3523/1.08, allocations: 8.441 MB / 0.8732 GB, free: 193.1 MB / 0.6856 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)