Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValves.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.TwoWayValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValves") translateModel(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValves") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002065/0.002065, allocations: 181 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/package.mo): time 0.7616/0.7616, allocations: 132.2 MB / 148.9 MB, free: 12.13 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.384/1.384, allocations: 222.9 MB / 403.3 MB, free: 7.078 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.0009881/0.0009882, allocations: 97.98 kB / 484.3 MB, free: 8.707 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001014/0.001014, allocations: 55.91 kB / 0.5619 GB, free: 71.03 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1555/0.1565, allocations: 80.2 MB / 0.6402 GB, free: 6.766 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValves): time 0.03061/0.1872, allocations: 29.66 MB / 0.6691 GB, free: 8.988 MB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.01131/0.1985, allocations: 8.212 MB / 0.6772 GB, free: 0.7539 MB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001486/0.2, allocations: 27.81 kB / 0.6772 GB, free: 0.7266 MB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001428/0.2015, allocations: 353.9 kB / 0.6775 GB, free: 388 kB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004959/0.2065, allocations: 1.227 MB / 0.6787 GB, free: 15.15 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003635/0.2102, allocations: 1.03 MB / 0.6797 GB, free: 14.13 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.005543/0.2157, allocations: 4.223 MB / 0.6838 GB, free: 9.891 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002478/0.2183, allocations: 1.184 MB / 0.685 GB, free: 8.695 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003394/0.2217, allocations: 1.534 MB / 0.6865 GB, free: 7.156 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003027/0.2247, allocations: 1.62 MB / 0.6881 GB, free: 5.531 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006871/0.2254, allocations: 72 kB / 0.6882 GB, free: 5.461 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002633/0.2281, allocations: 0.9397 MB / 0.6891 GB, free: 4.52 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007939/0.2289, allocations: 358.7 kB / 0.6894 GB, free: 4.168 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001526/0.2304, allocations: 0.6959 MB / 0.6901 GB, free: 3.469 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003615/0.2341, allocations: 2.131 MB / 0.6922 GB, free: 1.332 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.605e-06/0.2341, allocations: 0 / 0.6922 GB, free: 1.332 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.302e-06/0.2341, allocations: 0 / 0.6922 GB, free: 1.332 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.891e-05/0.2342, allocations: 0 / 0.6922 GB, free: 1.332 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 145 * Number of variables: 145 Notification: Performance of Generate backend data structure: time 0.2929/0.5271, allocations: 1.662 MB / 0.6938 GB, free: 60.74 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.109e-05/0.5271, allocations: 10.02 kB / 0.6938 GB, free: 60.74 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003864/0.5275, allocations: 150.9 kB / 0.6939 GB, free: 60.68 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001775/0.5293, allocations: 0.8969 MB / 0.6948 GB, free: 60.22 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.934e-05/0.5294, allocations: 80.14 kB / 0.6949 GB, free: 60.19 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002063/0.5296, allocations: 117.3 kB / 0.695 GB, free: 60.16 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001077/0.5307, allocations: 0.634 MB / 0.6956 GB, free: 59.88 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.624e-05/0.5307, allocations: 7.438 kB / 0.6956 GB, free: 59.87 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.535e-05/0.5308, allocations: 26 kB / 0.6957 GB, free: 59.85 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.605e-05/0.5308, allocations: 13 kB / 0.6957 GB, free: 59.85 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009249/0.5317, allocations: 464.8 kB / 0.6961 GB, free: 59.7 MB / 490.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.005243/0.537, allocations: 2.858 MB / 0.6989 GB, free: 57.95 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006262/0.5376, allocations: 309.7 kB / 0.6992 GB, free: 57.83 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002995/0.5379, allocations: 145.7 kB / 0.6993 GB, free: 57.78 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002615/0.5382, allocations: 349.9 kB / 0.6997 GB, free: 57.4 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.39e-05/0.5382, allocations: 33.86 kB / 0.6997 GB, free: 57.36 MB / 490.7 MB Notification: Performance of pre-optimization done (n=33): time 3.176e-06/0.5382, allocations: 6.844 kB / 0.6997 GB, free: 57.36 MB / 490.7 MB Notification: Performance of matching and sorting (n=33): time 0.001458/0.5397, allocations: 0.528 MB / 0.7002 GB, free: 57.16 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.964e-05/0.5398, allocations: 59.06 kB / 0.7003 GB, free: 57.09 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001307/0.5411, allocations: 0.9148 MB / 0.7012 GB, free: 56.71 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001215/0.5412, allocations: 60.7 kB / 0.7012 GB, free: 56.66 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004024/0.5416, allocations: 0.5238 MB / 0.7018 GB, free: 56.24 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.832e-05/0.5417, allocations: 116.2 kB / 0.7019 GB, free: 56.15 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004365/0.5421, allocations: 290.2 kB / 0.7021 GB, free: 56.05 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 6.663e-05/0.5422, allocations: 326.8 kB / 0.7025 GB, free: 55.74 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003958/0.5426, allocations: 196.3 kB / 0.7026 GB, free: 55.67 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001268/0.5439, allocations: 1.15 MB / 0.7038 GB, free: 54.59 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007681/0.5447, allocations: 458.2 kB / 0.7042 GB, free: 54.37 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.5447, allocations: 1.281 kB / 0.7042 GB, free: 54.37 MB / 490.7 MB Notification: Performance of matching and sorting (n=73) (initialization): time 0.0012/0.5459, allocations: 0.6497 MB / 0.7048 GB, free: 54.11 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.859e-05/0.5459, allocations: 7.406 kB / 0.7048 GB, free: 54.11 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.275e-06/0.5459, allocations: 3.891 kB / 0.7048 GB, free: 54.11 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.799e-05/0.5459, allocations: 4.375 kB / 0.7048 GB, free: 54.11 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001386/0.5473, allocations: 232.7 kB / 0.7051 GB, free: 54.1 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001009/0.5484, allocations: 2.962 MB / 0.708 GB, free: 51.13 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003288/0.5517, allocations: 0.727 MB / 0.7087 GB, free: 51.06 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.529e-05/0.5517, allocations: 31.36 kB / 0.7087 GB, free: 51.05 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006403/0.5524, allocations: 371.8 kB / 0.7091 GB, free: 50.87 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001168/0.5536, allocations: 1.157 MB / 0.7102 GB, free: 49.74 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007229/0.5543, allocations: 452.5 kB / 0.7106 GB, free: 49.49 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.208e-06/0.5543, allocations: 1.094 kB / 0.7106 GB, free: 49.49 MB / 490.7 MB Notification: Performance of matching and sorting (n=73) (initialization_lambda0): time 0.00143/0.5557, allocations: 0.6578 MB / 0.7113 GB, free: 49.24 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.53e-05/0.5558, allocations: 6.312 kB / 0.7113 GB, free: 49.24 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.5558, allocations: 3.438 kB / 0.7113 GB, free: 49.24 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.428e-06/0.5558, allocations: 6.406 kB / 0.7113 GB, free: 49.24 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006586/0.5565, allocations: 163.1 kB / 0.7114 GB, free: 49.22 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.064e-05/0.5565, allocations: 10.98 kB / 0.7114 GB, free: 49.22 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004888/0.5614, allocations: 0.984 MB / 0.7124 GB, free: 49.12 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002121/0.5616, allocations: 30.11 kB / 0.7124 GB, free: 49.12 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (73): * Single equations (assignments): 68 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 5 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 5 systems {1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005386/0.5622, allocations: 240.8 kB / 0.7127 GB, free: 48.91 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003888/0.5626, allocations: 94.75 kB / 0.7128 GB, free: 48.86 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001285/0.5639, allocations: 0.5079 MB / 0.7132 GB, free: 48.65 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.849e-05/0.5639, allocations: 5.703 kB / 0.7133 GB, free: 48.65 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.798e-06/0.5639, allocations: 0.75 kB / 0.7133 GB, free: 48.65 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.322e-05/0.5639, allocations: 5.953 kB / 0.7133 GB, free: 48.65 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002646/0.5666, allocations: 1.255 MB / 0.7145 GB, free: 47.99 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.083e-05/0.5666, allocations: 6.625 kB / 0.7145 GB, free: 47.98 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005501/0.5672, allocations: 121.7 kB / 0.7146 GB, free: 47.97 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.786e-06/0.5672, allocations: 3.094 kB / 0.7146 GB, free: 47.97 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.943e-05/0.5672, allocations: 14.72 kB / 0.7146 GB, free: 47.96 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008546/0.5681, allocations: 2.937 MB / 0.7175 GB, free: 45 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.596e-06/0.5681, allocations: 1.688 kB / 0.7175 GB, free: 45 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001602/0.5697, allocations: 1.47 MB / 0.7189 GB, free: 43.93 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003941/0.5701, allocations: 216.5 kB / 0.7191 GB, free: 43.76 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001458/0.5703, allocations: 12.77 kB / 0.7192 GB, free: 43.75 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006251/0.5709, allocations: 57.14 kB / 0.7192 GB, free: 43.74 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001023/0.571, allocations: 26.86 kB / 0.7192 GB, free: 43.74 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.684e-05/0.5711, allocations: 20.11 kB / 0.7192 GB, free: 43.73 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0008928/0.572, allocations: 0.6048 MB / 0.7198 GB, free: 43.48 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.572, allocations: 0 / 0.7198 GB, free: 43.48 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002138/0.5741, allocations: 0.5523 MB / 0.7204 GB, free: 43.38 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 (39): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 5 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 5 systems {1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000785/0.5749, allocations: 326.8 kB / 0.7207 GB, free: 43.25 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.002818/0.5777, allocations: 0.8542 MB / 0.7215 GB, free: 43.02 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.377e-06/0.5778, allocations: 0 / 0.7215 GB, free: 43.02 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006047/0.5784, allocations: 227.6 kB / 0.7217 GB, free: 42.96 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002683/0.5811, allocations: 479 kB / 0.7222 GB, free: 42.76 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002968/0.5841, allocations: 2.099 MB / 0.7242 GB, free: 41.28 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004821/0.5846, allocations: 1.037 MB / 0.7253 GB, free: 40.42 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0013/0.5859, allocations: 204.5 kB / 0.7255 GB, free: 40.33 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002559/0.5861, allocations: 81.31 kB / 0.7255 GB, free: 40.32 MB / 490.7 MB Notification: Performance of SimCode: time 7.41e-07/0.5861, allocations: 0 / 0.7255 GB, free: 40.32 MB / 490.7 MB Notification: Performance of Templates: time 0.0348/0.621, allocations: 25.01 MB / 0.75 GB, free: 18.37 MB / 490.7 MB make -j1 -f IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValves.makefile (rm -f IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe ; mkfifo IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe >> ../files/IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValves.sim & ./IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValves -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe 2>&1)