Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.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/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/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.Actuators.Valves.Examples.TwoWayValvePressureIndependent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent") translateModel(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001925/0.001925, allocations: 182 kB / 15.98 MB, free: 5.762 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7331/0.7331, allocations: 132.2 MB / 148.9 MB, free: 12.12 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.672/1.672, allocations: 222.9 MB / 403.4 MB, free: 7.109 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.001026/0.001026, allocations: 101.7 kB / 484.3 MB, free: 8.711 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001074/0.001074, allocations: 55.92 kB / 0.5619 GB, free: 71.05 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1381/0.1392, allocations: 80.2 MB / 0.6402 GB, free: 6.781 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent): time 0.02354/0.1628, allocations: 19.36 MB / 0.6591 GB, free: 3.34 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.007645/0.1705, allocations: 5.185 MB / 0.6641 GB, free: 14.14 MB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009639/0.1714, allocations: 15.88 kB / 0.6642 GB, free: 14.12 MB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008881/0.1724, allocations: 214.7 kB / 0.6644 GB, free: 13.91 MB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002139/0.1746, allocations: 0.7088 MB / 0.6651 GB, free: 13.2 MB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002079/0.1766, allocations: 0.7879 MB / 0.6658 GB, free: 12.42 MB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 0.002213/0.1789, allocations: 1.95 MB / 0.6677 GB, free: 10.46 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007141/0.1796, allocations: 445.5 kB / 0.6682 GB, free: 10.02 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001104/0.1807, allocations: 0.5913 MB / 0.6687 GB, free: 9.422 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007914/0.1815, allocations: 0.5212 MB / 0.6692 GB, free: 8.898 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001102/0.1816, allocations: 32 kB / 0.6693 GB, free: 8.867 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001242/0.1829, allocations: 0.6588 MB / 0.6699 GB, free: 8.207 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001743/0.1831, allocations: 147.3 kB / 0.6701 GB, free: 8.062 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004204/0.1835, allocations: 358 kB / 0.6704 GB, free: 7.711 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001347/0.1849, allocations: 1.051 MB / 0.6714 GB, free: 6.656 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.1849, allocations: 0 / 0.6714 GB, free: 6.656 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.172e-06/0.1849, allocations: 4 kB / 0.6714 GB, free: 6.652 MB / 474.7 MB Notification: Performance of Transformations before backend: time 2.057e-05/0.1849, allocations: 0 / 0.6714 GB, free: 6.652 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: 113 * Number of variables: 113 Notification: Performance of Generate backend data structure: time 0.002036/0.187, allocations: 1.106 MB / 0.6725 GB, free: 5.496 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.94e-05/0.187, allocations: 12.03 kB / 0.6725 GB, free: 5.484 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001692/0.1872, allocations: 80 kB / 0.6726 GB, free: 5.406 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007266/0.1879, allocations: 0.4986 MB / 0.6731 GB, free: 4.863 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.788e-05/0.188, allocations: 37 kB / 0.6731 GB, free: 4.828 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.322e-05/0.188, allocations: 52 kB / 0.6732 GB, free: 4.777 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001007/0.189, allocations: 0.6273 MB / 0.6738 GB, free: 4.086 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.707e-05/0.1891, allocations: 3.938 kB / 0.6738 GB, free: 4.082 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.312e-05/0.1891, allocations: 20 kB / 0.6738 GB, free: 4.062 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.668e-05/0.1891, allocations: 12 kB / 0.6738 GB, free: 4.051 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001079/0.1902, allocations: 491.4 kB / 0.6743 GB, free: 3.57 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.003362/0.1936, allocations: 3.197 MB / 0.6774 GB, free: 184 kB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006843/0.1943, allocations: 346.6 kB / 0.6777 GB, free: 15.83 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000457/0.1948, allocations: 227 kB / 0.6779 GB, free: 15.61 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003622/0.1951, allocations: 348.4 kB / 0.6783 GB, free: 15.2 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.06e-05/0.1952, allocations: 38.56 kB / 0.6783 GB, free: 15.15 MB / 490.7 MB Notification: Performance of pre-optimization done (n=38): time 3.907e-06/0.1952, allocations: 0 / 0.6783 GB, free: 15.15 MB / 490.7 MB Notification: Performance of matching and sorting (n=38): time 0.002062/0.1973, allocations: 0.8141 MB / 0.6791 GB, free: 14.3 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.871e-05/0.1973, allocations: 55.41 kB / 0.6792 GB, free: 14.24 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006527/0.198, allocations: 0.59 MB / 0.6797 GB, free: 13.64 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 3.795e-05/0.198, allocations: 29.7 kB / 0.6798 GB, free: 13.6 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002385/0.1983, allocations: 332.4 kB / 0.6801 GB, free: 13.27 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000104/0.1984, allocations: 134.1 kB / 0.6802 GB, free: 13.14 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002048/0.1986, allocations: 130.2 kB / 0.6803 GB, free: 13.01 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001697/0.1988, allocations: 374.7 kB / 0.6807 GB, free: 12.63 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005026/0.1993, allocations: 219.4 kB / 0.6809 GB, free: 12.41 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005869/0.1999, allocations: 368 kB / 0.6813 GB, free: 12 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001071/0.201, allocations: 0.5666 MB / 0.6818 GB, free: 11.38 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.34e-06/0.201, allocations: 0 / 0.6818 GB, free: 11.38 MB / 490.7 MB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001776/0.2028, allocations: 0.7188 MB / 0.6825 GB, free: 10.65 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.328e-05/0.2028, allocations: 9.562 kB / 0.6825 GB, free: 10.64 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.016e-05/0.2028, allocations: 4 kB / 0.6825 GB, free: 10.64 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006393/0.2035, allocations: 136.8 kB / 0.6827 GB, free: 10.5 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005427/0.204, allocations: 143.9 kB / 0.6828 GB, free: 10.36 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000587/0.2046, allocations: 0.6186 MB / 0.6834 GB, free: 9.715 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000645/0.2053, allocations: 95.39 kB / 0.6835 GB, free: 9.621 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.761e-05/0.2053, allocations: 31.98 kB / 0.6835 GB, free: 9.59 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006794/0.206, allocations: 349.3 kB / 0.6838 GB, free: 9.242 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000579/0.2066, allocations: 368 kB / 0.6842 GB, free: 8.82 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001001/0.2076, allocations: 0.5588 MB / 0.6847 GB, free: 8.203 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.707e-06/0.2077, allocations: 0 / 0.6847 GB, free: 8.203 MB / 490.7 MB Notification: Performance of matching and sorting (n=73) (initialization_lambda0): time 0.001372/0.209, allocations: 0.6749 MB / 0.6854 GB, free: 7.52 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.309e-05/0.2091, allocations: 12.06 kB / 0.6854 GB, free: 7.508 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.76e-06/0.2091, allocations: 4 kB / 0.6854 GB, free: 7.504 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.938e-06/0.2091, allocations: 11.94 kB / 0.6854 GB, free: 7.492 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005788/0.2097, allocations: 155.8 kB / 0.6856 GB, free: 7.34 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.325e-05/0.2097, allocations: 15.88 kB / 0.6856 GB, free: 7.324 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005911/0.2103, allocations: 83.56 kB / 0.6857 GB, free: 7.242 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.68e-05/0.2104, allocations: 28 kB / 0.6857 GB, free: 7.215 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (69): * Single equations (assignments): 68 * 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,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0001967/0.2106, allocations: 213.4 kB / 0.6859 GB, free: 7 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000124/0.2107, allocations: 63.16 kB / 0.686 GB, free: 6.938 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001481/0.2122, allocations: 0.6453 MB / 0.6866 GB, free: 6.273 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.907e-05/0.2122, allocations: 7.938 kB / 0.6866 GB, free: 6.266 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.61e-06/0.2122, allocations: 3.938 kB / 0.6866 GB, free: 6.262 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.851e-06/0.2122, allocations: 0 / 0.6866 GB, free: 6.262 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002561/0.2148, allocations: 1.375 MB / 0.6879 GB, free: 4.82 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.813e-06/0.2148, allocations: 4.188 kB / 0.688 GB, free: 4.816 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000349/0.2152, allocations: 83.88 kB / 0.688 GB, free: 4.734 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004281/0.2156, allocations: 108.8 kB / 0.6881 GB, free: 4.625 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.415e-05/0.2157, allocations: 19.98 kB / 0.6882 GB, free: 4.605 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005962/0.2163, allocations: 0.6303 MB / 0.6888 GB, free: 3.949 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.2163, allocations: 0 / 0.6888 GB, free: 3.949 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002116/0.2184, allocations: 1.589 MB / 0.6903 GB, free: 2.289 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002855/0.2187, allocations: 204.1 kB / 0.6905 GB, free: 2.07 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.683e-05/0.2188, allocations: 12 kB / 0.6905 GB, free: 2.059 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004489/0.2193, allocations: 43.89 kB / 0.6906 GB, free: 2.016 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.457e-05/0.2193, allocations: 39.83 kB / 0.6906 GB, free: 1.977 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.981e-05/0.2194, allocations: 19.98 kB / 0.6906 GB, free: 1.957 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0004353/0.2198, allocations: 407.1 kB / 0.691 GB, free: 1.566 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.2198, allocations: 0 / 0.691 GB, free: 1.566 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001304/0.2212, allocations: 387.4 kB / 0.6914 GB, free: 1.188 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (41): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007407/0.2219, allocations: 315.9 kB / 0.6917 GB, free: 0.875 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.001919/0.2238, allocations: 0.8629 MB / 0.6925 GB, free: 12 kB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.2238, allocations: 0 / 0.6925 GB, free: 12 kB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.2486/0.4725, allocations: 281.3 kB / 0.6928 GB, free: 59.72 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00226/0.4748, allocations: 257 kB / 0.693 GB, free: 59.72 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002583/0.4774, allocations: 1.572 MB / 0.6946 GB, free: 58.83 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005132/0.4779, allocations: 0.9192 MB / 0.6955 GB, free: 58.12 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0008873/0.4788, allocations: 149.3 kB / 0.6956 GB, free: 58.12 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002353/0.479, allocations: 62.95 kB / 0.6957 GB, free: 58.11 MB / 490.7 MB Notification: Performance of SimCode: time 1.573e-06/0.4791, allocations: 0 / 0.6957 GB, free: 58.11 MB / 490.7 MB Notification: Performance of Templates: time 0.03195/0.511, allocations: 12.68 MB / 0.7081 GB, free: 55.19 MB / 490.7 MB make -j1 -f IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.makefile (rm -f IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe ; mkfifo IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe >> ../files/IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.sim & ./IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe 2>&1)