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.00702/0.00702, allocations: 101.8 kB / 15.73 MB, free: 5.992 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.001248/0.001248, allocations: 189.5 kB / 16.67 MB, free: 5.914 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.435/1.435, allocations: 222.9 MB / 240.4 MB, free: 4.133 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.07/1.07, allocations: 135.1 MB / 425.7 MB, free: 12.09 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001212/0.001212, allocations: 67.89 kB / 0.5856 GB, free: 3.34 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5758/0.577, 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.02085/0.5979, allocations: 20.75 MB / 0.6849 GB, free: 6.934 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.009331/0.6073, allocations: 4.94 MB / 0.6897 GB, free: 2.906 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001255/0.6086, allocations: 22.69 kB / 0.6897 GB, free: 2.895 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.00114/0.6098, allocations: 283.5 kB / 0.69 GB, free: 2.656 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.002442/0.6123, allocations: 0.8528 MB / 0.6908 GB, free: 1.988 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.002167/0.6144, allocations: 0.7187 MB / 0.6915 GB, free: 1.453 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.002005/0.6165, allocations: 1.389 MB / 0.6929 GB, free: 0.6602 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008329/0.6173, allocations: 437.4 kB / 0.6933 GB, free: 404 kB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001487/0.6188, allocations: 0.5792 MB / 0.6939 GB, free: 60 kB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008171/0.6196, allocations: 449.1 kB / 0.6943 GB, free: 15.8 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 8.167e-05/0.6197, allocations: 38.25 kB / 0.6943 GB, free: 15.8 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001608/0.6213, allocations: 0.6307 MB / 0.695 GB, free: 15.45 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001714/0.6215, allocations: 126.4 kB / 0.6951 GB, free: 15.36 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0003533/0.6219, allocations: 290.9 kB / 0.6954 GB, free: 15.17 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001348/0.6232, allocations: 0.8574 MB / 0.6962 GB, free: 14.62 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.77e-06/0.6233, allocations: 1 kB / 0.6962 GB, free: 14.62 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.834e-06/0.6233, allocations: 0 / 0.6962 GB, free: 14.62 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.689e-05/0.6233, 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.001686/0.625, allocations: 0.9241 MB / 0.6971 GB, free: 13.86 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.321e-05/0.625, allocations: 8.531 kB / 0.6971 GB, free: 13.86 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001485/0.6252, allocations: 69.44 kB / 0.6972 GB, free: 13.83 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008673/0.6261, allocations: 477.8 kB / 0.6976 GB, free: 13.42 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.806e-05/0.6261, allocations: 30.06 kB / 0.6977 GB, free: 13.41 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.495e-05/0.6262, allocations: 31.81 kB / 0.6977 GB, free: 13.4 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007403/0.6269, allocations: 306.5 kB / 0.698 GB, free: 13.22 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.701e-05/0.627, allocations: 1.375 kB / 0.698 GB, free: 13.22 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.327e-05/0.627, allocations: 14.75 kB / 0.698 GB, free: 13.21 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.691e-05/0.627, allocations: 6.875 kB / 0.698 GB, free: 13.21 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00074/0.6278, allocations: 261.3 kB / 0.6983 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.002484/0.6303, allocations: 1.34 MB / 0.6996 GB, free: 11.94 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005582/0.6309, allocations: 255.3 kB / 0.6998 GB, free: 11.81 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003119/0.6312, allocations: 137.7 kB / 0.6999 GB, free: 11.74 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004764/0.6317, allocations: 0.4947 MB / 0.7004 GB, free: 11.16 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.762e-05/0.6317, allocations: 40.62 kB / 0.7005 GB, free: 11.11 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=25): time 1.613e-06/0.6317, allocations: 0 / 0.7005 GB, free: 11.11 MB / 0.5294 GB Notification: Performance of matching and sorting (n=25): time 0.001892/0.6336, allocations: 0.5583 MB / 0.701 GB, free: 10.78 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.495e-05/0.6337, allocations: 61.94 kB / 0.7011 GB, free: 10.71 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005959/0.6343, allocations: 466.5 kB / 0.7015 GB, free: 10.43 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 4.536e-05/0.6343, allocations: 36.08 kB / 0.7015 GB, free: 10.39 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001831/0.6345, allocations: 238.8 kB / 0.7018 GB, free: 10.18 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 7.407e-05/0.6346, allocations: 93.86 kB / 0.7019 GB, free: 10.1 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001254/0.6347, allocations: 72.8 kB / 0.7019 GB, free: 10.05 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001589/0.6349, allocations: 362.8 kB / 0.7023 GB, free: 9.699 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003369/0.6353, allocations: 125.7 kB / 0.7024 GB, free: 9.633 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004051/0.6357, allocations: 178.1 kB / 0.7026 GB, free: 9.52 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006583/0.6363, allocations: 282.6 kB / 0.7028 GB, free: 9.367 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/0.6363, allocations: 0 / 0.7028 GB, free: 9.367 MB / 0.5294 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001645/0.638, allocations: 484.4 kB / 0.7033 GB, free: 9.141 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.067e-05/0.638, allocations: 4.781 kB / 0.7033 GB, free: 9.141 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.431e-05/0.6381, allocations: 5.297 kB / 0.7033 GB, free: 9.137 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004175/0.6385, allocations: 58.56 kB / 0.7034 GB, free: 9.105 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003838/0.6389, allocations: 66.2 kB / 0.7034 GB, free: 9.09 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005308/0.6394, allocations: 0.5671 MB / 0.704 GB, free: 8.531 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005023/0.6399, allocations: 46.33 kB / 0.704 GB, free: 8.504 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.6e-05/0.64, allocations: 13.78 kB / 0.704 GB, free: 8.5 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000482/0.6405, allocations: 245.9 kB / 0.7043 GB, free: 8.336 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003822/0.6409, allocations: 173 kB / 0.7044 GB, free: 8.227 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000639/0.6415, allocations: 270.7 kB / 0.7047 GB, free: 8.039 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.303e-06/0.6415, allocations: 0 / 0.7047 GB, free: 8.039 MB / 0.5294 GB Notification: Performance of matching and sorting (n=37) (initialization_lambda0): time 0.0007988/0.6423, allocations: 361.8 kB / 0.705 GB, free: 7.68 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.317e-05/0.6424, allocations: 14.12 kB / 0.705 GB, free: 7.668 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.565e-06/0.6424, allocations: 4 kB / 0.7051 GB, free: 7.664 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.126e-06/0.6424, allocations: 0 / 0.7051 GB, free: 7.664 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003795/0.6428, allocations: 83.88 kB / 0.7051 GB, free: 7.582 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.659e-06/0.6428, allocations: 4 kB / 0.7051 GB, free: 7.578 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004307/0.6432, allocations: 43.95 kB / 0.7052 GB, free: 7.535 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.131e-05/0.6432, allocations: 19.97 kB / 0.7052 GB, free: 7.516 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.0001753/0.6434, allocations: 205.6 kB / 0.7054 GB, free: 7.309 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.881e-05/0.6435, allocations: 55.28 kB / 0.7054 GB, free: 7.254 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009532/0.6445, allocations: 420.9 kB / 0.7058 GB, free: 6.828 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.217e-06/0.6445, allocations: 0 / 0.7058 GB, free: 6.828 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.257e-06/0.6445, allocations: 4 kB / 0.7059 GB, free: 6.824 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.792e-06/0.6445, allocations: 7.922 kB / 0.7059 GB, free: 6.816 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001511/0.646, allocations: 0.9444 MB / 0.7068 GB, free: 5.801 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.999e-06/0.6461, allocations: 0 / 0.7068 GB, free: 5.801 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002248/0.6463, allocations: 47.91 kB / 0.7068 GB, free: 5.754 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000166/0.6465, allocations: 52.89 kB / 0.7069 GB, free: 5.699 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.405e-05/0.6465, allocations: 11.98 kB / 0.7069 GB, free: 5.688 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003596/0.6469, allocations: 0.5562 MB / 0.7074 GB, free: 5.105 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.788e-06/0.6469, allocations: 4.031 kB / 0.7074 GB, free: 5.102 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000801/0.6477, allocations: 491.3 kB / 0.7079 GB, free: 4.59 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001773/0.6479, allocations: 156.3 kB / 0.7081 GB, free: 4.418 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.916e-05/0.6479, allocations: 11.94 kB / 0.7081 GB, free: 4.406 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003275/0.6483, allocations: 27.97 kB / 0.7081 GB, free: 4.379 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.87e-05/0.6484, allocations: 19.97 kB / 0.7081 GB, free: 4.359 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.307e-05/0.6484, allocations: 8 kB / 0.7081 GB, free: 4.352 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0003748/0.6488, allocations: 326.9 kB / 0.7084 GB, free: 4.035 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.41e-07/0.6488, allocations: 3.938 kB / 0.7084 GB, free: 4.031 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0008053/0.6496, allocations: 247.5 kB / 0.7087 GB, free: 3.789 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.000563/0.6502, allocations: 237.9 kB / 0.7089 GB, free: 3.555 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.001174/0.6513, allocations: 479.8 kB / 0.7094 GB, free: 3.086 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.759e-06/0.6514, allocations: 4 kB / 0.7094 GB, free: 3.082 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.000403/0.6518, allocations: 164 kB / 0.7095 GB, free: 2.922 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001072/0.6528, allocations: 226.8 kB / 0.7097 GB, free: 2.707 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001427/0.6543, allocations: 0.8254 MB / 0.7105 GB, free: 1.84 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004322/0.6547, allocations: 0.851 MB / 0.7114 GB, free: 0.9531 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0003499/0.6551, allocations: 112.3 kB / 0.7115 GB, free: 0.8438 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.777e-05/0.6552, allocations: 51.42 kB / 0.7115 GB, free: 0.793 MB / 0.5294 GB Notification: Performance of SimCode: time 2.4e-07/0.6552, allocations: 0 / 0.7115 GB, free: 0.793 MB / 0.5294 GB Notification: Performance of Templates: time 0.01702/0.6722, allocations: 10.17 MB / 0.7215 GB, free: 6.773 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)