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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001817/0.001817, allocations: 111.4 kB / 15.99 MB, free: 6.359 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.002225/0.002225, allocations: 191.2 kB / 16.91 MB, free: 6.195 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.425/1.425, allocations: 222.9 MB / 240.6 MB, free: 15.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7566/0.7566, allocations: 132.2 MB / 422.9 MB, free: 6.789 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001308/0.001308, allocations: 59.91 kB / 0.5019 GB, free: 12.02 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3629/0.3642, allocations: 80.19 MB / 0.5802 GB, free: 27.27 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent): time 0.01731/0.3816, allocations: 19.33 MB / 0.5991 GB, free: 11.03 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.006767/0.3884, allocations: 5.13 MB / 0.6041 GB, free: 5.918 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001007/0.3894, allocations: 19.88 kB / 0.6041 GB, free: 5.898 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008065/0.3903, allocations: 219.2 kB / 0.6043 GB, free: 5.684 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002042/0.3923, allocations: 0.7188 MB / 0.605 GB, free: 4.973 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001845/0.3942, allocations: 0.7974 MB / 0.6058 GB, free: 4.188 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001394/0.3956, allocations: 1.544 MB / 0.6073 GB, free: 2.641 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005429/0.3962, allocations: 0.5005 MB / 0.6078 GB, free: 2.141 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008864/0.3971, allocations: 0.6303 MB / 0.6084 GB, free: 1.508 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005112/0.3976, allocations: 0.5446 MB / 0.609 GB, free: 0.9609 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 7.289e-05/0.3977, allocations: 56 kB / 0.609 GB, free: 0.9062 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009842/0.3987, allocations: 0.7018 MB / 0.6097 GB, free: 208 kB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001208/0.3988, allocations: 163.3 kB / 0.6098 GB, free: 44 kB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003671/0.3992, allocations: 382 kB / 0.6102 GB, free: 15.66 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009485/0.4001, allocations: 0.7834 MB / 0.611 GB, free: 14.88 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.049e-06/0.4001, allocations: 0 / 0.611 GB, free: 14.88 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.4001, allocations: 0 / 0.611 GB, free: 14.88 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.08e-05/0.4002, allocations: 4 kB / 0.611 GB, free: 14.88 MB / 462.1 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.001922/0.4021, allocations: 1.11 MB / 0.6121 GB, free: 13.71 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.95e-05/0.4021, allocations: 8.031 kB / 0.6121 GB, free: 13.71 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001536/0.4023, allocations: 80 kB / 0.6122 GB, free: 13.63 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006732/0.403, allocations: 0.5025 MB / 0.6126 GB, free: 13.08 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.277e-05/0.403, allocations: 37 kB / 0.6127 GB, free: 13.05 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.381e-05/0.4031, allocations: 48 kB / 0.6127 GB, free: 13 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001059/0.4042, allocations: 0.6216 MB / 0.6133 GB, free: 12.31 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.134e-05/0.4042, allocations: 11.88 kB / 0.6133 GB, free: 12.3 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.53e-05/0.4043, allocations: 16 kB / 0.6134 GB, free: 12.28 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.287e-05/0.4043, allocations: 12 kB / 0.6134 GB, free: 12.27 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001013/0.4053, allocations: 495.4 kB / 0.6138 GB, free: 11.79 MB / 462.1 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.003427/0.4087, allocations: 3.201 MB / 0.617 GB, free: 8.395 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006891/0.4094, allocations: 343.3 kB / 0.6173 GB, free: 8.051 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004482/0.4099, allocations: 232.7 kB / 0.6175 GB, free: 7.82 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004039/0.4103, allocations: 344.4 kB / 0.6178 GB, free: 7.41 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.789e-05/0.4103, allocations: 38.56 kB / 0.6179 GB, free: 7.363 MB / 462.1 MB Notification: Performance of pre-optimization done (n=38): time 2.073e-06/0.4104, allocations: 0 / 0.6179 GB, free: 7.363 MB / 462.1 MB Notification: Performance of matching and sorting (n=38): time 0.002089/0.4124, allocations: 0.8114 MB / 0.6187 GB, free: 6.523 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.339e-05/0.4125, allocations: 55.41 kB / 0.6187 GB, free: 6.457 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006698/0.4132, allocations: 0.5862 MB / 0.6193 GB, free: 5.859 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 5.619e-05/0.4132, allocations: 37.7 kB / 0.6193 GB, free: 5.816 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002432/0.4135, allocations: 324.4 kB / 0.6196 GB, free: 5.496 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001091/0.4136, allocations: 134 kB / 0.6198 GB, free: 5.363 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001945/0.4138, allocations: 126.2 kB / 0.6199 GB, free: 5.234 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.000157/0.414, allocations: 374.7 kB / 0.6202 GB, free: 4.859 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005022/0.4145, allocations: 223.3 kB / 0.6205 GB, free: 4.641 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005867/0.4151, allocations: 368 kB / 0.6208 GB, free: 4.219 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001021/0.4161, allocations: 0.5666 MB / 0.6214 GB, free: 3.594 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.28e-06/0.4161, allocations: 4 kB / 0.6214 GB, free: 3.59 MB / 462.1 MB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001448/0.4176, allocations: 0.7184 MB / 0.6221 GB, free: 2.859 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.959e-05/0.4176, allocations: 4.562 kB / 0.6221 GB, free: 2.855 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.035e-05/0.4176, allocations: 8 kB / 0.6221 GB, free: 2.848 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006095/0.4182, allocations: 132.7 kB / 0.6222 GB, free: 2.715 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005442/0.4188, allocations: 139.8 kB / 0.6223 GB, free: 2.578 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005487/0.4194, allocations: 0.6225 MB / 0.623 GB, free: 1.93 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000609/0.42, allocations: 95.33 kB / 0.623 GB, free: 1.836 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.784e-05/0.42, allocations: 32.05 kB / 0.6231 GB, free: 1.805 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00064/0.4207, allocations: 345.3 kB / 0.6234 GB, free: 1.465 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005728/0.4213, allocations: 368 kB / 0.6238 GB, free: 1.043 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009975/0.4223, allocations: 0.5626 MB / 0.6243 GB, free: 428 kB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.805e-06/0.4223, allocations: 0 / 0.6243 GB, free: 428 kB / 462.1 MB Notification: Performance of matching and sorting (n=73) (initialization_lambda0): time 0.001306/0.4236, allocations: 0.6784 MB / 0.625 GB, free: 15.73 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.265e-05/0.4236, allocations: 4 kB / 0.625 GB, free: 15.73 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.4236, allocations: 4.562 kB / 0.625 GB, free: 15.73 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.913e-06/0.4237, allocations: 12 kB / 0.625 GB, free: 15.71 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005828/0.4243, allocations: 163.7 kB / 0.6251 GB, free: 15.55 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.255e-05/0.4243, allocations: 15.88 kB / 0.6252 GB, free: 15.54 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005632/0.4248, allocations: 71.64 kB / 0.6252 GB, free: 15.47 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.187e-05/0.4249, allocations: 31.98 kB / 0.6253 GB, free: 15.44 MB / 478.1 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.0001938/0.4251, allocations: 212.1 kB / 0.6255 GB, free: 15.22 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001055/0.4252, allocations: 67.16 kB / 0.6255 GB, free: 15.16 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001472/0.4267, allocations: 0.6409 MB / 0.6261 GB, free: 14.5 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.232e-05/0.4267, allocations: 11.94 kB / 0.6262 GB, free: 14.49 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.124e-06/0.4267, allocations: 4.078 kB / 0.6262 GB, free: 14.48 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.658e-06/0.4267, allocations: 3.984 kB / 0.6262 GB, free: 14.48 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002415/0.4292, allocations: 1.376 MB / 0.6275 GB, free: 13.04 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.891e-06/0.4292, allocations: 0 / 0.6275 GB, free: 13.04 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003591/0.4296, allocations: 83.98 kB / 0.6276 GB, free: 12.96 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003446/0.4299, allocations: 112.8 kB / 0.6277 GB, free: 12.84 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.362e-05/0.43, allocations: 8 kB / 0.6277 GB, free: 12.84 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005922/0.4306, allocations: 0.6342 MB / 0.6283 GB, free: 12.18 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.4306, allocations: 4.031 kB / 0.6283 GB, free: 12.17 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00126/0.4318, allocations: 0.6928 MB / 0.629 GB, free: 11.45 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002635/0.4321, allocations: 200 kB / 0.6292 GB, free: 11.24 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.249e-05/0.4322, allocations: 4 kB / 0.6292 GB, free: 11.23 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004376/0.4326, allocations: 55.94 kB / 0.6293 GB, free: 11.18 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.145e-05/0.4327, allocations: 23.97 kB / 0.6293 GB, free: 11.16 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.108e-05/0.4328, allocations: 19.98 kB / 0.6293 GB, free: 11.14 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0004563/0.4332, allocations: 407.1 kB / 0.6297 GB, free: 10.75 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4332, allocations: 0 / 0.6297 GB, free: 10.75 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001108/0.4344, allocations: 387.3 kB / 0.6301 GB, free: 10.37 MB / 478.1 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.0007303/0.4351, allocations: 306.2 kB / 0.6303 GB, free: 10.07 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.001989/0.4371, allocations: 0.8978 MB / 0.6312 GB, free: 9.168 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.397e-06/0.4371, allocations: 4 kB / 0.6312 GB, free: 9.164 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006604/0.4378, allocations: 276 kB / 0.6315 GB, free: 8.895 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001178/0.439, allocations: 241.1 kB / 0.6317 GB, free: 8.668 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001868/0.4409, allocations: 1.332 MB / 0.633 GB, free: 7.293 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000441/0.4413, allocations: 0.9116 MB / 0.6339 GB, free: 6.355 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000194/0.4415, allocations: 63.42 kB / 0.634 GB, free: 6.293 MB / 478.1 MB Notification: Performance of SimCode: time 6.81e-07/0.4415, allocations: 3.938 kB / 0.634 GB, free: 6.289 MB / 478.1 MB Notification: Performance of Templates: time 0.01661/0.4581, allocations: 12.87 MB / 0.6465 GB, free: 9.535 MB / 494.1 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)