Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValves") translateModel(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.005765/0.005765, allocations: 101.7 kB / 15.73 MB, free: 5.492 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.001115/0.001115, allocations: 189.1 kB / 16.67 MB, free: 5.422 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.404/1.404, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8441/0.8441, allocations: 135.1 MB / 425.7 MB, free: 4.109 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001314/0.001315, allocations: 63.41 kB / 0.5856 GB, free: 21.64 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1846/0.1859, allocations: 80.93 MB / 0.6646 GB, free: 5.785 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValves): time 0.03828/0.2242, allocations: 29.82 MB / 0.6938 GB, free: 7.863 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.01263/0.2369, allocations: 8.156 MB / 0.7017 GB, free: 15.68 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001544/0.2385, allocations: 27.81 kB / 0.7018 GB, free: 15.65 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001455/0.24, allocations: 440.9 kB / 0.7022 GB, free: 15.22 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.004067/0.2441, allocations: 1.426 MB / 0.7036 GB, free: 13.79 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.003199/0.2473, allocations: 1.138 MB / 0.7047 GB, free: 12.66 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.004645/0.252, allocations: 3.552 MB / 0.7082 GB, free: 9.098 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002232/0.2542, allocations: 1.326 MB / 0.7094 GB, free: 7.762 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003411/0.2576, allocations: 1.71 MB / 0.7111 GB, free: 6.047 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003477/0.2611, allocations: 1.62 MB / 0.7127 GB, free: 4.422 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0009085/0.262, allocations: 124 kB / 0.7128 GB, free: 4.301 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003325/0.2654, allocations: 1.018 MB / 0.7138 GB, free: 3.281 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0009808/0.2664, allocations: 410.7 kB / 0.7142 GB, free: 2.879 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.001813/0.2682, allocations: 0.7466 MB / 0.7149 GB, free: 2.129 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.003952/0.2722, allocations: 2.205 MB / 0.7171 GB, free: 15.92 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.2722, allocations: 0 / 0.7171 GB, free: 15.92 MB / 0.5606 GB Notification: Performance of FrontEnd: time 3.176e-06/0.2722, allocations: 0 / 0.7171 GB, free: 15.92 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 9.331e-05/0.2723, allocations: 3.938 kB / 0.7171 GB, free: 15.91 MB / 0.5606 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.004245/0.2766, allocations: 1.663 MB / 0.7187 GB, free: 14.2 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.31e-05/0.2766, allocations: 17.11 kB / 0.7187 GB, free: 14.18 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005956/0.2772, allocations: 150.6 kB / 0.7189 GB, free: 14.04 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002151/0.2794, allocations: 0.9298 MB / 0.7198 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.269e-05/0.2795, allocations: 81.31 kB / 0.7199 GB, free: 12.97 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002714/0.2798, allocations: 116 kB / 0.72 GB, free: 12.86 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001188/0.281, allocations: 0.6434 MB / 0.7206 GB, free: 12.18 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.165e-05/0.281, allocations: 0 / 0.7206 GB, free: 12.18 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.519e-05/0.2811, allocations: 27.94 kB / 0.7206 GB, free: 12.16 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.526e-05/0.2811, allocations: 16 kB / 0.7206 GB, free: 12.14 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009612/0.282, allocations: 468.8 kB / 0.7211 GB, free: 11.68 MB / 0.5606 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.005155/0.2872, allocations: 2.86 MB / 0.7239 GB, free: 8.664 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006602/0.2879, allocations: 311.2 kB / 0.7242 GB, free: 8.352 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003266/0.2882, allocations: 149.3 kB / 0.7243 GB, free: 8.203 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003601/0.2886, allocations: 344.7 kB / 0.7246 GB, free: 7.793 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.078e-05/0.2886, allocations: 34.84 kB / 0.7247 GB, free: 7.75 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=33): time 2.404e-06/0.2887, allocations: 4 kB / 0.7247 GB, free: 7.746 MB / 0.5606 GB Notification: Performance of matching and sorting (n=33): time 0.001531/0.2902, allocations: 0.5282 MB / 0.7252 GB, free: 7.211 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.498e-05/0.2902, allocations: 59.41 kB / 0.7253 GB, free: 7.141 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001139/0.2914, allocations: 0.9037 MB / 0.7261 GB, free: 6.219 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.000179/0.2916, allocations: 53.7 kB / 0.7262 GB, free: 6.16 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005524/0.2921, allocations: 494.5 kB / 0.7267 GB, free: 5.672 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 9.604e-05/0.2922, allocations: 110.4 kB / 0.7268 GB, free: 5.562 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005409/0.2928, allocations: 295 kB / 0.727 GB, free: 5.266 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.000153/0.293, allocations: 326.1 kB / 0.7274 GB, free: 4.941 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004666/0.2934, allocations: 201.4 kB / 0.7276 GB, free: 4.746 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001535/0.295, allocations: 1.143 MB / 0.7287 GB, free: 3.238 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000878/0.2959, allocations: 463.4 kB / 0.7291 GB, free: 2.754 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.023e-06/0.2959, allocations: 4 kB / 0.7291 GB, free: 2.75 MB / 0.5606 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001488/0.2974, allocations: 0.6461 MB / 0.7297 GB, free: 2.098 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.835e-05/0.2974, allocations: 9.719 kB / 0.7298 GB, free: 2.09 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.264e-06/0.2974, allocations: 0 / 0.7298 GB, free: 2.09 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.183e-05/0.2975, allocations: 4.188 kB / 0.7298 GB, free: 2.086 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001527/0.299, allocations: 243.7 kB / 0.73 GB, free: 1.848 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002299/0.3013, allocations: 2.958 MB / 0.7329 GB, free: 14.77 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003398/0.3047, allocations: 0.691 MB / 0.7336 GB, free: 14.08 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.196e-05/0.3048, allocations: 27.98 kB / 0.7336 GB, free: 14.05 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009584/0.3058, allocations: 377.2 kB / 0.7339 GB, free: 13.68 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001996/0.3078, allocations: 1.154 MB / 0.7351 GB, free: 12.15 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009385/0.3088, allocations: 460.7 kB / 0.7355 GB, free: 11.66 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.071e-06/0.3088, allocations: 0 / 0.7355 GB, free: 11.66 MB / 0.5762 GB Notification: Performance of matching and sorting (n=73) (initialization_lambda0): time 0.001726/0.3105, allocations: 0.6587 MB / 0.7362 GB, free: 10.99 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.909e-05/0.3105, allocations: 8 kB / 0.7362 GB, free: 10.98 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.366e-06/0.3106, allocations: 0 / 0.7362 GB, free: 10.98 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.461e-05/0.3106, allocations: 8 kB / 0.7362 GB, free: 10.98 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007074/0.3113, allocations: 155.8 kB / 0.7363 GB, free: 10.82 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.549e-05/0.3113, allocations: 12.25 kB / 0.7363 GB, free: 10.81 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004525/0.3159, allocations: 0.9613 MB / 0.7373 GB, free: 9.852 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.871e-05/0.316, allocations: 36.11 kB / 0.7373 GB, free: 9.816 MB / 0.5762 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.0004281/0.3164, allocations: 237.1 kB / 0.7375 GB, free: 9.574 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002329/0.3166, allocations: 98.77 kB / 0.7376 GB, free: 9.477 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001264/0.3179, allocations: 0.5085 MB / 0.7381 GB, free: 8.957 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.251e-05/0.3179, allocations: 8 kB / 0.7381 GB, free: 8.949 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.613e-06/0.3179, allocations: 0 / 0.7381 GB, free: 8.949 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.538e-06/0.3179, allocations: 3.984 kB / 0.7381 GB, free: 8.945 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002369/0.3203, allocations: 1.253 MB / 0.7394 GB, free: 7.625 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.653e-06/0.3203, allocations: 0 / 0.7394 GB, free: 7.625 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005483/0.3209, allocations: 115.9 kB / 0.7395 GB, free: 7.512 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.135e-05/0.3209, allocations: 4 kB / 0.7395 GB, free: 7.508 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.653e-05/0.321, allocations: 19.86 kB / 0.7395 GB, free: 7.488 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002012/0.323, allocations: 2.942 MB / 0.7424 GB, free: 4.43 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.858e-06/0.323, allocations: 4.031 kB / 0.7424 GB, free: 4.426 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00114/0.3241, allocations: 0.5635 MB / 0.7429 GB, free: 3.836 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005459/0.3247, allocations: 215.8 kB / 0.7431 GB, free: 3.605 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002535/0.325, allocations: 4 kB / 0.7431 GB, free: 3.602 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005724/0.3255, allocations: 39.91 kB / 0.7432 GB, free: 3.562 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.557e-05/0.3256, allocations: 19.97 kB / 0.7432 GB, free: 3.543 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.517e-05/0.3257, allocations: 19.98 kB / 0.7432 GB, free: 3.523 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001004/0.3267, allocations: 0.6084 MB / 0.7438 GB, free: 2.906 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.7e-07/0.3267, allocations: 0 / 0.7438 GB, free: 2.906 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001662/0.3284, allocations: 0.5384 MB / 0.7443 GB, free: 2.367 MB / 0.5762 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.0008574/0.3292, allocations: 342.3 kB / 0.7446 GB, free: 2.035 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.00303/0.3323, allocations: 0.8423 MB / 0.7455 GB, free: 1.195 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.35e-06/0.3323, allocations: 0 / 0.7455 GB, free: 1.195 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0005968/0.3329, allocations: 228.8 kB / 0.7457 GB, free: 0.9727 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001846/0.3348, allocations: 408.3 kB / 0.7461 GB, free: 0.5781 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3693/0.7041, allocations: 1.512 MB / 0.7476 GB, free: 77.89 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007406/0.7048, allocations: 1.029 MB / 0.7486 GB, free: 77.19 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001352/0.7062, allocations: 204.3 kB / 0.7488 GB, free: 77.18 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002351/0.7065, allocations: 78.11 kB / 0.7488 GB, free: 77.18 MB / 0.5762 GB Notification: Performance of SimCode: time 1.413e-06/0.7065, allocations: 0 / 0.7488 GB, free: 77.18 MB / 0.5762 GB Notification: Performance of Templates: time 0.04187/0.7483, allocations: 25 MB / 0.7732 GB, free: 69.18 MB / 0.5762 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValves.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValves.sim & ./IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValves -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe 2>&1)