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/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.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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0068/0.0068, allocations: 101.9 kB / 15.73 MB, free: 6.008 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.001493/0.001493, allocations: 190.9 kB / 16.67 MB, free: 5.949 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.507/1.507, allocations: 222.9 MB / 240.4 MB, free: 4.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9393/0.9393, allocations: 135.1 MB / 425.7 MB, free: 12.04 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001149/0.001149, allocations: 63.91 kB / 0.5856 GB, free: 3.406 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.481/0.4821, allocations: 80.92 MB / 0.6646 GB, free: 7.602 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Examples.CheckValve): time 0.02769/0.5099, allocations: 20.75 MB / 0.6849 GB, free: 6.934 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.01059/0.5205, allocations: 4.948 MB / 0.6897 GB, free: 2.898 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00125/0.5218, allocations: 18.03 kB / 0.6897 GB, free: 2.891 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001412/0.5233, allocations: 283.3 kB / 0.69 GB, free: 2.652 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.004257/0.5276, allocations: 0.8538 MB / 0.6908 GB, free: 1.98 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.003126/0.5307, allocations: 0.7146 MB / 0.6915 GB, free: 1.449 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.003319/0.5341, allocations: 1.382 MB / 0.6929 GB, free: 0.6641 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001401/0.5355, allocations: 440.8 kB / 0.6933 GB, free: 404 kB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002447/0.538, allocations: 0.5796 MB / 0.6939 GB, free: 60 kB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001598/0.5396, allocations: 445 kB / 0.6943 GB, free: 15.8 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0002534/0.5398, allocations: 38.34 kB / 0.6943 GB, free: 15.8 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00253/0.5424, allocations: 0.6346 MB / 0.695 GB, free: 15.45 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0002927/0.5427, allocations: 129.4 kB / 0.6951 GB, free: 15.35 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0007405/0.5435, allocations: 287.8 kB / 0.6954 GB, free: 15.17 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.002562/0.546, allocations: 0.8581 MB / 0.6962 GB, free: 14.62 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.76e-06/0.546, allocations: 0 / 0.6962 GB, free: 14.62 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.994e-06/0.5461, allocations: 0 / 0.6962 GB, free: 14.62 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 2.966e-05/0.5461, allocations: 0 / 0.6962 GB, free: 14.62 MB / 0.5294 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.003018/0.5491, allocations: 0.9216 MB / 0.6971 GB, free: 13.87 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 5.052e-05/0.5492, allocations: 9.531 kB / 0.6971 GB, free: 13.87 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003197/0.5495, allocations: 67.3 kB / 0.6972 GB, free: 13.83 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001266/0.5508, allocations: 480.2 kB / 0.6976 GB, free: 13.42 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.731e-05/0.5508, allocations: 23.78 kB / 0.6976 GB, free: 13.41 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.364e-05/0.5509, allocations: 39.38 kB / 0.6977 GB, free: 13.4 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001072/0.552, allocations: 306.9 kB / 0.698 GB, free: 13.22 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.985e-05/0.5521, allocations: 3.984 kB / 0.698 GB, free: 13.21 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.353e-05/0.5521, allocations: 11 kB / 0.698 GB, free: 13.21 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.474e-05/0.5521, allocations: 7.375 kB / 0.698 GB, free: 13.21 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00093/0.5531, allocations: 261.5 kB / 0.6982 GB, free: 13.09 MB / 0.5294 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003381/0.5565, allocations: 1.339 MB / 0.6996 GB, free: 11.94 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007568/0.5572, allocations: 259.9 kB / 0.6998 GB, free: 11.81 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004169/0.5577, allocations: 135 kB / 0.6999 GB, free: 11.74 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006725/0.5584, allocations: 0.4913 MB / 0.7004 GB, free: 11.16 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.882e-05/0.5584, allocations: 40.81 kB / 0.7004 GB, free: 11.12 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=25): time 2.364e-06/0.5584, allocations: 4 kB / 0.7005 GB, free: 11.11 MB / 0.5294 GB Notification: Performance of matching and sorting (n=25): time 0.002343/0.5608, allocations: 0.5582 MB / 0.701 GB, free: 10.78 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.288e-05/0.5608, allocations: 53.72 kB / 0.701 GB, free: 10.72 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006141/0.5615, allocations: 470.7 kB / 0.7015 GB, free: 10.43 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 4.43e-05/0.5615, allocations: 35.02 kB / 0.7015 GB, free: 10.39 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002025/0.5617, allocations: 248.7 kB / 0.7018 GB, free: 10.18 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 7.624e-05/0.5618, allocations: 88.41 kB / 0.7019 GB, free: 10.1 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001409/0.562, allocations: 69.22 kB / 0.7019 GB, free: 10.05 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001666/0.5621, allocations: 358.3 kB / 0.7023 GB, free: 9.707 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00032/0.5625, allocations: 122.8 kB / 0.7024 GB, free: 9.645 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003952/0.5629, allocations: 185.3 kB / 0.7026 GB, free: 9.523 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006214/0.5635, allocations: 275.5 kB / 0.7028 GB, free: 9.379 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.521e-06/0.5635, allocations: 1.094 kB / 0.7028 GB, free: 9.379 MB / 0.5294 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.00164/0.5652, allocations: 489.5 kB / 0.7033 GB, free: 9.145 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.109e-05/0.5652, allocations: 6.281 kB / 0.7033 GB, free: 9.145 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-06/0.5652, allocations: 0 / 0.7033 GB, free: 9.145 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004056/0.5656, allocations: 75.14 kB / 0.7034 GB, free: 9.098 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003485/0.566, allocations: 65.14 kB / 0.7034 GB, free: 9.082 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004589/0.5665, allocations: 0.5719 MB / 0.704 GB, free: 8.52 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004499/0.5669, allocations: 41.44 kB / 0.704 GB, free: 8.496 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.943e-05/0.567, allocations: 22.2 kB / 0.704 GB, free: 8.484 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004355/0.5674, allocations: 242 kB / 0.7043 GB, free: 8.324 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003342/0.5678, allocations: 173.7 kB / 0.7044 GB, free: 8.215 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005824/0.5683, allocations: 271.9 kB / 0.7047 GB, free: 8.066 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.282e-06/0.5684, allocations: 0 / 0.7047 GB, free: 8.066 MB / 0.5294 GB Notification: Performance of matching and sorting (n=37) (initialization_lambda0): time 0.0007797/0.5691, allocations: 364.2 kB / 0.705 GB, free: 7.707 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.206e-05/0.5692, allocations: 11.06 kB / 0.7051 GB, free: 7.699 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.577e-06/0.5692, allocations: 4 kB / 0.7051 GB, free: 7.695 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.645e-06/0.5692, allocations: 0 / 0.7051 GB, free: 7.695 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003817/0.5696, allocations: 87.88 kB / 0.7051 GB, free: 7.609 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.786e-06/0.5696, allocations: 0 / 0.7051 GB, free: 7.609 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003975/0.57, allocations: 43.8 kB / 0.7052 GB, free: 7.566 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.097e-05/0.57, allocations: 16 kB / 0.7052 GB, free: 7.551 MB / 0.5294 GB 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0001782/0.5702, allocations: 196.1 kB / 0.7054 GB, free: 7.352 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.322e-05/0.5703, allocations: 59.28 kB / 0.7054 GB, free: 7.293 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009681/0.5713, allocations: 420.8 kB / 0.7058 GB, free: 6.867 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.039e-05/0.5713, allocations: 4 kB / 0.7059 GB, free: 6.863 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.6e-06/0.5713, allocations: 0 / 0.7059 GB, free: 6.863 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.147e-06/0.5713, allocations: 0 / 0.7059 GB, free: 6.863 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0015/0.5728, allocations: 0.9496 MB / 0.7068 GB, free: 5.844 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.131e-06/0.5729, allocations: 3.984 kB / 0.7068 GB, free: 5.84 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002185/0.5731, allocations: 47.91 kB / 0.7068 GB, free: 5.793 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001646/0.5732, allocations: 44.89 kB / 0.7069 GB, free: 5.746 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.599e-05/0.5733, allocations: 8 kB / 0.7069 GB, free: 5.738 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003926/0.5737, allocations: 0.5602 MB / 0.7074 GB, free: 5.152 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.886e-06/0.5737, allocations: 0 / 0.7074 GB, free: 5.152 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007752/0.5745, allocations: 491.3 kB / 0.7079 GB, free: 4.641 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002176/0.5747, allocations: 164.3 kB / 0.7081 GB, free: 4.461 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.216e-05/0.5748, allocations: 3.938 kB / 0.7081 GB, free: 4.457 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003072/0.5751, allocations: 31.97 kB / 0.7081 GB, free: 4.426 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.158e-05/0.5752, allocations: 31.98 kB / 0.7081 GB, free: 4.395 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.683e-05/0.5752, allocations: 15.98 kB / 0.7081 GB, free: 4.379 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0003449/0.5755, allocations: 318.9 kB / 0.7084 GB, free: 4.07 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.51e-07/0.5756, allocations: 0 / 0.7084 GB, free: 4.07 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0007829/0.5763, allocations: 247.5 kB / 0.7087 GB, free: 3.828 MB / 0.5294 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005305/0.5769, allocations: 250.9 kB / 0.7089 GB, free: 3.582 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.001211/0.5781, allocations: 471.8 kB / 0.7094 GB, free: 3.121 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.5781, allocations: 0 / 0.7094 GB, free: 3.121 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0003901/0.5785, allocations: 167.8 kB / 0.7095 GB, free: 2.957 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001007/0.5795, allocations: 226.4 kB / 0.7097 GB, free: 2.738 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001628/0.5812, allocations: 0.8199 MB / 0.7105 GB, free: 1.879 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004327/0.5816, allocations: 0.8549 MB / 0.7114 GB, free: 0.9883 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.000344/0.582, allocations: 116.3 kB / 0.7115 GB, free: 0.875 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.737e-05/0.5821, allocations: 43.42 kB / 0.7115 GB, free: 0.832 MB / 0.5294 GB Notification: Performance of SimCode: time 3.1e-07/0.5821, allocations: 4 kB / 0.7115 GB, free: 0.8281 MB / 0.5294 GB Notification: Performance of Templates: time 0.01882/0.6009, allocations: 10.17 MB / 0.7215 GB, free: 6.816 MB / 0.545 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)