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.001222/0.001222, allocations: 102.2 kB / 16.4 MB, free: 6.461 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.001517/0.001518, allocations: 192.2 kB / 17.34 MB, free: 5.719 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.371/1.371, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8004/0.8004, allocations: 135.1 MB / 426.3 MB, free: 4.09 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001444/0.001444, allocations: 66.77 kB / 0.5863 GB, free: 21.66 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.159/0.1604, allocations: 80.92 MB / 0.6653 GB, free: 5.793 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Examples.CheckValve): time 0.02929/0.1898, allocations: 20.74 MB / 0.6855 GB, free: 0.9766 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.009984/0.1998, allocations: 4.948 MB / 0.6904 GB, free: 12.02 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009449/0.2008, allocations: 15.88 kB / 0.6904 GB, free: 12 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.001102/0.202, allocations: 274.1 kB / 0.6907 GB, free: 11.73 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.002978/0.205, allocations: 0.827 MB / 0.6915 GB, free: 10.9 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.002894/0.2079, allocations: 0.71 MB / 0.6922 GB, free: 10.2 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.002659/0.2106, allocations: 1.391 MB / 0.6935 GB, free: 8.805 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009486/0.2115, allocations: 444.3 kB / 0.6939 GB, free: 8.367 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001527/0.2131, allocations: 0.5798 MB / 0.6945 GB, free: 7.785 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009291/0.214, allocations: 442.2 kB / 0.6949 GB, free: 7.352 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0001035/0.2141, allocations: 36 kB / 0.695 GB, free: 7.316 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002091/0.2162, allocations: 0.6316 MB / 0.6956 GB, free: 6.684 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.000225/0.2165, allocations: 127.5 kB / 0.6957 GB, free: 6.559 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0004451/0.2169, allocations: 286.5 kB / 0.696 GB, free: 6.277 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001822/0.2188, allocations: 0.8685 MB / 0.6968 GB, free: 5.406 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 7.785e-06/0.2188, allocations: 0 / 0.6968 GB, free: 5.406 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.885e-06/0.2188, allocations: 3.938 kB / 0.6968 GB, free: 5.402 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.117e-05/0.2188, allocations: 0 / 0.6968 GB, free: 5.402 MB / 0.5294 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.002108/0.2209, allocations: 0.911 MB / 0.6977 GB, free: 4.441 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 5.621e-05/0.221, allocations: 17.05 kB / 0.6977 GB, free: 4.426 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001788/0.2212, allocations: 60.19 kB / 0.6978 GB, free: 4.367 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009315/0.2221, allocations: 474.7 kB / 0.6982 GB, free: 3.859 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.322e-05/0.2222, allocations: 28.66 kB / 0.6983 GB, free: 3.832 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.196e-05/0.2223, allocations: 35.94 kB / 0.6983 GB, free: 3.797 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009232/0.2232, allocations: 309.9 kB / 0.6986 GB, free: 3.484 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.284e-05/0.2232, allocations: 4 kB / 0.6986 GB, free: 3.48 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.98e-05/0.2233, allocations: 16 kB / 0.6986 GB, free: 3.465 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.199e-05/0.2233, allocations: 8 kB / 0.6986 GB, free: 3.457 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008971/0.2242, allocations: 258.4 kB / 0.6989 GB, free: 3.207 MB / 0.5294 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.003025/0.2273, allocations: 1.341 MB / 0.7002 GB, free: 1.746 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007208/0.228, allocations: 250.5 kB / 0.7004 GB, free: 1.492 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005002/0.2285, allocations: 140.8 kB / 0.7005 GB, free: 1.352 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005491/0.2291, allocations: 0.4986 MB / 0.701 GB, free: 0.7422 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.964e-05/0.2291, allocations: 46.44 kB / 0.7011 GB, free: 0.6875 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=25): time 2.495e-06/0.2292, allocations: 0 / 0.7011 GB, free: 0.6875 MB / 0.5294 GB Notification: Performance of matching and sorting (n=25): time 0.002415/0.2316, allocations: 0.5495 MB / 0.7016 GB, free: 112 kB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.652e-05/0.2317, allocations: 63.34 kB / 0.7017 GB, free: 36 kB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007527/0.2324, allocations: 466.1 kB / 0.7021 GB, free: 15.57 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 5.251e-05/0.2325, allocations: 33.7 kB / 0.7022 GB, free: 15.53 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002378/0.2327, allocations: 244.4 kB / 0.7024 GB, free: 15.29 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 9.319e-05/0.2328, allocations: 90.66 kB / 0.7025 GB, free: 15.2 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001747/0.233, allocations: 73.69 kB / 0.7025 GB, free: 15.12 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001835/0.2332, allocations: 354.8 kB / 0.7029 GB, free: 14.77 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004419/0.2337, allocations: 124.5 kB / 0.703 GB, free: 14.64 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005213/0.2342, allocations: 181 kB / 0.7032 GB, free: 14.45 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008804/0.2351, allocations: 276 kB / 0.7034 GB, free: 14.17 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/0.2351, allocations: 0 / 0.7034 GB, free: 14.17 MB / 0.545 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.002239/0.2373, allocations: 487.5 kB / 0.7039 GB, free: 13.68 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.213e-05/0.2374, allocations: 8 kB / 0.7039 GB, free: 13.68 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.264e-05/0.2374, allocations: 4 kB / 0.7039 GB, free: 13.67 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004653/0.2379, allocations: 52.81 kB / 0.704 GB, free: 13.62 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005466/0.2384, allocations: 67.89 kB / 0.704 GB, free: 13.55 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006299/0.2391, allocations: 0.5678 MB / 0.7046 GB, free: 12.96 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000671/0.2398, allocations: 51.75 kB / 0.7046 GB, free: 12.91 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.145e-05/0.2399, allocations: 20.08 kB / 0.7047 GB, free: 12.89 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006681/0.2405, allocations: 236 kB / 0.7049 GB, free: 12.65 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005432/0.2411, allocations: 178.6 kB / 0.705 GB, free: 12.46 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000931/0.242, allocations: 264.6 kB / 0.7053 GB, free: 12.2 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.464e-06/0.2421, allocations: 0 / 0.7053 GB, free: 12.2 MB / 0.545 GB Notification: Performance of matching and sorting (n=37) (initialization_lambda0): time 0.001281/0.2434, allocations: 371.4 kB / 0.7057 GB, free: 11.83 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.075e-05/0.2434, allocations: 11.94 kB / 0.7057 GB, free: 11.82 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.626e-06/0.2434, allocations: 0 / 0.7057 GB, free: 11.82 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.36e-06/0.2434, allocations: 0 / 0.7057 GB, free: 11.82 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005713/0.244, allocations: 79.89 kB / 0.7057 GB, free: 11.74 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.164e-06/0.244, allocations: 4 kB / 0.7057 GB, free: 11.73 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000675/0.2447, allocations: 47.8 kB / 0.7058 GB, free: 11.69 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.874e-05/0.2448, allocations: 15.98 kB / 0.7058 GB, free: 11.67 MB / 0.545 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.0002181/0.245, allocations: 196.2 kB / 0.706 GB, free: 11.47 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001407/0.2451, allocations: 55.28 kB / 0.706 GB, free: 11.42 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001482/0.2466, allocations: 421 kB / 0.7064 GB, free: 10.99 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.552e-05/0.2467, allocations: 3.984 kB / 0.7064 GB, free: 10.99 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/0.2467, allocations: 3.938 kB / 0.7065 GB, free: 10.98 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.157e-06/0.2467, allocations: 12 kB / 0.7065 GB, free: 10.97 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002287/0.249, allocations: 0.9475 MB / 0.7074 GB, free: 9.953 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.402e-06/0.249, allocations: 4.125 kB / 0.7074 GB, free: 9.949 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003586/0.2494, allocations: 47.95 kB / 0.7074 GB, free: 9.902 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002615/0.2497, allocations: 48.77 kB / 0.7075 GB, free: 9.852 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.988e-05/0.2497, allocations: 11.94 kB / 0.7075 GB, free: 9.84 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005184/0.2502, allocations: 0.5562 MB / 0.708 GB, free: 9.258 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.964e-06/0.2503, allocations: 8.094 kB / 0.708 GB, free: 9.25 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001186/0.2515, allocations: 483 kB / 0.7085 GB, free: 8.746 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002578/0.2517, allocations: 160.3 kB / 0.7087 GB, free: 8.57 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.366e-05/0.2518, allocations: 11.94 kB / 0.7087 GB, free: 8.559 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004644/0.2523, allocations: 23.97 kB / 0.7087 GB, free: 8.535 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.368e-05/0.2524, allocations: 19.97 kB / 0.7087 GB, free: 8.516 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.412e-05/0.2525, allocations: 8 kB / 0.7087 GB, free: 8.508 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0005239/0.253, allocations: 330.9 kB / 0.709 GB, free: 8.188 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.9e-07/0.253, allocations: 0 / 0.709 GB, free: 8.188 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001174/0.2542, allocations: 247.5 kB / 0.7093 GB, free: 7.945 MB / 0.545 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.000718/0.2549, allocations: 254.8 kB / 0.7095 GB, free: 7.695 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001711/0.2566, allocations: 478.6 kB / 0.71 GB, free: 7.23 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.118e-06/0.2567, allocations: 0 / 0.71 GB, free: 7.23 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0005736/0.2572, allocations: 171.7 kB / 0.7101 GB, free: 7.062 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001619/0.2589, allocations: 211.6 kB / 0.7103 GB, free: 6.859 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001993/0.2609, allocations: 0.8466 MB / 0.7112 GB, free: 5.965 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005405/0.2614, allocations: 0.8549 MB / 0.712 GB, free: 5.078 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001752/0.2616, allocations: 47.42 kB / 0.712 GB, free: 5.031 MB / 0.545 GB Notification: Performance of SimCode: time 7.52e-07/0.2617, allocations: 0 / 0.712 GB, free: 5.031 MB / 0.545 GB Notification: Performance of Templates: time 0.02016/0.2818, allocations: 10.16 MB / 0.722 GB, free: 10.95 MB / 0.5606 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)