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.001725/0.001725, allocations: 106.7 kB / 16.41 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.001864/0.001864, allocations: 187 kB / 17.34 MB, free: 5.742 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.355/1.355, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7613/0.7613, allocations: 132.2 MB / 423.4 MB, free: 6.582 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001217/0.001217, allocations: 57.31 kB / 0.582 GB, free: 23.84 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1586/0.1599, allocations: 80.21 MB / 0.6603 GB, free: 10.27 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Examples.CheckValve): time 0.025/0.1849, allocations: 20.75 MB / 0.6806 GB, free: 5.441 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.007057/0.192, allocations: 4.947 MB / 0.6854 GB, free: 492 kB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007569/0.1928, allocations: 19.88 kB / 0.6854 GB, free: 472 kB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0009592/0.1938, allocations: 270 kB / 0.6857 GB, free: 200 kB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.002233/0.1961, allocations: 0.8199 MB / 0.6865 GB, free: 15.37 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.001939/0.198, allocations: 0.713 MB / 0.6872 GB, free: 14.67 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.001808/0.1999, allocations: 1.387 MB / 0.6885 GB, free: 13.27 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005814/0.2004, allocations: 432.5 kB / 0.689 GB, free: 12.85 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009588/0.2014, allocations: 0.5836 MB / 0.6895 GB, free: 12.26 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005582/0.202, allocations: 446.1 kB / 0.6899 GB, free: 11.82 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 8.51e-05/0.2021, allocations: 36 kB / 0.69 GB, free: 11.79 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001284/0.2034, allocations: 0.6316 MB / 0.6906 GB, free: 11.16 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001524/0.2035, allocations: 127.5 kB / 0.6907 GB, free: 11.03 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0002898/0.2038, allocations: 286.5 kB / 0.691 GB, free: 10.75 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001249/0.2051, allocations: 0.8606 MB / 0.6918 GB, free: 9.887 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.2051, allocations: 0 / 0.6918 GB, free: 9.887 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.575e-06/0.2051, allocations: 0 / 0.6918 GB, free: 9.887 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.155e-05/0.2051, allocations: 0 / 0.6918 GB, free: 9.887 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.001697/0.2068, allocations: 0.9226 MB / 0.6927 GB, free: 8.914 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.397e-05/0.2069, allocations: 12.03 kB / 0.6927 GB, free: 8.902 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001296/0.207, allocations: 60.19 kB / 0.6928 GB, free: 8.844 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008412/0.2079, allocations: 478.5 kB / 0.6933 GB, free: 8.336 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.102e-05/0.2079, allocations: 28.66 kB / 0.6933 GB, free: 8.309 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.972e-05/0.208, allocations: 39.98 kB / 0.6933 GB, free: 8.27 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006156/0.2086, allocations: 310 kB / 0.6936 GB, free: 7.961 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.426e-05/0.2086, allocations: 0 / 0.6936 GB, free: 7.961 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.335e-05/0.2087, allocations: 15.94 kB / 0.6936 GB, free: 7.945 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.112e-05/0.2087, allocations: 8 kB / 0.6936 GB, free: 7.938 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005878/0.2093, allocations: 262.4 kB / 0.6939 GB, free: 7.68 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.002121/0.2114, allocations: 1.333 MB / 0.6952 GB, free: 6.227 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005052/0.2119, allocations: 254.4 kB / 0.6954 GB, free: 5.969 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002833/0.2122, allocations: 140.7 kB / 0.6956 GB, free: 5.828 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004404/0.2127, allocations: 0.4986 MB / 0.6961 GB, free: 5.219 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.271e-05/0.2127, allocations: 38.5 kB / 0.6961 GB, free: 5.172 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=25): time 1.743e-06/0.2127, allocations: 0 / 0.6961 GB, free: 5.172 MB / 0.5294 GB Notification: Performance of matching and sorting (n=25): time 0.001738/0.2145, allocations: 0.565 MB / 0.6966 GB, free: 4.578 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.39e-05/0.2145, allocations: 55.41 kB / 0.6967 GB, free: 4.512 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000478/0.215, allocations: 458.2 kB / 0.6971 GB, free: 4.055 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.745e-05/0.215, allocations: 33.7 kB / 0.6972 GB, free: 4.016 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001774/0.2152, allocations: 244.4 kB / 0.6974 GB, free: 3.773 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 7.437e-05/0.2153, allocations: 86.75 kB / 0.6975 GB, free: 3.688 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001171/0.2154, allocations: 77.69 kB / 0.6976 GB, free: 3.605 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001578/0.2156, allocations: 358.8 kB / 0.6979 GB, free: 3.246 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003/0.2159, allocations: 124.8 kB / 0.698 GB, free: 3.121 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003545/0.2163, allocations: 177 kB / 0.6982 GB, free: 2.93 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005825/0.2169, allocations: 273.1 kB / 0.6985 GB, free: 2.656 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.564e-06/0.2169, allocations: 0 / 0.6985 GB, free: 2.656 MB / 0.5294 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.00153/0.2184, allocations: 496.5 kB / 0.6989 GB, free: 2.164 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.755e-05/0.2184, allocations: 11.94 kB / 0.6989 GB, free: 2.152 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.875e-06/0.2184, allocations: 4 kB / 0.6989 GB, free: 2.148 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003734/0.2188, allocations: 52.81 kB / 0.699 GB, free: 2.094 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003532/0.2192, allocations: 71.89 kB / 0.6991 GB, free: 2.023 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004315/0.2196, allocations: 0.5601 MB / 0.6996 GB, free: 1.438 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004313/0.2201, allocations: 47.69 kB / 0.6997 GB, free: 1.391 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.354e-05/0.2201, allocations: 19.98 kB / 0.6997 GB, free: 1.371 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004211/0.2206, allocations: 243.9 kB / 0.6999 GB, free: 1.129 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000338/0.2209, allocations: 182.7 kB / 0.7001 GB, free: 0.9336 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005732/0.2215, allocations: 260.6 kB / 0.7003 GB, free: 0.6719 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.373e-06/0.2215, allocations: 0 / 0.7003 GB, free: 0.6719 MB / 0.5294 GB Notification: Performance of matching and sorting (n=37) (initialization_lambda0): time 0.0007544/0.2223, allocations: 368.8 kB / 0.7007 GB, free: 312 kB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.236e-05/0.2223, allocations: 11.94 kB / 0.7007 GB, free: 300 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.204e-06/0.2223, allocations: 0 / 0.7007 GB, free: 300 kB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.396e-06/0.2223, allocations: 0 / 0.7007 GB, free: 300 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003968/0.2227, allocations: 79.88 kB / 0.7008 GB, free: 220 kB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.429e-06/0.2227, allocations: 4 kB / 0.7008 GB, free: 216 kB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004071/0.2231, allocations: 55.7 kB / 0.7008 GB, free: 160 kB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.737e-05/0.2231, allocations: 12 kB / 0.7008 GB, free: 148 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.0001791/0.2233, allocations: 196.2 kB / 0.701 GB, free: 15.95 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.798e-05/0.2234, allocations: 51.38 kB / 0.7011 GB, free: 15.89 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00095/0.2244, allocations: 429 kB / 0.7015 GB, free: 15.46 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.029e-05/0.2244, allocations: 0 / 0.7015 GB, free: 15.46 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.109e-06/0.2244, allocations: 8 kB / 0.7015 GB, free: 15.45 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.41e-06/0.2244, allocations: 0 / 0.7015 GB, free: 15.45 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001504/0.2259, allocations: 0.9477 MB / 0.7024 GB, free: 14.43 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.739e-06/0.226, allocations: 0 / 0.7024 GB, free: 14.43 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000237/0.2262, allocations: 47.91 kB / 0.7025 GB, free: 14.38 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001771/0.2264, allocations: 44.83 kB / 0.7025 GB, free: 14.34 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.17e-05/0.2264, allocations: 8 kB / 0.7025 GB, free: 14.33 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003672/0.2268, allocations: 0.5639 MB / 0.7031 GB, free: 13.74 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.889e-06/0.2268, allocations: 8.125 kB / 0.7031 GB, free: 13.73 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007896/0.2276, allocations: 0.4912 MB / 0.7035 GB, free: 13.21 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001754/0.2278, allocations: 152.4 kB / 0.7037 GB, free: 13.04 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.732e-05/0.2279, allocations: 11.94 kB / 0.7037 GB, free: 13.03 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003271/0.2282, allocations: 23.97 kB / 0.7037 GB, free: 13 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.591e-05/0.2283, allocations: 23.91 kB / 0.7037 GB, free: 12.98 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.365e-05/0.2283, allocations: 11.98 kB / 0.7038 GB, free: 12.97 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0003539/0.2287, allocations: 330.9 kB / 0.7041 GB, free: 12.65 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.11e-07/0.2287, allocations: 0 / 0.7041 GB, free: 12.65 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0007503/0.2294, allocations: 247.5 kB / 0.7043 GB, free: 12.41 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.0005439/0.23, allocations: 258.2 kB / 0.7046 GB, free: 12.16 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001177/0.2312, allocations: 472.6 kB / 0.705 GB, free: 11.7 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/0.2312, allocations: 0 / 0.705 GB, free: 11.7 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0003939/0.2316, allocations: 163.8 kB / 0.7052 GB, free: 11.54 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00103/0.2326, allocations: 214.1 kB / 0.7054 GB, free: 11.34 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001413/0.234, allocations: 0.8622 MB / 0.7062 GB, free: 10.43 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004329/0.2345, allocations: 0.8587 MB / 0.707 GB, free: 9.543 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001108/0.2346, allocations: 39.44 kB / 0.7071 GB, free: 9.504 MB / 0.545 GB Notification: Performance of SimCode: time 4.71e-07/0.2346, allocations: 0 / 0.7071 GB, free: 9.504 MB / 0.545 GB Notification: Performance of Templates: time 0.01446/0.2491, allocations: 10.17 MB / 0.717 GB, free: 15.43 MB / 0.5606 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)