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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007139/0.007139, allocations: 99.47 kB / 15.73 MB, free: 5.988 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.001344/0.001344, allocations: 191.7 kB / 16.67 MB, free: 5.918 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.301/1.301, allocations: 222.9 MB / 240.4 MB, free: 4.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7198/0.7198, allocations: 132.2 MB / 422.7 MB, free: 1.68 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001111/0.001111, allocations: 63.89 kB / 0.5814 GB, free: 7.555 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3857/0.3868, allocations: 80.21 MB / 0.6597 GB, free: 10.33 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValves): time 0.02507/0.4119, allocations: 29.81 MB / 0.6888 GB, free: 2.703 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0109/0.4229, allocations: 8.143 MB / 0.6968 GB, free: 12.06 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001804/0.4247, allocations: 27.72 kB / 0.6968 GB, free: 12.05 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.00155/0.4263, allocations: 432.8 kB / 0.6972 GB, free: 11.69 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.004338/0.4307, allocations: 1.374 MB / 0.6985 GB, free: 10.61 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.002691/0.4334, allocations: 1.152 MB / 0.6997 GB, free: 9.762 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.003913/0.4373, allocations: 3.543 MB / 0.7031 GB, free: 7.773 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001554/0.4389, allocations: 1.333 MB / 0.7044 GB, free: 6.895 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002313/0.4412, allocations: 1.675 MB / 0.7061 GB, free: 6.016 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002585/0.4438, allocations: 1.62 MB / 0.7076 GB, free: 5.035 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0004494/0.4443, allocations: 127.4 kB / 0.7078 GB, free: 4.922 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002518/0.4468, allocations: 1.026 MB / 0.7088 GB, free: 3.895 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0005342/0.4474, allocations: 406.7 kB / 0.7092 GB, free: 3.496 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.001247/0.4486, allocations: 0.7506 MB / 0.7099 GB, free: 2.742 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.002898/0.4515, allocations: 2.22 MB / 0.7121 GB, free: 0.5156 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.4515, allocations: 0 / 0.7121 GB, free: 0.5156 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.232e-06/0.4515, allocations: 0 / 0.7121 GB, free: 0.5156 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.342e-05/0.4516, allocations: 0 / 0.7121 GB, free: 0.5156 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: 145 * Number of variables: 145 Notification: Performance of Generate backend data structure: time 0.00247/0.454, allocations: 1.705 MB / 0.7137 GB, free: 14.75 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.538e-05/0.4541, allocations: 8.031 kB / 0.7137 GB, free: 14.75 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003243/0.4544, allocations: 162.8 kB / 0.7139 GB, free: 14.59 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001473/0.4559, allocations: 0.9268 MB / 0.7148 GB, free: 13.61 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.107e-05/0.456, allocations: 85.31 kB / 0.7149 GB, free: 13.52 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001715/0.4561, allocations: 116 kB / 0.715 GB, free: 13.41 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009792/0.4571, allocations: 0.6434 MB / 0.7156 GB, free: 12.74 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.639e-05/0.4572, allocations: 4 kB / 0.7156 GB, free: 12.73 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.621e-05/0.4572, allocations: 24 kB / 0.7156 GB, free: 12.71 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.117e-05/0.4572, allocations: 12 kB / 0.7156 GB, free: 12.7 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007993/0.458, allocations: 464.8 kB / 0.7161 GB, free: 12.25 MB / 0.545 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.003894/0.4619, allocations: 2.884 MB / 0.7189 GB, free: 9.211 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005962/0.4625, allocations: 308.5 kB / 0.7192 GB, free: 8.902 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002904/0.4629, allocations: 145.3 kB / 0.7193 GB, free: 8.758 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003288/0.4632, allocations: 348.7 kB / 0.7197 GB, free: 8.344 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.876e-05/0.4632, allocations: 34.84 kB / 0.7197 GB, free: 8.301 MB / 0.545 GB Notification: Performance of pre-optimization done (n=33): time 2.184e-06/0.4632, allocations: 0 / 0.7197 GB, free: 8.301 MB / 0.545 GB Notification: Performance of matching and sorting (n=33): time 0.001211/0.4645, allocations: 0.5338 MB / 0.7202 GB, free: 7.762 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.5e-05/0.4645, allocations: 55.59 kB / 0.7203 GB, free: 7.695 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009362/0.4654, allocations: 0.9153 MB / 0.7212 GB, free: 6.762 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 9.738e-05/0.4656, allocations: 53.7 kB / 0.7212 GB, free: 6.703 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003848/0.4659, allocations: 495.3 kB / 0.7217 GB, free: 6.215 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 7.913e-05/0.466, allocations: 119 kB / 0.7218 GB, free: 6.098 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003906/0.4664, allocations: 291 kB / 0.7221 GB, free: 5.809 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001288/0.4666, allocations: 337.9 kB / 0.7224 GB, free: 5.473 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003823/0.467, allocations: 193.4 kB / 0.7226 GB, free: 5.277 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001215/0.4682, allocations: 1.151 MB / 0.7237 GB, free: 3.77 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007388/0.4689, allocations: 447.5 kB / 0.7241 GB, free: 3.312 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.926e-06/0.4689, allocations: 7.938 kB / 0.7241 GB, free: 3.305 MB / 0.545 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001173/0.4701, allocations: 0.6545 MB / 0.7248 GB, free: 2.641 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.416e-05/0.4701, allocations: 4 kB / 0.7248 GB, free: 2.637 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.698e-06/0.4702, allocations: 4 kB / 0.7248 GB, free: 2.633 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.702e-05/0.4702, allocations: 4 kB / 0.7248 GB, free: 2.629 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001279/0.4715, allocations: 235.9 kB / 0.725 GB, free: 2.398 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001477/0.4729, allocations: 2.958 MB / 0.7279 GB, free: 15.32 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002934/0.4759, allocations: 0.7028 MB / 0.7286 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.071e-05/0.476, allocations: 27.98 kB / 0.7286 GB, free: 14.59 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006799/0.4766, allocations: 370.2 kB / 0.729 GB, free: 14.23 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001186/0.4778, allocations: 1.158 MB / 0.7301 GB, free: 12.7 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007558/0.4786, allocations: 464.8 kB / 0.7306 GB, free: 12.2 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.807e-06/0.4786, allocations: 0 / 0.7306 GB, free: 12.2 MB / 0.5606 GB Notification: Performance of matching and sorting (n=73) (initialization_lambda0): time 0.001374/0.48, allocations: 0.6632 MB / 0.7312 GB, free: 11.52 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.334e-05/0.48, allocations: 4 kB / 0.7312 GB, free: 11.52 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.625e-06/0.48, allocations: 4 kB / 0.7312 GB, free: 11.52 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.737e-06/0.4801, allocations: 7.938 kB / 0.7312 GB, free: 11.51 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006206/0.4807, allocations: 155.8 kB / 0.7314 GB, free: 11.36 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.464e-05/0.4807, allocations: 11.94 kB / 0.7314 GB, free: 11.34 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004187/0.4849, allocations: 0.9578 MB / 0.7323 GB, free: 10.39 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.721e-05/0.485, allocations: 32 kB / 0.7323 GB, free: 10.36 MB / 0.5606 GB 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.0003385/0.4853, allocations: 243.7 kB / 0.7326 GB, free: 10.11 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002001/0.4855, allocations: 103.3 kB / 0.7327 GB, free: 10.01 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001214/0.4868, allocations: 0.5164 MB / 0.7332 GB, free: 9.48 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.13e-05/0.4868, allocations: 4 kB / 0.7332 GB, free: 9.477 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.4868, allocations: 0 / 0.7332 GB, free: 9.477 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.674e-06/0.4868, allocations: 3.938 kB / 0.7332 GB, free: 9.473 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001963/0.4888, allocations: 1.257 MB / 0.7344 GB, free: 8.148 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.019e-06/0.4888, allocations: 0 / 0.7344 GB, free: 8.148 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005006/0.4893, allocations: 119.8 kB / 0.7345 GB, free: 8.031 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.055e-06/0.4893, allocations: 4 kB / 0.7345 GB, free: 8.027 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.577e-05/0.4894, allocations: 11.94 kB / 0.7345 GB, free: 8.016 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001358/0.4907, allocations: 2.946 MB / 0.7374 GB, free: 4.953 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.265e-06/0.4907, allocations: 0 / 0.7374 GB, free: 4.953 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008477/0.4916, allocations: 0.5726 MB / 0.738 GB, free: 4.355 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000293/0.4919, allocations: 212.3 kB / 0.7382 GB, free: 4.129 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001211/0.492, allocations: 11.94 kB / 0.7382 GB, free: 4.117 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004504/0.4925, allocations: 23.97 kB / 0.7382 GB, free: 4.094 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.974e-05/0.4926, allocations: 35.95 kB / 0.7382 GB, free: 4.059 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.851e-05/0.4926, allocations: 12 kB / 0.7383 GB, free: 4.047 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0007206/0.4933, allocations: 0.6084 MB / 0.7389 GB, free: 3.43 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.7e-07/0.4933, allocations: 0 / 0.7389 GB, free: 3.43 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0014/0.4947, allocations: 0.5496 MB / 0.7394 GB, free: 2.879 MB / 0.5606 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 (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.0006925/0.4954, allocations: 327.8 kB / 0.7397 GB, free: 2.562 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.002502/0.498, allocations: 0.851 MB / 0.7405 GB, free: 1.719 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/0.498, allocations: 0 / 0.7405 GB, free: 1.719 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0005592/0.4985, allocations: 220.6 kB / 0.7407 GB, free: 1.504 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001773/0.5003, allocations: 415.6 kB / 0.7411 GB, free: 1.109 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00242/0.5028, allocations: 1.557 MB / 0.7427 GB, free: 15.5 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005793/0.5033, allocations: 1.021 MB / 0.7437 GB, free: 14.45 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0009114/0.5043, allocations: 210.9 kB / 0.7439 GB, free: 14.24 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001886/0.5045, allocations: 79.42 kB / 0.7439 GB, free: 14.16 MB / 0.5762 GB Notification: Performance of SimCode: time 6.31e-07/0.5045, allocations: 0 / 0.7439 GB, free: 14.16 MB / 0.5762 GB Notification: Performance of Templates: time 0.04147/0.5459, allocations: 25 MB / 0.7684 GB, free: 5.594 MB / 0.5919 GB 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)