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.001195/0.001195, allocations: 108.7 kB / 16.41 MB, free: 6.027 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.001237/0.001237, allocations: 186.2 kB / 17.34 MB, free: 5.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.337/1.337, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8097/0.8097, allocations: 132.2 MB / 423.4 MB, free: 6.637 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001322/0.001322, allocations: 61.22 kB / 0.582 GB, free: 23.73 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.17/0.1714, allocations: 80.2 MB / 0.6603 GB, free: 10.29 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.PropertySource_h): time 0.7208/0.8923, allocations: 176 MB / 0.8322 GB, free: 14.73 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0106/0.9029, allocations: 8.703 MB / 0.8407 GB, free: 7.672 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001187/0.9041, allocations: 20.09 kB / 0.8407 GB, free: 7.664 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0008678/0.9051, allocations: 297 kB / 0.841 GB, free: 7.406 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0007914/0.9059, allocations: 313.6 kB / 0.8413 GB, free: 7.152 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001078/0.907, allocations: 374.8 kB / 0.8416 GB, free: 6.871 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001152/0.9081, allocations: 1.144 MB / 0.8428 GB, free: 6.219 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008235/0.9089, allocations: 0.5931 MB / 0.8433 GB, free: 5.871 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005179/0.9141, allocations: 2.061 MB / 0.8453 GB, free: 4.477 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005142/0.9147, allocations: 348.4 kB / 0.8457 GB, free: 4.27 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 7.072e-05/0.9147, allocations: 42 kB / 0.8457 GB, free: 4.266 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002379/0.915, allocations: 88.36 kB / 0.8458 GB, free: 4.238 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0002447/0.9152, allocations: 256.9 kB / 0.846 GB, free: 4.082 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.00028/0.9155, allocations: 289.4 kB / 0.8463 GB, free: 3.895 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0007508/0.9163, allocations: 0.6405 MB / 0.847 GB, free: 3.473 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.9163, allocations: 3.938 kB / 0.847 GB, free: 3.469 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.593e-06/0.9163, allocations: 1.812 kB / 0.847 GB, free: 3.469 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.028e-05/0.9163, allocations: 0 / 0.847 GB, free: 3.469 MB / 0.6075 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.001094/0.9174, allocations: 0.824 MB / 0.8478 GB, free: 2.77 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.038e-05/0.9175, allocations: 14.06 kB / 0.8478 GB, free: 2.766 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001115/0.9176, allocations: 63.78 kB / 0.8478 GB, free: 2.734 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006718/0.9183, allocations: 450.6 kB / 0.8483 GB, free: 2.359 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.609e-05/0.9183, allocations: 43.61 kB / 0.8483 GB, free: 2.34 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.875e-05/0.9184, allocations: 47.22 kB / 0.8484 GB, free: 2.328 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009974/0.9194, allocations: 0.7135 MB / 0.849 GB, free: 1.785 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.982e-05/0.9194, allocations: 6.594 kB / 0.8491 GB, free: 1.781 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.583e-05/0.9195, allocations: 21.19 kB / 0.8491 GB, free: 1.766 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.122e-05/0.9195, allocations: 34.23 kB / 0.8491 GB, free: 1.754 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005939/0.9201, allocations: 370.2 kB / 0.8495 GB, free: 1.582 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002625/0.9228, allocations: 3.222 MB / 0.8526 GB, free: 14.61 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002803/0.9231, allocations: 216 kB / 0.8528 GB, free: 14.33 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000202/0.9233, allocations: 130.5 kB / 0.8529 GB, free: 14.21 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 1.242e-05/0.9233, allocations: 3.344 kB / 0.8529 GB, free: 14.21 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.828e-05/0.9233, allocations: 51.31 kB / 0.853 GB, free: 14.16 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=10): time 1.313e-06/0.9233, allocations: 0 / 0.853 GB, free: 14.16 MB / 0.6231 GB Notification: Performance of matching and sorting (n=10): time 0.0006781/0.924, allocations: 244.5 kB / 0.8532 GB, free: 14.02 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001563/0.9242, allocations: 299.3 kB / 0.8535 GB, free: 13.67 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007353/0.9249, allocations: 0.6781 MB / 0.8542 GB, free: 13.29 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 3.059e-05/0.925, allocations: 32.61 kB / 0.8542 GB, free: 13.25 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002107/0.9252, allocations: 264.6 kB / 0.8545 GB, free: 13.02 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 3.687e-05/0.9252, allocations: 34.36 kB / 0.8545 GB, free: 12.99 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.682e-05/0.9253, allocations: 38.64 kB / 0.8545 GB, free: 12.96 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001431/0.9254, allocations: 365.5 kB / 0.8549 GB, free: 12.61 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001099/0.9256, allocations: 36.48 kB / 0.8549 GB, free: 12.59 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001633/0.9257, allocations: 98.05 kB / 0.855 GB, free: 12.52 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002282/0.926, allocations: 127 kB / 0.8551 GB, free: 12.43 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.926, allocations: 192 / 0.8551 GB, free: 12.43 MB / 0.6231 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003224/0.9263, allocations: 190.2 kB / 0.8553 GB, free: 12.32 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.98e-05/0.9263, allocations: 13.22 kB / 0.8553 GB, free: 12.31 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/0.9263, allocations: 3.984 kB / 0.8553 GB, free: 12.3 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.563e-05/0.9264, allocations: 2.562 kB / 0.8553 GB, free: 12.3 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002252/0.9266, allocations: 51.39 kB / 0.8554 GB, free: 12.28 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.025e-06/0.9266, allocations: 2.844 kB / 0.8554 GB, free: 12.28 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001914/0.9268, allocations: 54.36 kB / 0.8554 GB, free: 12.24 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.038e-05/0.9268, allocations: 7.969 kB / 0.8554 GB, free: 12.24 MB / 0.6231 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.000206/0.9271, allocations: 202.4 kB / 0.8556 GB, free: 12.08 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002001/0.9273, allocations: 59.25 kB / 0.8557 GB, free: 12.05 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.293e-05/0.9273, allocations: 61.53 kB / 0.8557 GB, free: 12.01 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.04e-06/0.9274, allocations: 4.875 kB / 0.8557 GB, free: 12.01 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.915e-06/0.9274, allocations: 6.938 kB / 0.8558 GB, free: 12 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.031e-06/0.9274, allocations: 6.281 kB / 0.8558 GB, free: 12 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00142/0.9288, allocations: 1.301 MB / 0.857 GB, free: 10.79 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.476e-06/0.9288, allocations: 2.719 kB / 0.857 GB, free: 10.79 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001909/0.929, allocations: 43.23 kB / 0.8571 GB, free: 10.77 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.727e-06/0.929, allocations: 2.25 kB / 0.8571 GB, free: 10.77 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.114e-05/0.929, allocations: 5.75 kB / 0.8571 GB, free: 10.77 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.19e-06/0.9291, allocations: 6.031 kB / 0.8571 GB, free: 10.77 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.25e-06/0.9291, allocations: 11.06 kB / 0.8571 GB, free: 10.76 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004032/0.9295, allocations: 336.9 kB / 0.8574 GB, free: 10.46 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001458/0.9296, allocations: 145.3 kB / 0.8576 GB, free: 10.33 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.683e-05/0.9297, allocations: 2.906 kB / 0.8576 GB, free: 10.33 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001653/0.9299, allocations: 12.89 kB / 0.8576 GB, free: 10.32 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.466e-05/0.9299, allocations: 19.84 kB / 0.8576 GB, free: 10.31 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.916e-06/0.9299, allocations: 5.656 kB / 0.8576 GB, free: 10.31 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0005217/0.9305, allocations: 0.4922 MB / 0.8581 GB, free: 10.03 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9305, allocations: 0 / 0.8581 GB, free: 10.03 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0003622/0.9308, allocations: 89.42 kB / 0.8582 GB, free: 10.02 MB / 0.6231 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.000342/0.9312, allocations: 140.8 kB / 0.8583 GB, free: 9.902 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0003127/0.9315, allocations: 109.8 kB / 0.8584 GB, free: 9.852 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.9315, allocations: 2.594 kB / 0.8584 GB, free: 9.852 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0001304/0.9317, allocations: 53.5 kB / 0.8585 GB, free: 9.832 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001244/0.9329, allocations: 294.1 kB / 0.8587 GB, free: 9.691 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001306/0.9342, allocations: 0.9246 MB / 0.8596 GB, free: 9.051 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000474/0.9347, allocations: 0.9017 MB / 0.8605 GB, free: 8.172 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.293e-05/0.9348, allocations: 35.44 kB / 0.8606 GB, free: 8.141 MB / 0.6231 GB Notification: Performance of SimCode: time 2.21e-07/0.9348, allocations: 0 / 0.8606 GB, free: 8.141 MB / 0.6231 GB Notification: Performance of Templates: time 0.01114/0.9459, allocations: 7.852 MB / 0.8682 GB, free: 372 kB / 0.6231 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)