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.0009192/0.0009193, allocations: 91.84 kB / 16.02 MB, free: 80 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.00109/0.00109, allocations: 182.6 kB / 16.92 MB, free: 6.652 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.337/1.337, allocations: 223.3 MB / 241 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9196/0.9196, allocations: 135.3 MB / 427.4 MB, free: 14.31 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003053/0.0003053, allocations: 8.844 kB / 0.5082 GB, free: 4.789 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1467/0.147, allocations: 82.3 MB / 0.5886 GB, free: 2.652 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Examples.CheckValve): time 0.2741/0.4212, allocations: 20.06 MB / 0.6082 GB, free: 34.23 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.005428/0.4266, allocations: 4.922 MB / 0.613 GB, free: 34.13 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005941/0.4273, allocations: 19.97 kB / 0.613 GB, free: 34.13 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0006515/0.4279, allocations: 213.3 kB / 0.6132 GB, free: 34.12 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.001803/0.4297, allocations: 0.7486 MB / 0.614 GB, free: 34.05 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001645/0.4314, allocations: 0.648 MB / 0.6146 GB, free: 34 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001619/0.433, allocations: 1.803 MB / 0.6163 GB, free: 33.77 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000466/0.4335, allocations: 367.6 kB / 0.6167 GB, free: 33.73 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007308/0.4342, allocations: 0.525 MB / 0.6172 GB, free: 33.64 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004751/0.4347, allocations: 445.2 kB / 0.6176 GB, free: 33.55 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 5.023e-05/0.4348, allocations: 19.88 kB / 0.6177 GB, free: 33.55 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009821/0.4358, allocations: 0.5995 MB / 0.6182 GB, free: 33.5 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 9.79e-05/0.4359, allocations: 112.3 kB / 0.6183 GB, free: 33.47 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002184/0.4361, allocations: 288.1 kB / 0.6186 GB, free: 33.35 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0005873/0.4367, allocations: 0.5843 MB / 0.6192 GB, free: 33.29 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.387e-06/0.4367, allocations: 0 / 0.6192 GB, free: 33.29 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.203e-06/0.4367, allocations: 0 / 0.6192 GB, free: 33.29 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.893e-06/0.4367, allocations: 0 / 0.6192 GB, free: 33.29 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.001242/0.438, allocations: 0.8342 MB / 0.62 GB, free: 32.7 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.272e-05/0.438, allocations: 12.81 kB / 0.62 GB, free: 32.7 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.729e-05/0.4381, allocations: 64.12 kB / 0.6201 GB, free: 32.66 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004912/0.4386, allocations: 452.4 kB / 0.6205 GB, free: 32.39 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.243e-05/0.4387, allocations: 24.81 kB / 0.6205 GB, free: 32.39 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.319e-05/0.4387, allocations: 39.69 kB / 0.6206 GB, free: 32.38 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005645/0.4393, allocations: 314.5 kB / 0.6209 GB, free: 32.35 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.02e-05/0.4393, allocations: 0 / 0.6209 GB, free: 32.35 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.216e-05/0.4393, allocations: 13.44 kB / 0.6209 GB, free: 32.35 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.043e-06/0.4393, allocations: 6.531 kB / 0.6209 GB, free: 32.35 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005636/0.4399, allocations: 285.5 kB / 0.6212 GB, free: 32.35 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.00177/0.4417, allocations: 1.357 MB / 0.6225 GB, free: 31.64 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00046/0.4422, allocations: 268.5 kB / 0.6227 GB, free: 31.61 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002891/0.4425, allocations: 154.1 kB / 0.6229 GB, free: 31.6 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003128/0.4428, allocations: 0.4905 MB / 0.6234 GB, free: 31.04 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.636e-05/0.4428, allocations: 33.62 kB / 0.6234 GB, free: 31 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=25): time 1.914e-06/0.4428, allocations: 3.281 kB / 0.6234 GB, free: 31 MB / 0.4981 GB Notification: Performance of matching and sorting (n=25): time 0.001634/0.4445, allocations: 0.5964 MB / 0.624 GB, free: 30.82 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.184e-05/0.4445, allocations: 54.31 kB / 0.624 GB, free: 30.76 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004106/0.4449, allocations: 473.7 kB / 0.6245 GB, free: 30.63 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.319e-05/0.445, allocations: 32.64 kB / 0.6245 GB, free: 30.6 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001224/0.4451, allocations: 239.4 kB / 0.6248 GB, free: 30.49 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 5.251e-05/0.4451, allocations: 87.61 kB / 0.6248 GB, free: 30.43 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.458e-05/0.4452, allocations: 37.08 kB / 0.6249 GB, free: 30.42 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 7.129e-05/0.4453, allocations: 359.8 kB / 0.6252 GB, free: 30.1 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000279/0.4456, allocations: 124.9 kB / 0.6253 GB, free: 30.1 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003197/0.4459, allocations: 189.3 kB / 0.6255 GB, free: 30.05 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005882/0.4465, allocations: 303.6 kB / 0.6258 GB, free: 30.01 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.959e-06/0.4465, allocations: 3.938 kB / 0.6258 GB, free: 30.01 MB / 0.4981 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001515/0.448, allocations: 0.4957 MB / 0.6263 GB, free: 29.93 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 5.16e-05/0.4481, allocations: 105.5 kB / 0.6264 GB, free: 29.82 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.123e-06/0.4481, allocations: 4 kB / 0.6264 GB, free: 29.82 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003575/0.4485, allocations: 60.2 kB / 0.6265 GB, free: 29.8 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003402/0.4488, allocations: 71.75 kB / 0.6265 GB, free: 29.8 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003109/0.4491, allocations: 0.5691 MB / 0.6271 GB, free: 29.27 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004939/0.4496, allocations: 68.56 kB / 0.6271 GB, free: 29.25 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.871e-05/0.4497, allocations: 22.17 kB / 0.6272 GB, free: 29.25 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 6.713e-06/0.4497, allocations: 7.094 kB / 0.6272 GB, free: 29.25 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006617/0.4504, allocations: 313.8 kB / 0.6275 GB, free: 29.23 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.756e-06/0.4504, allocations: 3.984 kB / 0.6275 GB, free: 29.23 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.837e-06/0.4504, allocations: 3.219 kB / 0.6275 GB, free: 29.23 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003643/0.4508, allocations: 87.81 kB / 0.6276 GB, free: 29.23 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.876e-06/0.4508, allocations: 0 / 0.6276 GB, free: 29.23 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004189/0.4512, allocations: 61.77 kB / 0.6276 GB, free: 29.21 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.486e-05/0.4512, allocations: 14.28 kB / 0.6276 GB, free: 29.21 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.0002196/0.4515, allocations: 253.4 kB / 0.6279 GB, free: 29.01 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.727e-05/0.4515, allocations: 49.78 kB / 0.6279 GB, free: 28.98 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008746/0.4524, allocations: 437 kB / 0.6283 GB, free: 28.92 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.789e-06/0.4524, allocations: 6.125 kB / 0.6283 GB, free: 28.92 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.029e-06/0.4524, allocations: 1.5 kB / 0.6283 GB, free: 28.92 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.081e-06/0.4524, allocations: 3.938 kB / 0.6283 GB, free: 28.91 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001257/0.4537, allocations: 0.9614 MB / 0.6293 GB, free: 28.55 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.909e-06/0.4537, allocations: 0 / 0.6293 GB, free: 28.55 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002176/0.4539, allocations: 67.94 kB / 0.6294 GB, free: 28.54 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001565/0.4541, allocations: 44.48 kB / 0.6294 GB, free: 28.53 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.027e-05/0.4541, allocations: 9.312 kB / 0.6294 GB, free: 28.53 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002297/0.4544, allocations: 0.5564 MB / 0.6299 GB, free: 28.01 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/0.4544, allocations: 10.84 kB / 0.63 GB, free: 28 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006981/0.4551, allocations: 0.4968 MB / 0.6304 GB, free: 27.8 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001375/0.4552, allocations: 163.3 kB / 0.6306 GB, free: 27.68 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.517e-05/0.4553, allocations: 6.844 kB / 0.6306 GB, free: 27.68 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003578/0.4557, allocations: 49.03 kB / 0.6307 GB, free: 27.67 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.472e-05/0.4557, allocations: 27.66 kB / 0.6307 GB, free: 27.66 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.154e-05/0.4558, allocations: 12.78 kB / 0.6307 GB, free: 27.66 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0002798/0.4561, allocations: 324.7 kB / 0.631 GB, free: 27.57 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.11e-07/0.4561, allocations: 0 / 0.631 GB, free: 27.57 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0007039/0.4568, allocations: 254.8 kB / 0.6312 GB, free: 27.52 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.0004281/0.4572, allocations: 246.9 kB / 0.6315 GB, free: 27.4 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001093/0.4583, allocations: 0.4916 MB / 0.632 GB, free: 27.27 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.4583, allocations: 0 / 0.632 GB, free: 27.27 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003803/0.4587, allocations: 180.4 kB / 0.6321 GB, free: 27.23 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00148/0.4602, allocations: 264 kB / 0.6324 GB, free: 27.16 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001249/0.4615, allocations: 1.047 MB / 0.6334 GB, free: 26.49 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002255/0.4617, allocations: 0.8553 MB / 0.6342 GB, free: 25.78 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001181/0.4618, allocations: 44.45 kB / 0.6343 GB, free: 25.77 MB / 0.4981 GB Notification: Performance of SimCode: time 4.1e-07/0.4618, allocations: 0 / 0.6343 GB, free: 25.77 MB / 0.4981 GB Notification: Performance of Templates: time 0.01411/0.4759, allocations: 10.19 MB / 0.6442 GB, free: 24.75 MB / 0.4981 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)