Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.CheckValve.conf.json 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/IDEAS 3.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) Running command: translateModel(IDEAS.Fluid.FixedResistances.Examples.CheckValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.CheckValve") translateModel(IDEAS.Fluid.FixedResistances.Examples.CheckValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.CheckValve") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001761/0.001761, allocations: 175.6 kB / 7.46 MB, free: 2.324 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.5941/0.5941, allocations: 133.5 MB / 141.4 MB, free: 15.69 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.118/1.118, allocations: 221.3 MB / 395 MB, free: 10.2 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008996/0.0008996, allocations: 90.16 kB / 477.8 MB, free: 10.83 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 6.402e-06/6.502e-06, allocations: 3 kB / 0.5528 GB, free: 89.06 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1105/0.1105, allocations: 82.3 MB / 0.6332 GB, free: 14.15 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7357/0.8463, allocations: 351.9 MB / 0.9769 GB, free: 266.3 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002079/0.8465, allocations: 86.88 kB / 0.9769 GB, free: 266.3 MB / 0.6823 GB Notification: Performance of FrontEnd: time 0.4179/1.264, allocations: 256 MB / 1.227 GB, free: 24 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 5.07e-05/1.265, allocations: 19.98 kB / 1.227 GB, free: 23.98 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 71 * Number of variables: 71 Notification: Performance of Generate backend data structure: time 0.001332/1.266, allocations: 0.8331 MB / 1.228 GB, free: 23.11 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 2.708e-05/1.266, allocations: 8.031 kB / 1.228 GB, free: 23.1 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001267/1.266, allocations: 67.19 kB / 1.228 GB, free: 23.03 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006583/1.267, allocations: 471.4 kB / 1.228 GB, free: 22.53 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.576e-06/1.267, allocations: 8 kB / 1.228 GB, free: 22.52 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.849e-05/1.267, allocations: 27.94 kB / 1.228 GB, free: 22.49 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003162/1.267, allocations: 189.3 kB / 1.228 GB, free: 22.31 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003193/1.267, allocations: 232.8 kB / 1.229 GB, free: 22.08 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.172e-05/1.267, allocations: 0 / 1.229 GB, free: 22.08 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.375e-05/1.267, allocations: 3.906 kB / 1.229 GB, free: 22.07 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.131e-06/1.268, allocations: 8 kB / 1.229 GB, free: 22.07 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001315/1.269, allocations: 1.229 MB / 1.23 GB, free: 20.73 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003912/1.269, allocations: 222.6 kB / 1.23 GB, free: 20.5 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001277/1.269, allocations: 96.84 kB / 1.23 GB, free: 20.41 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002456/1.27, allocations: 0.4986 MB / 1.231 GB, free: 19.8 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.408e-05/1.27, allocations: 50.47 kB / 1.231 GB, free: 19.74 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=25): time 1.352e-06/1.27, allocations: 0 / 1.231 GB, free: 19.74 MB / 0.6823 GB Notification: Performance of matching and sorting (n=25): time 0.0005446/1.27, allocations: 262.3 kB / 1.231 GB, free: 19.47 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.216e-05/1.27, allocations: 55.41 kB / 1.231 GB, free: 19.41 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002728/1.27, allocations: 357.2 kB / 1.231 GB, free: 19.05 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.657e-05/1.271, allocations: 25.7 kB / 1.231 GB, free: 19.02 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 6.085e-05/1.271, allocations: 184.6 kB / 1.232 GB, free: 18.83 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 4.119e-05/1.271, allocations: 78.77 kB / 1.232 GB, free: 18.75 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.402e-05/1.271, allocations: 4 kB / 1.232 GB, free: 18.75 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 5.524e-05/1.271, allocations: 358.7 kB / 1.232 GB, free: 18.39 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001237/1.271, allocations: 79.98 kB / 1.232 GB, free: 18.31 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000162/1.271, allocations: 178.6 kB / 1.232 GB, free: 18.1 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002543/1.271, allocations: 116.3 kB / 1.232 GB, free: 17.99 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/1.271, allocations: 3.984 kB / 1.232 GB, free: 17.98 MB / 0.6823 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.000621/1.272, allocations: 332.6 kB / 1.233 GB, free: 17.65 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 4.319e-05/1.272, allocations: 270.9 kB / 1.233 GB, free: 17.37 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.548e-06/1.272, allocations: 4.047 kB / 1.233 GB, free: 17.36 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000171/1.272, allocations: 48.72 kB / 1.233 GB, free: 17.31 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003521/1.273, allocations: 75.89 kB / 1.233 GB, free: 17.24 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002986/1.273, allocations: 0.5718 MB / 1.234 GB, free: 16.64 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004637/1.273, allocations: 67.73 kB / 1.234 GB, free: 16.57 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.735e-05/1.273, allocations: 19.98 kB / 1.234 GB, free: 16.55 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 5.621e-06/1.273, allocations: 10.66 kB / 1.234 GB, free: 16.55 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004234/1.274, allocations: 215.8 kB / 1.234 GB, free: 16.34 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.474e-06/1.274, allocations: 4 kB / 1.234 GB, free: 16.33 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.016e-06/1.274, allocations: 0 / 1.234 GB, free: 16.33 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003815/1.274, allocations: 83.89 kB / 1.234 GB, free: 16.25 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.585e-06/1.274, allocations: 7.984 kB / 1.234 GB, free: 16.24 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004193/1.275, allocations: 59.73 kB / 1.234 GB, free: 16.18 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.155e-05/1.275, allocations: 19.98 kB / 1.234 GB, free: 16.16 MB / 0.6823 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: checkValve_m_flow.a:VARIABLE(protected = true ) "Scaled pressure variable" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (34): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of prepare postOptimizeDAE: time 9.315e-05/1.275, allocations: 114.2 kB / 1.234 GB, free: 16.05 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.997e-05/1.275, allocations: 43.44 kB / 1.234 GB, free: 16 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006159/1.275, allocations: 351.2 kB / 1.235 GB, free: 15.65 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.34e-06/1.275, allocations: 4 kB / 1.235 GB, free: 15.64 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/1.275, allocations: 0 / 1.235 GB, free: 15.64 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.98e-06/1.275, allocations: 3.984 kB / 1.235 GB, free: 15.64 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009287/1.276, allocations: 0.8211 MB / 1.235 GB, free: 14.76 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/1.276, allocations: 0 / 1.235 GB, free: 14.76 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002425/1.277, allocations: 55.95 kB / 1.235 GB, free: 14.71 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001185/1.277, allocations: 36.97 kB / 1.235 GB, free: 14.67 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.821e-05/1.277, allocations: 7.984 kB / 1.236 GB, free: 14.66 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002085/1.277, allocations: 0.5679 MB / 1.236 GB, free: 14.07 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/1.277, allocations: 3.938 kB / 1.236 GB, free: 14.06 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004632/1.278, allocations: 473.9 kB / 1.237 GB, free: 13.54 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001258/1.278, allocations: 152.4 kB / 1.237 GB, free: 13.38 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.821e-05/1.278, allocations: 11.91 kB / 1.237 GB, free: 13.36 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003673/1.278, allocations: 39.95 kB / 1.237 GB, free: 13.32 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.243e-05/1.278, allocations: 19.97 kB / 1.237 GB, free: 13.3 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.098e-05/1.278, allocations: 8 kB / 1.237 GB, free: 13.3 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.00019/1.278, allocations: 274.9 kB / 1.237 GB, free: 13.03 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0006588/1.279, allocations: 271.5 kB / 1.237 GB, free: 12.77 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.000487/1.28, allocations: 372.5 kB / 1.238 GB, free: 12.4 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0006098/1.28, allocations: 389.8 kB / 1.238 GB, free: 12.02 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/1.28, allocations: 0 / 1.238 GB, free: 12.02 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0002099/1.28, allocations: 135.8 kB / 1.238 GB, free: 11.89 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001025/1.281, allocations: 211 kB / 1.238 GB, free: 11.68 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009633/1.282, allocations: 0.5937 MB / 1.239 GB, free: 11.05 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002961/1.283, allocations: 0.9137 MB / 1.24 GB, free: 10.11 MB / 0.6823 GB Notification: Performance of SimCode: time 2.6e-07/1.283, allocations: 0 / 1.24 GB, free: 10.11 MB / 0.6823 GB Notification: Performance of Templates: time 0.1867/1.469, allocations: 11.35 MB / 1.251 GB, free: 243.5 MB / 0.6823 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.CheckValve.makefile (rm -f IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.CheckValve.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.CheckValve.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.CheckValve.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.CheckValve.sim & ./IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.CheckValve -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.CheckValve.pipe 2>&1)