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.001061/0.001061, allocations: 110.4 kB / 16.42 MB, free: 6.508 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.001163/0.001163, allocations: 185.5 kB / 17.35 MB, free: 5.738 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.295/1.295, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8007/0.8007, allocations: 135.1 MB / 426.3 MB, free: 4.133 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001156/0.001156, allocations: 71.84 kB / 0.5863 GB, free: 21.64 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1675/0.1687, allocations: 80.92 MB / 0.6653 GB, free: 5.797 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Examples.CheckValve): time 0.02491/0.1936, allocations: 20.74 MB / 0.6856 GB, free: 0.9766 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.008036/0.2017, allocations: 4.937 MB / 0.6904 GB, free: 12.03 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001013/0.2028, allocations: 19.88 kB / 0.6904 GB, free: 12.01 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.001133/0.2039, allocations: 286 kB / 0.6907 GB, free: 11.73 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.003017/0.207, allocations: 0.8628 MB / 0.6915 GB, free: 10.86 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.002269/0.2093, allocations: 0.7066 MB / 0.6922 GB, free: 10.16 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.00224/0.2116, allocations: 1.386 MB / 0.6936 GB, free: 8.773 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008454/0.2124, allocations: 452.3 kB / 0.694 GB, free: 8.328 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001371/0.2138, allocations: 0.5798 MB / 0.6946 GB, free: 7.746 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009287/0.2147, allocations: 442.1 kB / 0.695 GB, free: 7.312 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0001739/0.2149, allocations: 40 kB / 0.695 GB, free: 7.273 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001509/0.2165, allocations: 0.6355 MB / 0.6956 GB, free: 6.637 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0002174/0.2167, allocations: 119.5 kB / 0.6957 GB, free: 6.52 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0005013/0.2172, allocations: 290.5 kB / 0.696 GB, free: 6.234 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001752/0.2189, allocations: 0.8528 MB / 0.6969 GB, free: 5.379 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 1.076e-05/0.219, allocations: 4 kB / 0.6969 GB, free: 5.375 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.453e-06/0.219, allocations: 3.938 kB / 0.6969 GB, free: 5.371 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 2.377e-05/0.219, allocations: 0 / 0.6969 GB, free: 5.371 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.002188/0.2212, allocations: 0.9265 MB / 0.6978 GB, free: 4.395 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.722e-05/0.2213, allocations: 9.109 kB / 0.6978 GB, free: 4.387 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002004/0.2215, allocations: 64.19 kB / 0.6978 GB, free: 4.324 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009918/0.2225, allocations: 474.6 kB / 0.6983 GB, free: 3.816 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.993e-05/0.2225, allocations: 24.66 kB / 0.6983 GB, free: 3.793 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.981e-05/0.2226, allocations: 39.94 kB / 0.6984 GB, free: 3.754 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007569/0.2233, allocations: 306 kB / 0.6986 GB, free: 3.445 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.335e-05/0.2234, allocations: 0 / 0.6986 GB, free: 3.445 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.528e-05/0.2234, allocations: 16 kB / 0.6987 GB, free: 3.43 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.135e-05/0.2234, allocations: 8 kB / 0.6987 GB, free: 3.422 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006622/0.2241, allocations: 270.4 kB / 0.6989 GB, free: 3.16 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.002421/0.2265, allocations: 1.333 MB / 0.7002 GB, free: 1.707 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005399/0.2271, allocations: 254.5 kB / 0.7005 GB, free: 1.449 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002936/0.2274, allocations: 136.8 kB / 0.7006 GB, free: 1.312 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004579/0.2278, allocations: 0.4947 MB / 0.7011 GB, free: 0.707 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.986e-05/0.2279, allocations: 34.5 kB / 0.7011 GB, free: 0.6641 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=25): time 2.044e-06/0.2279, allocations: 4 kB / 0.7011 GB, free: 0.6602 MB / 0.5294 GB Notification: Performance of matching and sorting (n=25): time 0.001768/0.2297, allocations: 0.5534 MB / 0.7017 GB, free: 80 kB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.481e-05/0.2297, allocations: 55.41 kB / 0.7017 GB, free: 12 kB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005579/0.2303, allocations: 470.1 kB / 0.7022 GB, free: 15.54 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 4.303e-05/0.2303, allocations: 37.7 kB / 0.7022 GB, free: 15.5 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001948/0.2305, allocations: 244.4 kB / 0.7024 GB, free: 15.26 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 8.486e-05/0.2306, allocations: 86.75 kB / 0.7025 GB, free: 15.17 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001319/0.2308, allocations: 73.67 kB / 0.7026 GB, free: 15.09 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001707/0.2309, allocations: 362.7 kB / 0.7029 GB, free: 14.73 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003213/0.2313, allocations: 120.5 kB / 0.703 GB, free: 14.61 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003632/0.2316, allocations: 189 kB / 0.7032 GB, free: 14.41 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006194/0.2323, allocations: 279.4 kB / 0.7035 GB, free: 14.12 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.935e-06/0.2323, allocations: 0 / 0.7035 GB, free: 14.12 MB / 0.545 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001528/0.2338, allocations: 492.3 kB / 0.704 GB, free: 13.64 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.837e-05/0.2339, allocations: 8 kB / 0.704 GB, free: 13.63 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.183e-06/0.2339, allocations: 0 / 0.704 GB, free: 13.63 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003825/0.2343, allocations: 52.81 kB / 0.704 GB, free: 13.57 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003492/0.2346, allocations: 71.89 kB / 0.7041 GB, free: 13.5 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004742/0.2351, allocations: 0.568 MB / 0.7046 GB, free: 12.91 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004497/0.2356, allocations: 51.72 kB / 0.7047 GB, free: 12.86 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.831e-05/0.2356, allocations: 19.98 kB / 0.7047 GB, free: 12.84 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004184/0.236, allocations: 240.1 kB / 0.7049 GB, free: 12.6 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003493/0.2364, allocations: 174.6 kB / 0.7051 GB, free: 12.41 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005706/0.237, allocations: 260.5 kB / 0.7054 GB, free: 12.15 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.004e-06/0.237, allocations: 0 / 0.7054 GB, free: 12.15 MB / 0.545 GB Notification: Performance of matching and sorting (n=37) (initialization_lambda0): time 0.0007849/0.2378, allocations: 364.8 kB / 0.7057 GB, free: 11.79 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.056e-05/0.2378, allocations: 8 kB / 0.7057 GB, free: 11.78 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.2378, allocations: 3.938 kB / 0.7057 GB, free: 11.78 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.873e-06/0.2378, allocations: 7.984 kB / 0.7057 GB, free: 11.77 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003804/0.2382, allocations: 79.89 kB / 0.7058 GB, free: 11.69 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.272e-06/0.2382, allocations: 4 kB / 0.7058 GB, free: 11.69 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004226/0.2387, allocations: 47.8 kB / 0.7058 GB, free: 11.64 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.84e-05/0.2387, allocations: 11.98 kB / 0.7059 GB, free: 11.63 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.00016/0.2389, allocations: 192.2 kB / 0.706 GB, free: 11.43 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001024/0.239, allocations: 63.28 kB / 0.7061 GB, free: 11.37 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000928/0.2399, allocations: 416.8 kB / 0.7065 GB, free: 10.95 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.526e-06/0.2399, allocations: 3.984 kB / 0.7065 GB, free: 10.95 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.436e-06/0.2399, allocations: 0 / 0.7065 GB, free: 10.95 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002035/0.2401, allocations: 148.4 kB / 0.7066 GB, free: 10.78 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.554e-05/0.2402, allocations: 4 kB / 0.7066 GB, free: 10.78 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003219/0.2405, allocations: 27.97 kB / 0.7067 GB, free: 10.75 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.073e-05/0.2406, allocations: 20.2 kB / 0.7067 GB, free: 10.73 MB / 0.545 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001026/0.2417, allocations: 461.3 kB / 0.7071 GB, free: 10.27 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001112/0.2428, allocations: 0.6743 MB / 0.7078 GB, free: 9.578 MB / 0.545 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003003/0.2431, allocations: 144.6 kB / 0.7079 GB, free: 9.438 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0003553/0.2435, allocations: 322.9 kB / 0.7082 GB, free: 9.125 MB / 0.545 GB Notification: Performance of Backend: time 5.91e-07/0.2435, allocations: 4 kB / 0.7082 GB, free: 9.121 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.00191/0.2454, allocations: 0.6049 MB / 0.7088 GB, free: 8.52 MB / 0.545 GB Notification: Performance of SimCode: time 0.002114/0.2475, allocations: 1.372 MB / 0.7102 GB, free: 7.098 MB / 0.545 GB Notification: Performance of Templates: time 0.02017/0.2677, allocations: 11.56 MB / 0.7215 GB, free: 11.67 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)