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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001113/0.001113, allocations: 182.2 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.6883/0.6883, allocations: 133.3 MB / 150.1 MB, free: 11.15 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.424/1.424, allocations: 222.9 MB / 404.7 MB, free: 6.141 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001249/0.001249, allocations: 115.3 kB / 485.9 MB, free: 7.273 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001058/0.001058, allocations: 55.92 kB / 0.5636 GB, free: 69.98 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.152/0.153, allocations: 80.41 MB / 0.6421 GB, free: 5.5 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Examples.CheckValve): time 0.02042/0.1735, allocations: 20.66 MB / 0.6623 GB, free: 0.75 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.006934/0.1805, allocations: 4.975 MB / 0.6672 GB, free: 11.76 MB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006644/0.1812, allocations: 15.88 kB / 0.6672 GB, free: 11.75 MB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007668/0.182, allocations: 226.7 kB / 0.6674 GB, free: 11.52 MB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001931/0.184, allocations: 0.7513 MB / 0.6681 GB, free: 10.77 MB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001791/0.1858, allocations: 0.6373 MB / 0.6688 GB, free: 10.14 MB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 0.002127/0.1879, allocations: 1.824 MB / 0.6705 GB, free: 8.312 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005399/0.1885, allocations: 372.1 kB / 0.6709 GB, free: 7.945 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009535/0.1894, allocations: 0.5368 MB / 0.6714 GB, free: 7.406 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005855/0.19, allocations: 458 kB / 0.6718 GB, free: 6.957 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 6.145e-05/0.1901, allocations: 24 kB / 0.6719 GB, free: 6.934 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001184/0.1913, allocations: 0.6003 MB / 0.6725 GB, free: 6.332 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001234/0.1914, allocations: 107.6 kB / 0.6726 GB, free: 6.227 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002663/0.1917, allocations: 274.4 kB / 0.6728 GB, free: 5.957 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001008/0.1927, allocations: 0.8256 MB / 0.6736 GB, free: 5.129 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.369e-06/0.1927, allocations: 0 / 0.6736 GB, free: 5.129 MB / 474.7 MB Notification: Performance of FrontEnd: time 8.82e-07/0.1927, allocations: 0 / 0.6736 GB, free: 5.129 MB / 474.7 MB Notification: Performance of Transformations before backend: time 7.323e-06/0.1928, allocations: 0 / 0.6736 GB, free: 5.129 MB / 474.7 MB 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.001551/0.1943, allocations: 0.9205 MB / 0.6745 GB, free: 4.16 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.282e-05/0.1944, allocations: 12.03 kB / 0.6745 GB, free: 4.148 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001217/0.1945, allocations: 64.19 kB / 0.6746 GB, free: 4.086 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006057/0.1951, allocations: 458.8 kB / 0.675 GB, free: 3.594 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.331e-05/0.1952, allocations: 24.66 kB / 0.6751 GB, free: 3.57 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.085e-05/0.1952, allocations: 32 kB / 0.6751 GB, free: 3.539 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006372/0.1959, allocations: 310 kB / 0.6754 GB, free: 3.23 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.253e-05/0.1959, allocations: 4 kB / 0.6754 GB, free: 3.227 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.013e-05/0.1959, allocations: 12 kB / 0.6754 GB, free: 3.215 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.927e-06/0.1959, allocations: 8 kB / 0.6754 GB, free: 3.207 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006284/0.1966, allocations: 262.4 kB / 0.6757 GB, free: 2.953 MB / 474.7 MB 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.1988, allocations: 1.341 MB / 0.677 GB, free: 1.492 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005488/0.1993, allocations: 254.2 kB / 0.6772 GB, free: 1.238 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002993/0.1996, allocations: 146.1 kB / 0.6774 GB, free: 1.094 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004974/0.2001, allocations: 0.4947 MB / 0.6778 GB, free: 500 kB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.134e-05/0.2002, allocations: 34.56 kB / 0.6779 GB, free: 456 kB / 474.7 MB Notification: Performance of pre-optimization done (n=25): time 1.633e-06/0.2002, allocations: 0 / 0.6779 GB, free: 456 kB / 474.7 MB Notification: Performance of matching and sorting (n=25): time 0.001787/0.202, allocations: 0.5696 MB / 0.6784 GB, free: 15.84 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.588e-05/0.202, allocations: 55.41 kB / 0.6785 GB, free: 15.77 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005036/0.2025, allocations: 466.1 kB / 0.6789 GB, free: 15.31 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 3.716e-05/0.2026, allocations: 33.92 kB / 0.679 GB, free: 15.27 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001846/0.2028, allocations: 240.4 kB / 0.6792 GB, free: 15.03 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.916e-05/0.2029, allocations: 94.67 kB / 0.6793 GB, free: 14.94 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000125/0.203, allocations: 77.67 kB / 0.6793 GB, free: 14.86 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001479/0.2032, allocations: 362.7 kB / 0.6797 GB, free: 14.49 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003437/0.2035, allocations: 116.8 kB / 0.6798 GB, free: 14.38 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003658/0.2039, allocations: 185.2 kB / 0.68 GB, free: 14.18 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005998/0.2045, allocations: 284.9 kB / 0.6803 GB, free: 13.89 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.245e-06/0.2045, allocations: 0 / 0.6803 GB, free: 13.89 MB / 490.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001518/0.206, allocations: 481.6 kB / 0.6807 GB, free: 13.41 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.006e-05/0.2061, allocations: 5.094 kB / 0.6807 GB, free: 13.41 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.678e-06/0.2061, allocations: 0 / 0.6807 GB, free: 13.41 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003628/0.2064, allocations: 68.69 kB / 0.6808 GB, free: 13.34 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003455/0.2068, allocations: 63.95 kB / 0.6808 GB, free: 13.27 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004658/0.2073, allocations: 0.5639 MB / 0.6814 GB, free: 12.68 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004775/0.2078, allocations: 63.72 kB / 0.6815 GB, free: 12.62 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.035e-05/0.2078, allocations: 16 kB / 0.6815 GB, free: 12.61 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004407/0.2083, allocations: 240 kB / 0.6817 GB, free: 12.37 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003389/0.2086, allocations: 177 kB / 0.6819 GB, free: 12.18 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005886/0.2092, allocations: 264.6 kB / 0.6821 GB, free: 11.91 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.332e-06/0.2092, allocations: 0 / 0.6821 GB, free: 11.91 MB / 490.7 MB Notification: Performance of matching and sorting (n=37) (initialization_lambda0): time 0.0007613/0.21, allocations: 368.8 kB / 0.6825 GB, free: 11.54 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.016e-05/0.21, allocations: 7.938 kB / 0.6825 GB, free: 11.54 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.206e-06/0.21, allocations: 3.938 kB / 0.6825 GB, free: 11.53 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.329e-06/0.21, allocations: 4 kB / 0.6825 GB, free: 11.53 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003728/0.2104, allocations: 75.88 kB / 0.6826 GB, free: 11.45 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.242e-06/0.2104, allocations: 8 kB / 0.6826 GB, free: 11.45 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004289/0.2109, allocations: 63.69 kB / 0.6826 GB, free: 11.38 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.896e-05/0.2109, allocations: 12 kB / 0.6826 GB, free: 11.37 MB / 490.7 MB 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.0001565/0.2111, allocations: 200.2 kB / 0.6828 GB, free: 11.17 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.515e-05/0.2112, allocations: 51.38 kB / 0.6829 GB, free: 11.12 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009855/0.2122, allocations: 425.9 kB / 0.6833 GB, free: 10.69 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.088e-05/0.2122, allocations: 3.984 kB / 0.6833 GB, free: 10.68 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.991e-06/0.2122, allocations: 4 kB / 0.6833 GB, free: 10.68 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.159e-06/0.2122, allocations: 0 / 0.6833 GB, free: 10.68 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001512/0.2137, allocations: 0.9434 MB / 0.6842 GB, free: 9.664 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.348e-06/0.2137, allocations: 0 / 0.6842 GB, free: 9.664 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002265/0.214, allocations: 51.89 kB / 0.6843 GB, free: 9.613 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001656/0.2142, allocations: 52.89 kB / 0.6843 GB, free: 9.559 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.343e-05/0.2142, allocations: 8 kB / 0.6843 GB, free: 9.551 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000359/0.2146, allocations: 0.5562 MB / 0.6849 GB, free: 8.969 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.099e-06/0.2146, allocations: 7.969 kB / 0.6849 GB, free: 8.961 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001517/0.2161, allocations: 1.27 MB / 0.6861 GB, free: 7.617 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001826/0.2163, allocations: 152.4 kB / 0.6863 GB, free: 7.449 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.336e-05/0.2163, allocations: 8 kB / 0.6863 GB, free: 7.441 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003497/0.2167, allocations: 39.86 kB / 0.6863 GB, free: 7.402 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.165e-05/0.2168, allocations: 23.97 kB / 0.6863 GB, free: 7.379 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.43e-05/0.2168, allocations: 12 kB / 0.6863 GB, free: 7.367 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0003487/0.2172, allocations: 322.9 kB / 0.6866 GB, free: 7.055 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.2172, allocations: 0 / 0.6866 GB, free: 7.055 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0009846/0.2182, allocations: 259.5 kB / 0.6869 GB, free: 6.801 MB / 490.7 MB 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.0005476/0.2187, allocations: 250 kB / 0.6871 GB, free: 6.551 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.001247/0.22, allocations: 462.1 kB / 0.6876 GB, free: 6.102 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.22, allocations: 0 / 0.6876 GB, free: 6.102 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004065/0.2204, allocations: 167.8 kB / 0.6877 GB, free: 5.938 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001472/0.2219, allocations: 255.5 kB / 0.688 GB, free: 5.695 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001653/0.2236, allocations: 1.216 MB / 0.6892 GB, free: 4.43 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004072/0.224, allocations: 0.8669 MB / 0.69 GB, free: 3.535 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0004145/0.2244, allocations: 116.4 kB / 0.6901 GB, free: 3.422 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.784e-05/0.2245, allocations: 39.42 kB / 0.6902 GB, free: 3.383 MB / 490.7 MB Notification: Performance of SimCode: time 2.61e-07/0.2245, allocations: 4 kB / 0.6902 GB, free: 3.379 MB / 490.7 MB Notification: Performance of Templates: time 0.2868/0.5113, allocations: 10.14 MB / 0.7001 GB, free: 57.52 MB / 490.7 MB 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)