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.001097/0.001097, allocations: 103.2 kB / 15.98 MB, free: 5.891 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.001184/0.001185, allocations: 189.4 kB / 16.91 MB, free: 5.746 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.287/1.287, allocations: 222.9 MB / 240.6 MB, free: 4.508 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7484/0.7484, allocations: 132.2 MB / 422.9 MB, free: 1.906 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001116/0.001116, allocations: 63.62 kB / 0.5019 GB, free: 9.059 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1674/0.1685, allocations: 80.2 MB / 0.5802 GB, free: 9.078 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Examples.CheckValve): time 0.01897/0.1876, allocations: 20.63 MB / 0.6004 GB, free: 4.367 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.336/0.5236, allocations: 4.91 MB / 0.6052 GB, free: 35.62 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009533/0.5246, allocations: 16.47 kB / 0.6052 GB, free: 35.62 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0008771/0.5255, allocations: 236.7 kB / 0.6054 GB, free: 35.62 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.002269/0.5278, allocations: 0.7529 MB / 0.6061 GB, free: 35.62 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001725/0.5295, allocations: 0.6437 MB / 0.6068 GB, free: 35.6 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001619/0.5311, allocations: 1.391 MB / 0.6081 GB, free: 35.59 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005711/0.5317, allocations: 420.7 kB / 0.6085 GB, free: 35.57 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001033/0.5328, allocations: 0.5801 MB / 0.6091 GB, free: 35.57 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005476/0.5333, allocations: 459.8 kB / 0.6095 GB, free: 35.49 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 6.233e-05/0.5334, allocations: 45.06 kB / 0.6096 GB, free: 35.48 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00119/0.5346, allocations: 0.6388 MB / 0.6102 GB, free: 35.47 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001331/0.5347, allocations: 123 kB / 0.6103 GB, free: 35.45 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002894/0.535, allocations: 285.7 kB / 0.6106 GB, free: 35.37 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0008084/0.5359, allocations: 0.6041 MB / 0.6112 GB, free: 35.3 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.011e-06/0.5359, allocations: 3.938 kB / 0.6112 GB, free: 35.3 MB / 0.4981 GB Notification: Performance of FrontEnd: time 3.196e-06/0.5359, allocations: 0 / 0.6112 GB, free: 35.3 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 9.628e-06/0.5359, allocations: 2.938 kB / 0.6112 GB, free: 35.3 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.001388/0.5373, allocations: 0.924 MB / 0.6121 GB, free: 34.71 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.032e-05/0.5373, allocations: 8.469 kB / 0.6121 GB, free: 34.71 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001163/0.5375, allocations: 66.56 kB / 0.6122 GB, free: 34.68 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004803/0.538, allocations: 453.5 kB / 0.6126 GB, free: 34.41 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.388e-05/0.538, allocations: 34.72 kB / 0.6126 GB, free: 34.4 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.675e-05/0.538, allocations: 33.16 kB / 0.6126 GB, free: 34.4 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000583/0.5386, allocations: 309.2 kB / 0.6129 GB, free: 34.37 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.499e-05/0.5387, allocations: 0.5625 kB / 0.6129 GB, free: 34.37 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.04e-05/0.5387, allocations: 13.91 kB / 0.613 GB, free: 34.37 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.895e-06/0.5387, allocations: 6.531 kB / 0.613 GB, free: 34.37 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005754/0.5393, allocations: 260.5 kB / 0.6132 GB, free: 34.36 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.001903/0.5412, allocations: 1.332 MB / 0.6145 GB, free: 33.69 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004728/0.5417, allocations: 262.7 kB / 0.6148 GB, free: 33.66 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002672/0.542, allocations: 139.2 kB / 0.6149 GB, free: 33.65 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003841/0.5424, allocations: 0.4962 MB / 0.6154 GB, free: 33.09 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.605e-05/0.5424, allocations: 41.98 kB / 0.6154 GB, free: 33.05 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=25): time 2.044e-06/0.5424, allocations: 0 / 0.6154 GB, free: 33.05 MB / 0.4981 GB Notification: Performance of matching and sorting (n=25): time 0.001757/0.5442, allocations: 0.5533 MB / 0.616 GB, free: 32.88 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.6e-05/0.5442, allocations: 61.5 kB / 0.616 GB, free: 32.82 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000509/0.5447, allocations: 472.4 kB / 0.6165 GB, free: 32.69 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.842e-05/0.5448, allocations: 29.02 kB / 0.6165 GB, free: 32.66 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001682/0.545, allocations: 241.5 kB / 0.6167 GB, free: 32.55 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 6.687e-05/0.545, allocations: 80.97 kB / 0.6168 GB, free: 32.5 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001264/0.5452, allocations: 85.48 kB / 0.6169 GB, free: 32.47 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000112/0.5453, allocations: 354 kB / 0.6172 GB, free: 32.16 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002785/0.5456, allocations: 125.4 kB / 0.6173 GB, free: 32.15 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003286/0.5459, allocations: 183.4 kB / 0.6175 GB, free: 32.1 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005675/0.5465, allocations: 272.5 kB / 0.6178 GB, free: 32.08 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.5465, allocations: 224 / 0.6178 GB, free: 32.08 MB / 0.4981 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.00146/0.548, allocations: 492.8 kB / 0.6182 GB, free: 32 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.965e-05/0.548, allocations: 11.97 kB / 0.6183 GB, free: 31.99 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.752e-06/0.548, allocations: 0 / 0.6183 GB, free: 31.99 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003709/0.5484, allocations: 53.95 kB / 0.6183 GB, free: 31.98 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003525/0.5487, allocations: 71.98 kB / 0.6184 GB, free: 31.98 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003414/0.5491, allocations: 0.5622 MB / 0.6189 GB, free: 31.46 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005393/0.5496, allocations: 63.52 kB / 0.619 GB, free: 31.44 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.332e-05/0.5497, allocations: 16.94 kB / 0.619 GB, free: 31.44 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004064/0.5501, allocations: 241.2 kB / 0.6192 GB, free: 31.36 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002858/0.5504, allocations: 180.9 kB / 0.6194 GB, free: 31.31 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000482/0.5509, allocations: 255.1 kB / 0.6197 GB, free: 31.28 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.222e-06/0.5509, allocations: 3.938 kB / 0.6197 GB, free: 31.28 MB / 0.4981 GB Notification: Performance of matching and sorting (n=37) (initialization_lambda0): time 0.00069/0.5516, allocations: 368.6 kB / 0.62 GB, free: 31.22 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 9.037e-06/0.5516, allocations: 5.219 kB / 0.62 GB, free: 31.22 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.226e-06/0.5516, allocations: 2.688 kB / 0.62 GB, free: 31.22 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.986e-06/0.5516, allocations: 0 / 0.62 GB, free: 31.22 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003639/0.552, allocations: 84.72 kB / 0.6201 GB, free: 31.21 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.19e-06/0.552, allocations: 6.844 kB / 0.6201 GB, free: 31.21 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004807/0.5525, allocations: 60.78 kB / 0.6202 GB, free: 31.2 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.164e-05/0.5525, allocations: 18.3 kB / 0.6202 GB, free: 31.2 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.0001446/0.5527, allocations: 196.4 kB / 0.6204 GB, free: 31.02 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.317e-05/0.5528, allocations: 49.22 kB / 0.6204 GB, free: 30.99 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008896/0.5537, allocations: 413.1 kB / 0.6208 GB, free: 30.93 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.096e-05/0.5537, allocations: 6.875 kB / 0.6208 GB, free: 30.93 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.765e-06/0.5537, allocations: 2.938 kB / 0.6208 GB, free: 30.93 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.702e-06/0.5537, allocations: 7.375 kB / 0.6208 GB, free: 30.92 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001369/0.5551, allocations: 0.9456 MB / 0.6217 GB, free: 30.57 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.233e-06/0.5551, allocations: 11.2 kB / 0.6218 GB, free: 30.56 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002165/0.5553, allocations: 54.5 kB / 0.6218 GB, free: 30.56 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001726/0.5555, allocations: 38.45 kB / 0.6218 GB, free: 30.55 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.753e-05/0.5556, allocations: 9.297 kB / 0.6219 GB, free: 30.55 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002588/0.5558, allocations: 0.5548 MB / 0.6224 GB, free: 30.04 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.857e-06/0.5558, allocations: 10.34 kB / 0.6224 GB, free: 30.03 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007089/0.5566, allocations: 497.6 kB / 0.6229 GB, free: 29.82 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001521/0.5567, allocations: 159.6 kB / 0.623 GB, free: 29.7 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.477e-05/0.5568, allocations: 9.656 kB / 0.623 GB, free: 29.7 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003533/0.5571, allocations: 34 kB / 0.6231 GB, free: 29.7 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.147e-05/0.5572, allocations: 26.78 kB / 0.6231 GB, free: 29.69 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.529e-05/0.5573, allocations: 11.86 kB / 0.6231 GB, free: 29.69 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0003154/0.5576, allocations: 324.2 kB / 0.6234 GB, free: 29.6 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.5e-07/0.5576, allocations: 0 / 0.6234 GB, free: 29.6 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0007909/0.5584, allocations: 253.8 kB / 0.6237 GB, free: 29.57 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.000544/0.5589, allocations: 252.3 kB / 0.6239 GB, free: 29.45 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001167/0.5601, allocations: 490.6 kB / 0.6244 GB, free: 29.41 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.407e-06/0.5601, allocations: 0 / 0.6244 GB, free: 29.41 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003616/0.5605, allocations: 166.5 kB / 0.6245 GB, free: 29.38 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001031/0.5615, allocations: 227.4 kB / 0.6247 GB, free: 29.3 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001456/0.563, allocations: 1.033 MB / 0.6258 GB, free: 28.63 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002953/0.5633, allocations: 0.8508 MB / 0.6266 GB, free: 27.92 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001373/0.5635, allocations: 44.73 kB / 0.6266 GB, free: 27.91 MB / 0.4981 GB Notification: Performance of SimCode: time 1.533e-06/0.5635, allocations: 0 / 0.6266 GB, free: 27.91 MB / 0.4981 GB Notification: Performance of Templates: time 0.01463/0.5781, allocations: 10.12 MB / 0.6365 GB, free: 26.85 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)