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.001598/0.001598, allocations: 108 kB / 15.61 MB, free: 152 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.001718/0.001718, allocations: 195.4 kB / 16.53 MB, free: 6.699 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.426/1.426, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.035/1.035, allocations: 135.1 MB / 425.5 MB, free: 12.04 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001237/0.001237, allocations: 63.72 kB / 0.5053 GB, free: 5.352 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1947/0.1959, allocations: 80.92 MB / 0.5844 GB, free: 4.582 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Examples.CheckValve): time 0.3792/0.5752, allocations: 20.73 MB / 0.6046 GB, free: 35.84 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.005689/0.5809, allocations: 4.947 MB / 0.6094 GB, free: 35.75 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005935/0.5815, allocations: 15.44 kB / 0.6094 GB, free: 35.75 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0006973/0.5822, allocations: 278.2 kB / 0.6097 GB, free: 35.75 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.001814/0.5841, allocations: 0.8117 MB / 0.6105 GB, free: 35.71 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001616/0.5857, allocations: 0.7061 MB / 0.6112 GB, free: 35.69 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001211/0.587, allocations: 1.379 MB / 0.6125 GB, free: 35.68 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004768/0.5874, allocations: 451.5 kB / 0.613 GB, free: 35.64 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006842/0.5881, allocations: 0.5674 MB / 0.6135 GB, free: 35.54 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004704/0.5886, allocations: 442.5 kB / 0.6139 GB, free: 35.44 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 8.344e-05/0.5887, allocations: 38.34 kB / 0.614 GB, free: 35.44 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001014/0.5897, allocations: 0.6384 MB / 0.6146 GB, free: 35.39 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001099/0.5899, allocations: 123.8 kB / 0.6147 GB, free: 35.37 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002183/0.5901, allocations: 288.6 kB / 0.615 GB, free: 35.28 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0009065/0.591, allocations: 0.8412 MB / 0.6158 GB, free: 35.14 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.591, allocations: 0 / 0.6158 GB, free: 35.14 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.623e-06/0.591, allocations: 0 / 0.6158 GB, free: 35.14 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 9.408e-06/0.591, allocations: 0 / 0.6158 GB, free: 35.14 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.00137/0.5924, allocations: 0.9277 MB / 0.6167 GB, free: 34.54 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.345e-05/0.5925, allocations: 10.41 kB / 0.6167 GB, free: 34.54 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001201/0.5926, allocations: 63.69 kB / 0.6168 GB, free: 34.5 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000483/0.5931, allocations: 451.1 kB / 0.6172 GB, free: 34.23 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.309e-05/0.5931, allocations: 29.38 kB / 0.6173 GB, free: 34.23 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.682e-05/0.5932, allocations: 36.56 kB / 0.6173 GB, free: 34.23 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000575/0.5937, allocations: 308.2 kB / 0.6176 GB, free: 34.2 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.198e-05/0.5938, allocations: 0 / 0.6176 GB, free: 34.2 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.975e-05/0.5938, allocations: 8 kB / 0.6176 GB, free: 34.2 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.105e-06/0.5938, allocations: 13.64 kB / 0.6176 GB, free: 34.19 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005962/0.5944, allocations: 264.7 kB / 0.6179 GB, free: 34.19 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.001897/0.5963, allocations: 1.337 MB / 0.6192 GB, free: 33.5 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004621/0.5968, allocations: 266.2 kB / 0.6194 GB, free: 33.46 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003038/0.5971, allocations: 131.7 kB / 0.6195 GB, free: 33.46 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003909/0.5975, allocations: 0.5013 MB / 0.62 GB, free: 32.89 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.413e-05/0.5976, allocations: 42.44 kB / 0.6201 GB, free: 32.85 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=25): time 1.733e-06/0.5976, allocations: 3.938 kB / 0.6201 GB, free: 32.84 MB / 0.4981 GB Notification: Performance of matching and sorting (n=25): time 0.001684/0.5993, allocations: 0.565 MB / 0.6206 GB, free: 32.6 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.692e-05/0.5993, allocations: 54.66 kB / 0.6207 GB, free: 32.54 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004441/0.5998, allocations: 467.5 kB / 0.6211 GB, free: 32.32 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.956e-05/0.5998, allocations: 36.19 kB / 0.6212 GB, free: 32.28 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001199/0.5999, allocations: 240.9 kB / 0.6214 GB, free: 32.09 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.998e-05/0.6, allocations: 86.59 kB / 0.6215 GB, free: 32.02 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001031/0.6001, allocations: 80.14 kB / 0.6216 GB, free: 31.98 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 7.156e-05/0.6002, allocations: 356.9 kB / 0.6219 GB, free: 31.64 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002725/0.6004, allocations: 120.6 kB / 0.622 GB, free: 31.61 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003176/0.6008, allocations: 186 kB / 0.6222 GB, free: 31.52 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005371/0.6013, allocations: 267.5 kB / 0.6224 GB, free: 31.41 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.6013, allocations: 4 kB / 0.6224 GB, free: 31.41 MB / 0.4981 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001492/0.6028, allocations: 493.7 kB / 0.6229 GB, free: 31.23 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.975e-05/0.6029, allocations: 8.375 kB / 0.6229 GB, free: 31.23 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.6029, allocations: 0 / 0.6229 GB, free: 31.23 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003384/0.6032, allocations: 51.44 kB / 0.623 GB, free: 31.22 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003283/0.6036, allocations: 70.69 kB / 0.623 GB, free: 31.21 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003262/0.6039, allocations: 0.5647 MB / 0.6236 GB, free: 30.67 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004488/0.6044, allocations: 57.41 kB / 0.6236 GB, free: 30.64 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.822e-05/0.6044, allocations: 13.59 kB / 0.6237 GB, free: 30.64 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003827/0.6048, allocations: 247 kB / 0.6239 GB, free: 30.5 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002969/0.6051, allocations: 167 kB / 0.6241 GB, free: 30.42 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005315/0.6056, allocations: 268.4 kB / 0.6243 GB, free: 30.32 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.583e-06/0.6056, allocations: 0 / 0.6243 GB, free: 30.32 MB / 0.4981 GB Notification: Performance of matching and sorting (n=37) (initialization_lambda0): time 0.0007158/0.6064, allocations: 366.6 kB / 0.6247 GB, free: 30.18 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 9.878e-06/0.6064, allocations: 6.531 kB / 0.6247 GB, free: 30.18 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.938e-06/0.6064, allocations: 2.625 kB / 0.6247 GB, free: 30.18 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.689e-06/0.6064, allocations: 7.188 kB / 0.6247 GB, free: 30.17 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003576/0.6068, allocations: 80.64 kB / 0.6248 GB, free: 30.16 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.799e-06/0.6068, allocations: 2.5 kB / 0.6248 GB, free: 30.16 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004168/0.6072, allocations: 44.98 kB / 0.6248 GB, free: 30.15 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.888e-05/0.6072, allocations: 16.06 kB / 0.6248 GB, free: 30.14 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.0001333/0.6074, allocations: 193.9 kB / 0.625 GB, free: 29.95 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.463e-05/0.6075, allocations: 55.53 kB / 0.6251 GB, free: 29.92 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009093/0.6084, allocations: 429.3 kB / 0.6255 GB, free: 29.74 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.006e-05/0.6084, allocations: 5.375 kB / 0.6255 GB, free: 29.74 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.673e-06/0.6084, allocations: 144 / 0.6255 GB, free: 29.74 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.444e-06/0.6084, allocations: 7.312 kB / 0.6255 GB, free: 29.74 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00131/0.6097, allocations: 0.9442 MB / 0.6264 GB, free: 29.18 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.969e-06/0.6098, allocations: 2.875 kB / 0.6264 GB, free: 29.18 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002131/0.61, allocations: 52.89 kB / 0.6264 GB, free: 29.17 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001989/0.6102, allocations: 44.53 kB / 0.6265 GB, free: 29.16 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.185e-05/0.6102, allocations: 12.83 kB / 0.6265 GB, free: 29.15 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003003/0.6105, allocations: 0.5526 MB / 0.627 GB, free: 28.61 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.6105, allocations: 0 / 0.627 GB, free: 28.61 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008605/0.6114, allocations: 496.8 kB / 0.6275 GB, free: 28.33 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001875/0.6116, allocations: 150.1 kB / 0.6277 GB, free: 28.2 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.899e-05/0.6117, allocations: 6.812 kB / 0.6277 GB, free: 28.19 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005093/0.6122, allocations: 35.34 kB / 0.6277 GB, free: 28.18 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.56e-05/0.6124, allocations: 20.5 kB / 0.6277 GB, free: 28.18 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.64e-05/0.6124, allocations: 8.812 kB / 0.6277 GB, free: 28.18 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0004806/0.6129, allocations: 328.3 kB / 0.628 GB, free: 28.02 MB / 0.4981 GB Notification: Performance of sort global known variables: time 3.2e-07/0.6129, allocations: 7.875 kB / 0.628 GB, free: 28.02 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001059/0.614, allocations: 246.5 kB / 0.6283 GB, free: 27.96 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.0006631/0.6147, allocations: 252.9 kB / 0.6285 GB, free: 27.84 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001714/0.6164, allocations: 480.2 kB / 0.629 GB, free: 27.71 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 5.28e-06/0.6164, allocations: 0 / 0.629 GB, free: 27.71 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005647/0.617, allocations: 169.8 kB / 0.6291 GB, free: 27.67 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001724/0.6187, allocations: 227 kB / 0.6294 GB, free: 27.6 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00194/0.6207, allocations: 0.8357 MB / 0.6302 GB, free: 27.12 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003505/0.6211, allocations: 0.8577 MB / 0.631 GB, free: 26.41 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.000671/0.6217, allocations: 117.7 kB / 0.6311 GB, free: 26.38 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001453/0.6219, allocations: 50 kB / 0.6312 GB, free: 26.36 MB / 0.4981 GB Notification: Performance of SimCode: time 8.92e-07/0.6219, allocations: 0 / 0.6312 GB, free: 26.36 MB / 0.4981 GB Notification: Performance of Templates: time 0.03004/0.652, allocations: 10.11 MB / 0.6411 GB, free: 25.54 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)