Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Annex60.Fluid.Actuators.Valves.Examples.TwoWayValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.Actuators.Valves.Examples.TwoWayValves") translateModel(Annex60.Fluid.Actuators.Valves.Examples.TwoWayValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.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.001251/0.001255, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001082/0.001082, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.483/1.483, allocations: 205.4 MB / 222.1 MB, free: 5.652 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.3608/0.3608, allocations: 54.98 MB / 325.4 MB, free: 0.7812 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Annex60 requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005194/0.0005195, allocations: 16 kB / 396.6 MB, free: 11.78 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3011/0.3017, allocations: 60.72 MB / 457.3 MB, free: 38.39 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.Actuators.Valves.Examples.TwoWayValves): time 0.01516/0.3169, allocations: 19.04 MB / 476.3 MB, free: 28.52 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.009358/0.3263, allocations: 7.568 MB / 483.9 MB, free: 23.55 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009187/0.3272, allocations: 26.97 kB / 483.9 MB, free: 23.54 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00127/0.3285, allocations: 444.5 kB / 484.4 MB, free: 23.29 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002235/0.3308, allocations: 0.9234 MB / 485.3 MB, free: 22.7 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004935/0.3357, allocations: 2.101 MB / 487.4 MB, free: 21.8 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001419/0.3372, allocations: 1.028 MB / 488.4 MB, free: 21.26 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005601/0.3377, allocations: 462.2 kB / 488.9 MB, free: 21.1 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008508/0.3386, allocations: 0.5869 MB / 489.5 MB, free: 20.82 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004132/0.339, allocations: 412.5 kB / 489.9 MB, free: 20.64 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.464e-05/0.3391, allocations: 25.97 kB / 489.9 MB, free: 20.64 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00105/0.3401, allocations: 0.6824 MB / 490.6 MB, free: 20.49 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001183/0.3403, allocations: 124.9 kB / 490.7 MB, free: 20.43 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000122/0.3404, allocations: 165.9 kB / 490.9 MB, free: 20.33 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006909/0.3411, allocations: 0.778 MB / 491.6 MB, free: 20.14 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.394e-06/0.3411, allocations: 1.031 kB / 491.6 MB, free: 20.14 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.3411, allocations: 4 kB / 491.6 MB, free: 20.14 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.487e-06/0.3411, allocations: 0 / 491.6 MB, free: 20.14 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 109 * Number of variables: 109 Notification: Performance of Generate backend data structure: time 0.001245/0.3424, allocations: 0.9554 MB / 492.6 MB, free: 19.43 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.322e-05/0.3424, allocations: 15.8 kB / 492.6 MB, free: 19.43 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009684/0.3434, allocations: 189.3 kB / 492.8 MB, free: 19.38 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006047/0.344, allocations: 0.4956 MB / 493.3 MB, free: 19.03 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.655e-05/0.3441, allocations: 38.28 kB / 493.3 MB, free: 19.02 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.016e-05/0.3441, allocations: 48.38 kB / 493.4 MB, free: 19 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003775/0.3479, allocations: 1.141 MB / 494.5 MB, free: 18.64 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.884e-05/0.3479, allocations: 5.719 kB / 494.5 MB, free: 18.64 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.931e-05/0.348, allocations: 23.03 kB / 494.5 MB, free: 18.62 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.738e-05/0.348, allocations: 12.19 kB / 494.6 MB, free: 18.62 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00369/0.3517, allocations: 0.9733 MB / 495.5 MB, free: 18.45 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003337/0.3551, allocations: 2.644 MB / 498.2 MB, free: 16.46 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003705/0.3588, allocations: 0.8246 MB / 499 MB, free: 16.29 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000279/0.3591, allocations: 118.2 kB / 499.1 MB, free: 16.19 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.699e-05/0.3592, allocations: 41.81 kB / 499.2 MB, free: 16.14 MB / 382.1 MB Notification: Performance of pre-optimization done (n=16): time 2.355e-06/0.3592, allocations: 1.094 kB / 499.2 MB, free: 16.14 MB / 382.1 MB Notification: Performance of matching and sorting (n=16): time 0.006978/0.3661, allocations: 1.501 MB / 0.4889 GB, free: 15.91 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.826e-05/0.3662, allocations: 165.1 kB / 0.4891 GB, free: 15.72 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008291/0.3671, allocations: 0.6571 MB / 0.4897 GB, free: 15.43 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.261e-05/0.3671, allocations: 36.7 kB / 0.4898 GB, free: 15.39 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002336/0.3674, allocations: 361 kB / 0.4901 GB, free: 15.11 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.268e-05/0.3675, allocations: 60.08 kB / 0.4902 GB, free: 15.06 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.292e-05/0.3675, allocations: 10.5 kB / 0.4902 GB, free: 15.05 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001191/0.3676, allocations: 374.7 kB / 0.4905 GB, free: 14.71 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001117/0.3687, allocations: 357.5 kB / 0.4909 GB, free: 14.64 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001242/0.37, allocations: 0.4917 MB / 0.4914 GB, free: 14.39 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001156/0.3712, allocations: 373.9 kB / 0.4917 GB, free: 14.3 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.133e-06/0.3712, allocations: 9.656 kB / 0.4917 GB, free: 14.29 MB / 382.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.002657/0.3738, allocations: 0.9009 MB / 0.4926 GB, free: 14.04 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001977/0.3741, allocations: 1.131 MB / 0.4937 GB, free: 12.83 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.034e-05/0.3741, allocations: 4.344 kB / 0.4937 GB, free: 12.83 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.242e-05/0.3741, allocations: 6.25 kB / 0.4937 GB, free: 12.83 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00478/0.3789, allocations: 0.8479 MB / 0.4945 GB, free: 12.78 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006579/0.3855, allocations: 4.927 MB / 0.4993 GB, free: 8.566 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001305/0.3868, allocations: 192.1 kB / 0.4995 GB, free: 8.516 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.841e-05/0.3869, allocations: 22.42 kB / 0.4996 GB, free: 8.516 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.047e-06/0.3869, allocations: 4.125 kB / 0.4996 GB, free: 8.516 MB / 382.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000757/0.3877, allocations: 357.9 kB / 0.4999 GB, free: 8.395 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.023e-06/0.3877, allocations: 3.906 kB / 0.4999 GB, free: 8.395 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.524e-06/0.3877, allocations: 8.844 kB / 0.4999 GB, free: 8.391 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004633/0.3882, allocations: 116.1 kB / 0.5 GB, free: 8.379 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.596e-06/0.3882, allocations: 6.594 kB / 0.5 GB, free: 8.379 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005602/0.3888, allocations: 83.42 kB / 0.5001 GB, free: 8.348 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.572e-05/0.3888, allocations: 13.17 kB / 0.5001 GB, free: 8.348 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (50): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003272/0.3891, allocations: 278.1 kB / 0.5004 GB, free: 8.105 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000143/0.3893, allocations: 67.5 kB / 0.5005 GB, free: 8.07 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002307/0.3916, allocations: 0.6941 MB / 0.5011 GB, free: 7.914 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.378e-06/0.3916, allocations: 2.812 kB / 0.5011 GB, free: 7.914 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.164e-06/0.3916, allocations: 1.281 kB / 0.5011 GB, free: 7.914 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.998e-06/0.3916, allocations: 0 / 0.5011 GB, free: 7.914 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009775/0.3926, allocations: 0.759 MB / 0.5019 GB, free: 7.383 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.115e-06/0.3926, allocations: 1.078 kB / 0.5019 GB, free: 7.383 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003957/0.3966, allocations: 0.7456 MB / 0.5026 GB, free: 7.344 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.332e-06/0.3966, allocations: 1.953 kB / 0.5026 GB, free: 7.344 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.673e-05/0.3967, allocations: 11.42 kB / 0.5026 GB, free: 7.34 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005559/0.4022, allocations: 4.807 MB / 0.5073 GB, free: 3.152 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.346e-06/0.4023, allocations: 6.297 kB / 0.5073 GB, free: 3.148 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0024/0.4047, allocations: 0.8196 MB / 0.5081 GB, free: 2.82 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002261/0.4049, allocations: 153.8 kB / 0.5083 GB, free: 2.676 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001034/0.405, allocations: 3.016 kB / 0.5083 GB, free: 2.676 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009639/0.406, allocations: 142.7 kB / 0.5084 GB, free: 2.664 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.902e-05/0.4061, allocations: 20.47 kB / 0.5084 GB, free: 2.656 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.731e-05/0.4061, allocations: 11.22 kB / 0.5084 GB, free: 2.656 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006088/0.4067, allocations: 458.7 kB / 0.5089 GB, free: 2.461 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.4068, allocations: 0 / 0.5089 GB, free: 2.461 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001162/0.4079, allocations: 344.6 kB / 0.5092 GB, free: 2.41 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (17): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000425/0.4084, allocations: 206.8 kB / 0.5094 GB, free: 2.285 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.006778/0.4151, allocations: 1.599 MB / 0.511 GB, free: 2.062 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.42e-06/0.4152, allocations: 0 / 0.511 GB, free: 2.062 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.007277/0.4225, allocations: 1.448 MB / 0.5124 GB, free: 1.633 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00189/0.4244, allocations: 359 kB / 0.5127 GB, free: 1.457 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01184/0.4362, allocations: 3.127 MB / 0.5158 GB, free: 15.32 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004337/0.4367, allocations: 0.9137 MB / 0.5167 GB, free: 14.38 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0007618/0.4375, allocations: 138.6 kB / 0.5168 GB, free: 14.25 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002039/0.4377, allocations: 55.41 kB / 0.5168 GB, free: 14.19 MB / 398.1 MB Notification: Performance of SimCode: time 7.92e-07/0.4377, allocations: 0 / 0.5168 GB, free: 14.19 MB / 398.1 MB Notification: Performance of Templates: time 0.02341/0.4611, allocations: 14.09 MB / 0.5306 GB, free: 236 kB / 398.1 MB make -j1 -f Annex60_1.0.0_Annex60.Fluid.Actuators.Valves.Examples.TwoWayValves.makefile Environment - environmentSimulation: (rm -f Annex60_1.0.0_Annex60.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe ; mkfifo Annex60_1.0.0_Annex60.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe >> ../files/Annex60_1.0.0_Annex60.Fluid.Actuators.Valves.Examples.TwoWayValves.sim & ./Annex60_1.0.0_Annex60.Fluid.Actuators.Valves.Examples.TwoWayValves -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe 2>&1) Environment - environmentSimulation: