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.001388/0.001387, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001506/0.001506, allocations: 191.5 kB / 16.25 MB, free: 6.648 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.455/1.455, allocations: 222.9 MB / 239.9 MB, free: 4.52 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9751/0.9751, allocations: 135.1 MB / 425.2 MB, free: 11.93 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001545/0.001545, allocations: 67.77 kB / 0.5049 GB, free: 5.625 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1997/0.2012, allocations: 80.93 MB / 0.5839 GB, free: 4.863 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Examples.CheckValve): time 0.02106/0.2223, allocations: 20.62 MB / 0.604 GB, free: 172 kB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.3609/0.5833, allocations: 4.911 MB / 0.6088 GB, free: 35.62 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005369/0.5838, allocations: 17.78 kB / 0.6088 GB, free: 35.62 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0007105/0.5846, allocations: 229.7 kB / 0.609 GB, free: 35.61 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.00185/0.5865, allocations: 0.7646 MB / 0.6098 GB, free: 35.57 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001686/0.5882, allocations: 0.6439 MB / 0.6104 GB, free: 35.55 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001435/0.5896, allocations: 1.391 MB / 0.6118 GB, free: 35.54 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005027/0.5901, allocations: 429.2 kB / 0.6122 GB, free: 35.52 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007907/0.5909, allocations: 0.5723 MB / 0.6127 GB, free: 35.43 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004501/0.5914, allocations: 460.5 kB / 0.6132 GB, free: 35.34 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 6.217e-05/0.5914, allocations: 45.72 kB / 0.6132 GB, free: 35.33 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001022/0.5925, allocations: 0.6357 MB / 0.6139 GB, free: 35.28 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001138/0.5926, allocations: 122.7 kB / 0.614 GB, free: 35.26 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002546/0.5929, allocations: 292.8 kB / 0.6142 GB, free: 35.16 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0009485/0.5938, allocations: 0.8376 MB / 0.6151 GB, free: 35.03 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.711e-06/0.5938, allocations: 0 / 0.6151 GB, free: 35.03 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.014e-06/0.5938, allocations: 0 / 0.6151 GB, free: 35.03 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.207e-05/0.5939, allocations: 0 / 0.6151 GB, free: 35.03 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.001719/0.5956, allocations: 0.9287 MB / 0.616 GB, free: 34.43 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 6.376e-05/0.5957, allocations: 10.84 kB / 0.616 GB, free: 34.43 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001581/0.5958, allocations: 61.44 kB / 0.616 GB, free: 34.39 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006681/0.5965, allocations: 456.7 kB / 0.6165 GB, free: 34.12 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.954e-05/0.5966, allocations: 29.66 kB / 0.6165 GB, free: 34.12 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.259e-05/0.5966, allocations: 33.56 kB / 0.6165 GB, free: 34.12 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006863/0.5973, allocations: 314.8 kB / 0.6168 GB, free: 34.08 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.627e-05/0.5974, allocations: 0 / 0.6168 GB, free: 34.08 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.677e-05/0.5974, allocations: 14.38 kB / 0.6169 GB, free: 34.08 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.088e-05/0.5974, allocations: 9.406 kB / 0.6169 GB, free: 34.08 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005794/0.598, allocations: 258.5 kB / 0.6171 GB, free: 34.07 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.002156/0.6002, allocations: 1.335 MB / 0.6184 GB, free: 33.39 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005397/0.6007, allocations: 255.1 kB / 0.6187 GB, free: 33.36 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002795/0.601, allocations: 140.8 kB / 0.6188 GB, free: 33.35 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000484/0.6015, allocations: 0.4953 MB / 0.6193 GB, free: 32.79 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.955e-05/0.6016, allocations: 33.66 kB / 0.6193 GB, free: 32.75 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=25): time 1.623e-06/0.6016, allocations: 0 / 0.6193 GB, free: 32.75 MB / 0.4981 GB Notification: Performance of matching and sorting (n=25): time 0.00171/0.6033, allocations: 0.5631 MB / 0.6199 GB, free: 32.57 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.005e-05/0.6033, allocations: 57.91 kB / 0.6199 GB, free: 32.51 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004246/0.6038, allocations: 466.5 kB / 0.6204 GB, free: 32.32 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.999e-05/0.6038, allocations: 29.7 kB / 0.6204 GB, free: 32.28 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001281/0.6039, allocations: 240.1 kB / 0.6206 GB, free: 32.09 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 5.492e-05/0.604, allocations: 92.42 kB / 0.6207 GB, free: 32.02 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000111/0.6041, allocations: 82.56 kB / 0.6208 GB, free: 31.97 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 8.824e-05/0.6042, allocations: 357.2 kB / 0.6211 GB, free: 31.64 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002765/0.6045, allocations: 123 kB / 0.6212 GB, free: 31.6 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003262/0.6048, allocations: 184.5 kB / 0.6214 GB, free: 31.51 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005356/0.6054, allocations: 276.8 kB / 0.6217 GB, free: 31.4 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.6054, allocations: 0 / 0.6217 GB, free: 31.4 MB / 0.4981 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001466/0.6068, allocations: 496.2 kB / 0.6221 GB, free: 31.23 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.791e-05/0.6069, allocations: 10.03 kB / 0.6222 GB, free: 31.22 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.993e-06/0.6069, allocations: 3.828 kB / 0.6222 GB, free: 31.22 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003728/0.6073, allocations: 57.62 kB / 0.6222 GB, free: 31.21 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003489/0.6076, allocations: 66.17 kB / 0.6223 GB, free: 31.2 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003255/0.608, allocations: 0.5712 MB / 0.6228 GB, free: 30.65 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004661/0.6084, allocations: 66.11 kB / 0.6229 GB, free: 30.62 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.168e-05/0.6085, allocations: 13.03 kB / 0.6229 GB, free: 30.62 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003911/0.6089, allocations: 243.9 kB / 0.6231 GB, free: 30.49 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002909/0.6092, allocations: 170.7 kB / 0.6233 GB, free: 30.41 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005086/0.6097, allocations: 265.4 kB / 0.6236 GB, free: 30.3 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.212e-06/0.6097, allocations: 0 / 0.6236 GB, free: 30.3 MB / 0.4981 GB Notification: Performance of matching and sorting (n=37) (initialization_lambda0): time 0.0006837/0.6104, allocations: 370.5 kB / 0.6239 GB, free: 30.16 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 9.648e-06/0.6104, allocations: 2.812 kB / 0.6239 GB, free: 30.16 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.055e-06/0.6104, allocations: 2.75 kB / 0.6239 GB, free: 30.16 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.717e-06/0.6104, allocations: 3.938 kB / 0.6239 GB, free: 30.16 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003749/0.6108, allocations: 80 kB / 0.624 GB, free: 30.15 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.557e-06/0.6108, allocations: 3.125 kB / 0.624 GB, free: 30.15 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004406/0.6113, allocations: 66.05 kB / 0.6241 GB, free: 30.12 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.896e-05/0.6113, allocations: 15.69 kB / 0.6241 GB, free: 30.12 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.0001045/0.6114, allocations: 191.2 kB / 0.6243 GB, free: 29.93 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.58e-05/0.6115, allocations: 50.12 kB / 0.6243 GB, free: 29.9 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008584/0.6124, allocations: 415.6 kB / 0.6247 GB, free: 29.74 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.069e-05/0.6124, allocations: 6.75 kB / 0.6247 GB, free: 29.74 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.962e-06/0.6124, allocations: 0 / 0.6247 GB, free: 29.74 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.771e-06/0.6124, allocations: 4 kB / 0.6247 GB, free: 29.73 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001312/0.6137, allocations: 0.9458 MB / 0.6256 GB, free: 29.18 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.48e-06/0.6137, allocations: 4.75 kB / 0.6256 GB, free: 29.17 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002224/0.614, allocations: 49.39 kB / 0.6257 GB, free: 29.17 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001643/0.6141, allocations: 40.08 kB / 0.6257 GB, free: 29.16 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.509e-05/0.6142, allocations: 13.16 kB / 0.6257 GB, free: 29.15 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002434/0.6144, allocations: 0.5605 MB / 0.6263 GB, free: 28.61 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.075e-06/0.6144, allocations: 4.109 kB / 0.6263 GB, free: 28.6 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000716/0.6152, allocations: 0.491 MB / 0.6268 GB, free: 28.3 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001364/0.6153, allocations: 158.3 kB / 0.6269 GB, free: 28.17 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.577e-05/0.6154, allocations: 6.688 kB / 0.6269 GB, free: 28.16 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003679/0.6157, allocations: 37.7 kB / 0.627 GB, free: 28.16 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.839e-05/0.6158, allocations: 26.11 kB / 0.627 GB, free: 28.15 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.489e-05/0.6159, allocations: 9.531 kB / 0.627 GB, free: 28.15 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0003224/0.6162, allocations: 325.5 kB / 0.6273 GB, free: 28 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.21e-07/0.6162, allocations: 0 / 0.6273 GB, free: 28 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0008014/0.617, allocations: 258.1 kB / 0.6276 GB, free: 27.94 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.0005338/0.6175, allocations: 252.1 kB / 0.6278 GB, free: 27.81 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001141/0.6187, allocations: 478 kB / 0.6283 GB, free: 27.69 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/0.6187, allocations: 0 / 0.6283 GB, free: 27.69 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003633/0.6191, allocations: 168.8 kB / 0.6284 GB, free: 27.65 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001019/0.6201, allocations: 229.5 kB / 0.6286 GB, free: 27.57 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00133/0.6214, allocations: 1.007 MB / 0.6296 GB, free: 26.92 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002506/0.6217, allocations: 0.8523 MB / 0.6305 GB, free: 26.21 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0003871/0.6221, allocations: 115.7 kB / 0.6306 GB, free: 26.19 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.528e-05/0.6222, allocations: 41.53 kB / 0.6306 GB, free: 26.18 MB / 0.4981 GB Notification: Performance of SimCode: time 3.2e-07/0.6222, allocations: 7.938 kB / 0.6306 GB, free: 26.17 MB / 0.4981 GB Notification: Performance of Templates: time 0.01713/0.6393, allocations: 9.971 MB / 0.6403 GB, free: 25.38 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)