Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS.Fluid.FixedResistances.Examples.CheckValve") translateModel(IDEAS.Fluid.FixedResistances.Examples.CheckValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.001208/0.001208, allocations: 119.1 kB / 16.43 MB, free: 6.027 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.001235/0.001235, allocations: 187.5 kB / 17.35 MB, free: 5.625 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.341/1.341, allocations: 222.9 MB / 241.1 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7907/0.7907, allocations: 132.2 MB / 423.4 MB, free: 6.625 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002083/0.002083, allocations: 66.98 kB / 0.582 GB, free: 23.73 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1524/0.1545, allocations: 80.2 MB / 0.6603 GB, free: 10.29 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Examples.CheckValve): time 0.02307/0.1776, allocations: 20.75 MB / 0.6806 GB, free: 5.465 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.007487/0.1851, allocations: 4.945 MB / 0.6854 GB, free: 0.5078 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008007/0.186, allocations: 19.88 kB / 0.6854 GB, free: 500 kB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0009533/0.1869, allocations: 282 kB / 0.6857 GB, free: 216 kB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.002687/0.1897, allocations: 0.8545 MB / 0.6865 GB, free: 15.35 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.002133/0.1918, allocations: 0.7246 MB / 0.6872 GB, free: 14.64 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.001974/0.1938, allocations: 1.384 MB / 0.6886 GB, free: 13.25 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008076/0.1946, allocations: 432.4 kB / 0.689 GB, free: 12.82 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001193/0.1958, allocations: 0.5876 MB / 0.6896 GB, free: 12.23 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007966/0.1966, allocations: 438.1 kB / 0.69 GB, free: 11.8 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0001331/0.1968, allocations: 40 kB / 0.69 GB, free: 11.77 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001355/0.1982, allocations: 0.6472 MB / 0.6907 GB, free: 11.12 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001787/0.1983, allocations: 119.5 kB / 0.6908 GB, free: 11 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0003842/0.1987, allocations: 290.5 kB / 0.6911 GB, free: 10.71 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.00153/0.2003, allocations: 0.8522 MB / 0.6919 GB, free: 9.859 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 6.953e-06/0.2003, allocations: 3.938 kB / 0.6919 GB, free: 9.855 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.463e-06/0.2003, allocations: 3.938 kB / 0.6919 GB, free: 9.852 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 2.055e-05/0.2003, allocations: 0 / 0.6919 GB, free: 9.852 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.001662/0.202, allocations: 0.9413 MB / 0.6928 GB, free: 8.859 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.131e-05/0.2021, allocations: 8.031 kB / 0.6928 GB, free: 8.852 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000153/0.2022, allocations: 68.52 kB / 0.6929 GB, free: 8.785 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007501/0.203, allocations: 487 kB / 0.6934 GB, free: 8.27 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.891e-05/0.203, allocations: 24.66 kB / 0.6934 GB, free: 8.246 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.686e-05/0.2031, allocations: 43.94 kB / 0.6934 GB, free: 8.203 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006779/0.2038, allocations: 310 kB / 0.6937 GB, free: 7.895 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.382e-05/0.2038, allocations: 0 / 0.6937 GB, free: 7.895 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.051e-05/0.2038, allocations: 12 kB / 0.6937 GB, free: 7.883 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.518e-06/0.2038, allocations: 8 kB / 0.6937 GB, free: 7.875 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006348/0.2045, allocations: 258.4 kB / 0.694 GB, free: 7.621 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.002191/0.2067, allocations: 1.341 MB / 0.6953 GB, free: 6.16 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005136/0.2072, allocations: 258.4 kB / 0.6955 GB, free: 5.898 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003037/0.2075, allocations: 136.8 kB / 0.6957 GB, free: 5.762 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003997/0.2079, allocations: 0.4947 MB / 0.6962 GB, free: 5.156 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.168e-05/0.208, allocations: 38.5 kB / 0.6962 GB, free: 5.109 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=25): time 2.054e-06/0.208, allocations: 0 / 0.6962 GB, free: 5.109 MB / 0.5294 GB Notification: Performance of matching and sorting (n=25): time 0.001777/0.2098, allocations: 0.5576 MB / 0.6967 GB, free: 4.523 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.647e-05/0.2098, allocations: 59.39 kB / 0.6968 GB, free: 4.453 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005173/0.2103, allocations: 470.1 kB / 0.6972 GB, free: 3.984 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 4.618e-05/0.2104, allocations: 33.7 kB / 0.6973 GB, free: 3.945 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001692/0.2106, allocations: 240.7 kB / 0.6975 GB, free: 3.707 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 7.397e-05/0.2106, allocations: 95.2 kB / 0.6976 GB, free: 3.613 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001237/0.2108, allocations: 73.69 kB / 0.6977 GB, free: 3.535 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001329/0.2109, allocations: 358.8 kB / 0.698 GB, free: 3.176 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003147/0.2112, allocations: 116.8 kB / 0.6981 GB, free: 3.059 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003818/0.2116, allocations: 181 kB / 0.6983 GB, free: 2.863 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006593/0.2123, allocations: 280.9 kB / 0.6986 GB, free: 2.586 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.467e-06/0.2123, allocations: 4 kB / 0.6986 GB, free: 2.582 MB / 0.5294 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001621/0.2139, allocations: 498 kB / 0.699 GB, free: 2.086 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.07e-05/0.214, allocations: 8 kB / 0.699 GB, free: 2.078 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.578e-06/0.214, allocations: 0 / 0.699 GB, free: 2.078 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003825/0.2144, allocations: 52.75 kB / 0.6991 GB, free: 2.023 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003815/0.2148, allocations: 71.89 kB / 0.6992 GB, free: 1.953 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004237/0.2152, allocations: 0.5718 MB / 0.6997 GB, free: 1.355 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004533/0.2157, allocations: 47.75 kB / 0.6998 GB, free: 1.309 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.647e-05/0.2157, allocations: 15.98 kB / 0.6998 GB, free: 1.293 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004339/0.2162, allocations: 239.8 kB / 0.7 GB, free: 1.055 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003479/0.2165, allocations: 178.7 kB / 0.7002 GB, free: 0.8633 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005711/0.2171, allocations: 264.6 kB / 0.7004 GB, free: 0.5977 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.713e-06/0.2171, allocations: 160 / 0.7004 GB, free: 0.5977 MB / 0.5294 GB Notification: Performance of matching and sorting (n=37) (initialization_lambda0): time 0.0008045/0.2179, allocations: 377 kB / 0.7008 GB, free: 228 kB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 9.547e-06/0.218, allocations: 4 kB / 0.7008 GB, free: 224 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.417e-06/0.218, allocations: 3.938 kB / 0.7008 GB, free: 220 kB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.869e-06/0.218, allocations: 4 kB / 0.7008 GB, free: 216 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000398/0.2184, allocations: 71.89 kB / 0.7009 GB, free: 144 kB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.823e-06/0.2184, allocations: 11.98 kB / 0.7009 GB, free: 132 kB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004315/0.2188, allocations: 51.84 kB / 0.7009 GB, free: 80 kB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.242e-05/0.2189, allocations: 12 kB / 0.7009 GB, free: 68 kB / 0.5294 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.000155/0.219, allocations: 192.2 kB / 0.7011 GB, free: 15.87 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.64e-05/0.2191, allocations: 55.61 kB / 0.7012 GB, free: 15.82 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000984/0.2201, allocations: 425.2 kB / 0.7016 GB, free: 15.38 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.945e-06/0.2202, allocations: 3.984 kB / 0.7016 GB, free: 15.38 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.627e-06/0.2202, allocations: 0 / 0.7016 GB, free: 15.38 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000186/0.2204, allocations: 152.7 kB / 0.7017 GB, free: 15.21 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.795e-05/0.2204, allocations: 7.984 kB / 0.7017 GB, free: 15.2 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003265/0.2208, allocations: 23.97 kB / 0.7018 GB, free: 15.18 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.444e-05/0.2208, allocations: 16.22 kB / 0.7018 GB, free: 15.16 MB / 0.545 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001046/0.2219, allocations: 465.6 kB / 0.7022 GB, free: 14.7 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001089/0.223, allocations: 0.6782 MB / 0.7029 GB, free: 14 MB / 0.545 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002977/0.2233, allocations: 148.2 kB / 0.703 GB, free: 13.86 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0003376/0.2237, allocations: 318.9 kB / 0.7033 GB, free: 13.55 MB / 0.545 GB Notification: Performance of Backend: time 5.11e-07/0.2237, allocations: 0 / 0.7033 GB, free: 13.55 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001895/0.2256, allocations: 0.6121 MB / 0.7039 GB, free: 12.95 MB / 0.545 GB Notification: Performance of SimCode: time 0.001872/0.2274, allocations: 1.392 MB / 0.7053 GB, free: 11.51 MB / 0.545 GB Notification: Performance of Templates: time 0.01936/0.2468, allocations: 11.55 MB / 0.7166 GB, free: 116 kB / 0.545 GB make -j1 -f IDEAS_IDEAS.Fluid.FixedResistances.Examples.CheckValve.makefile (rm -f IDEAS_IDEAS.Fluid.FixedResistances.Examples.CheckValve.pipe ; mkfifo IDEAS_IDEAS.Fluid.FixedResistances.Examples.CheckValve.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.FixedResistances.Examples.CheckValve.pipe >> ../files/IDEAS_IDEAS.Fluid.FixedResistances.Examples.CheckValve.sim & ./IDEAS_IDEAS.Fluid.FixedResistances.Examples.CheckValve -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.FixedResistances.Examples.CheckValve.pipe 2>&1)