Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/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.FixedResistances.Examples.CheckValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.FixedResistances.Examples.CheckValve") translateModel(IDEAS.Fluid.FixedResistances.Examples.CheckValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.0009975/0.0009976, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001128/0.001128, allocations: 194.7 kB / 16.53 MB, free: 6.391 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.269/1.269, allocations: 222.9 MB / 240.2 MB, free: 4.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7037/0.7037, allocations: 132.2 MB / 422.6 MB, free: 1.797 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001406/0.001407, allocations: 64.16 kB / 0.5018 GB, free: 8.77 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1818/0.1832, allocations: 80.2 MB / 0.5801 GB, free: 8.789 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Examples.CheckValve): time 0.02041/0.2037, allocations: 20.75 MB / 0.6003 GB, free: 3.957 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.3101/0.5138, allocations: 4.95 MB / 0.6052 GB, free: 35.74 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008463/0.5147, allocations: 20.31 kB / 0.6052 GB, free: 35.74 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0008021/0.5155, allocations: 271 kB / 0.6055 GB, free: 35.74 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.001856/0.5174, allocations: 0.8123 MB / 0.6062 GB, free: 35.74 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001599/0.519, allocations: 0.7005 MB / 0.6069 GB, free: 35.72 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001174/0.5202, allocations: 1.372 MB / 0.6083 GB, free: 35.72 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004506/0.5207, allocations: 444.6 kB / 0.6087 GB, free: 35.69 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006817/0.5214, allocations: 0.5675 MB / 0.6093 GB, free: 35.68 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004332/0.5218, allocations: 453.5 kB / 0.6097 GB, free: 35.61 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 6.546e-05/0.5219, allocations: 40.53 kB / 0.6097 GB, free: 35.6 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009413/0.5228, allocations: 0.6285 MB / 0.6103 GB, free: 35.59 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001079/0.5229, allocations: 130 kB / 0.6105 GB, free: 35.57 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002044/0.5232, allocations: 286 kB / 0.6107 GB, free: 35.48 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0007911/0.5239, allocations: 0.84 MB / 0.6116 GB, free: 35.35 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.524, allocations: 3.938 kB / 0.6116 GB, free: 35.35 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.813e-06/0.524, allocations: 3.281 kB / 0.6116 GB, free: 35.35 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 9.107e-06/0.524, allocations: 0 / 0.6116 GB, free: 35.35 MB / 0.4981 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.001288/0.5253, allocations: 0.9172 MB / 0.6125 GB, free: 34.76 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.984e-05/0.5253, allocations: 11.38 kB / 0.6125 GB, free: 34.76 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000107/0.5254, allocations: 67.19 kB / 0.6125 GB, free: 34.72 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000469/0.5259, allocations: 450.8 kB / 0.613 GB, free: 34.45 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.335e-05/0.5259, allocations: 34.84 kB / 0.613 GB, free: 34.45 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.666e-05/0.526, allocations: 36.34 kB / 0.613 GB, free: 34.45 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005634/0.5266, allocations: 303.3 kB / 0.6133 GB, free: 34.42 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.706e-05/0.5266, allocations: 2.812 kB / 0.6133 GB, free: 34.42 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.744e-05/0.5266, allocations: 9.875 kB / 0.6133 GB, free: 34.42 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.928e-06/0.5267, allocations: 8.906 kB / 0.6133 GB, free: 34.42 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006016/0.5273, allocations: 265.5 kB / 0.6136 GB, free: 34.41 MB / 0.4981 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.00194/0.5292, allocations: 1.341 MB / 0.6149 GB, free: 33.74 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004904/0.5297, allocations: 259.5 kB / 0.6151 GB, free: 33.71 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002845/0.53, allocations: 133.7 kB / 0.6153 GB, free: 33.71 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004457/0.5305, allocations: 0.4911 MB / 0.6158 GB, free: 33.14 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.939e-05/0.5305, allocations: 47.02 kB / 0.6158 GB, free: 33.1 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=25): time 2.205e-06/0.5305, allocations: 0 / 0.6158 GB, free: 33.1 MB / 0.4981 GB Notification: Performance of matching and sorting (n=25): time 0.001655/0.5322, allocations: 0.5507 MB / 0.6163 GB, free: 32.94 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.604e-05/0.5322, allocations: 58.5 kB / 0.6164 GB, free: 32.87 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003995/0.5326, allocations: 469.5 kB / 0.6168 GB, free: 32.74 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.792e-05/0.5327, allocations: 33.33 kB / 0.6169 GB, free: 32.71 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001563/0.5328, allocations: 244.5 kB / 0.6171 GB, free: 32.6 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.942e-05/0.5329, allocations: 83.81 kB / 0.6172 GB, free: 32.55 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.814e-05/0.533, allocations: 77.12 kB / 0.6173 GB, free: 32.53 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 7.053e-05/0.533, allocations: 356.7 kB / 0.6176 GB, free: 32.21 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002684/0.5333, allocations: 133.3 kB / 0.6177 GB, free: 32.2 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003062/0.5336, allocations: 173.5 kB / 0.6179 GB, free: 32.16 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00055/0.5342, allocations: 279 kB / 0.6182 GB, free: 32.12 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.5342, allocations: 0 / 0.6182 GB, free: 32.12 MB / 0.4981 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001375/0.5356, allocations: 488.6 kB / 0.6186 GB, free: 32.05 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.657e-05/0.5356, allocations: 6.328 kB / 0.6186 GB, free: 32.05 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.264e-06/0.5356, allocations: 3.125 kB / 0.6186 GB, free: 32.05 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003256/0.536, allocations: 60.09 kB / 0.6187 GB, free: 32.04 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003065/0.5363, allocations: 76.56 kB / 0.6188 GB, free: 32.04 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002911/0.5366, allocations: 0.5561 MB / 0.6193 GB, free: 31.52 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003988/0.537, allocations: 53.03 kB / 0.6194 GB, free: 31.5 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.596e-05/0.537, allocations: 15.52 kB / 0.6194 GB, free: 31.5 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003421/0.5374, allocations: 244.3 kB / 0.6196 GB, free: 31.41 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002844/0.5377, allocations: 175 kB / 0.6198 GB, free: 31.37 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004791/0.5382, allocations: 267.5 kB / 0.62 GB, free: 31.34 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.192e-06/0.5382, allocations: 0 / 0.62 GB, free: 31.34 MB / 0.4981 GB Notification: Performance of matching and sorting (n=37) (initialization_lambda0): time 0.0006564/0.5388, allocations: 367.7 kB / 0.6204 GB, free: 31.27 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 8.526e-06/0.5388, allocations: 8.219 kB / 0.6204 GB, free: 31.27 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.913e-06/0.5389, allocations: 0 / 0.6204 GB, free: 31.27 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.717e-06/0.5389, allocations: 7.109 kB / 0.6204 GB, free: 31.27 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003414/0.5392, allocations: 83.44 kB / 0.6205 GB, free: 31.27 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.878e-06/0.5392, allocations: 3.938 kB / 0.6205 GB, free: 31.27 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003683/0.5396, allocations: 56.64 kB / 0.6205 GB, free: 31.25 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.436e-05/0.5396, allocations: 12.03 kB / 0.6205 GB, free: 31.25 MB / 0.4981 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.0001076/0.5397, allocations: 195.2 kB / 0.6207 GB, free: 31.07 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.608e-05/0.5398, allocations: 50.98 kB / 0.6208 GB, free: 31.05 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008063/0.5406, allocations: 422.8 kB / 0.6212 GB, free: 30.98 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.075e-05/0.5407, allocations: 6.906 kB / 0.6212 GB, free: 30.98 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.5407, allocations: 0 / 0.6212 GB, free: 30.98 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.5407, allocations: 3.938 kB / 0.6212 GB, free: 30.98 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001204/0.5419, allocations: 0.9462 MB / 0.6221 GB, free: 30.62 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.82e-06/0.5419, allocations: 1.938 kB / 0.6221 GB, free: 30.62 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000201/0.5421, allocations: 53.97 kB / 0.6222 GB, free: 30.62 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001425/0.5423, allocations: 42.06 kB / 0.6222 GB, free: 30.61 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.122e-05/0.5423, allocations: 13.28 kB / 0.6222 GB, free: 30.61 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002263/0.5425, allocations: 0.558 MB / 0.6228 GB, free: 30.09 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.5425, allocations: 6.594 kB / 0.6228 GB, free: 30.09 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000652/0.5432, allocations: 498.2 kB / 0.6232 GB, free: 29.86 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001191/0.5433, allocations: 150.5 kB / 0.6234 GB, free: 29.73 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.999e-05/0.5434, allocations: 12.66 kB / 0.6234 GB, free: 29.72 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000299/0.5437, allocations: 23.75 kB / 0.6234 GB, free: 29.71 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.792e-05/0.5438, allocations: 29.91 kB / 0.6235 GB, free: 29.71 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.165e-05/0.5438, allocations: 12.28 kB / 0.6235 GB, free: 29.71 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0002608/0.5441, allocations: 322.8 kB / 0.6238 GB, free: 29.55 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5441, allocations: 0 / 0.6238 GB, free: 29.55 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0006676/0.5447, allocations: 253.9 kB / 0.624 GB, free: 29.5 MB / 0.4981 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.0004386/0.5452, allocations: 249.2 kB / 0.6243 GB, free: 29.38 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001039/0.5462, allocations: 480.1 kB / 0.6247 GB, free: 29.26 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.5463, allocations: 0 / 0.6247 GB, free: 29.26 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003382/0.5466, allocations: 177 kB / 0.6249 GB, free: 29.22 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009756/0.5476, allocations: 226.3 kB / 0.6251 GB, free: 29.16 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001144/0.5487, allocations: 0.8348 MB / 0.6259 GB, free: 28.68 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002379/0.549, allocations: 0.8523 MB / 0.6267 GB, free: 27.97 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0003429/0.5493, allocations: 119.4 kB / 0.6269 GB, free: 27.95 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.968e-05/0.5494, allocations: 45.89 kB / 0.6269 GB, free: 27.93 MB / 0.4981 GB Notification: Performance of SimCode: time 2.1e-07/0.5494, allocations: 0 / 0.6269 GB, free: 27.93 MB / 0.4981 GB Notification: Performance of Templates: time 0.01522/0.5647, allocations: 10.12 MB / 0.6368 GB, free: 27.16 MB / 0.4981 GB make -j1 -f IDEAS_IDEAS.Fluid.FixedResistances.Examples.CheckValve.makefile (rm -f IDEAS_IDEAS.Fluid.FixedResistances.Examples.CheckValve.pipe ; mkfifo IDEAS_IDEAS.Fluid.FixedResistances.Examples.CheckValve.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.FixedResistances.Examples.CheckValve.pipe >> ../files/IDEAS_IDEAS.Fluid.FixedResistances.Examples.CheckValve.sim & ./IDEAS_IDEAS.Fluid.FixedResistances.Examples.CheckValve -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.FixedResistances.Examples.CheckValve.pipe 2>&1)