Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.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 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.TwoWayValvePressureIndependent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent") translateModel(Annex60.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.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.001261/0.001261, allocations: 100.1 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.001403/0.001403, 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.534/1.534, allocations: 205.4 MB / 222.1 MB, free: 5.66 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4121/0.4121, allocations: 54.98 MB / 325.4 MB, free: 0.7578 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.0005388/0.0005388, allocations: 19.98 kB / 396.6 MB, free: 11.76 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3688/0.3693, allocations: 60.72 MB / 457.3 MB, free: 38.2 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent): time 0.01358/0.3829, allocations: 16.04 MB / 473.3 MB, free: 30.5 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.008218/0.3912, allocations: 6.462 MB / 479.8 MB, free: 26.29 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006292/0.3919, allocations: 17.84 kB / 479.8 MB, free: 26.28 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009719/0.3929, allocations: 371.7 kB / 480.2 MB, free: 26.07 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001662/0.3945, allocations: 0.6791 MB / 480.9 MB, free: 25.62 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004541/0.3991, allocations: 1.869 MB / 482.7 MB, free: 24.82 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001169/0.4003, allocations: 0.8486 MB / 483.6 MB, free: 24.38 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004563/0.4007, allocations: 367 kB / 483.9 MB, free: 24.26 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007322/0.4015, allocations: 0.4895 MB / 484.4 MB, free: 24.03 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003984/0.4019, allocations: 345.8 kB / 484.8 MB, free: 23.89 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.679e-05/0.4019, allocations: 23.81 kB / 484.8 MB, free: 23.89 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008789/0.4028, allocations: 0.491 MB / 485.3 MB, free: 23.77 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001133/0.403, allocations: 103.9 kB / 485.4 MB, free: 23.72 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001288/0.4031, allocations: 147.6 kB / 485.5 MB, free: 23.63 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006628/0.4038, allocations: 0.631 MB / 486.2 MB, free: 23.48 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.476e-06/0.4038, allocations: 0 / 486.2 MB, free: 23.48 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.893e-06/0.4038, allocations: 0 / 486.2 MB, free: 23.48 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.438e-06/0.4038, allocations: 0 / 486.2 MB, free: 23.48 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: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.001368/0.4052, allocations: 0.8688 MB / 487 MB, free: 22.83 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.299e-05/0.4052, allocations: 12.84 kB / 487 MB, free: 22.83 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002524/0.4078, allocations: 407.5 kB / 487.4 MB, free: 22.77 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006339/0.4084, allocations: 462.9 kB / 487.9 MB, free: 22.44 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.625e-05/0.4085, allocations: 31.09 kB / 487.9 MB, free: 22.43 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.697e-05/0.4085, allocations: 48.86 kB / 488 MB, free: 22.41 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006873/0.4154, allocations: 1.797 MB / 489.8 MB, free: 22 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.531e-05/0.4154, allocations: 0 / 489.8 MB, free: 22 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.572e-05/0.4155, allocations: 21.25 kB / 489.8 MB, free: 21.98 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.349e-05/0.4155, allocations: 10.81 kB / 489.8 MB, free: 21.98 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007421/0.423, allocations: 1.766 MB / 491.6 MB, free: 21.73 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003441/0.4264, allocations: 2.791 MB / 494.4 MB, free: 19.57 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006926/0.4334, allocations: 1.501 MB / 495.9 MB, free: 19.32 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002778/0.4337, allocations: 129.8 kB / 496 MB, free: 19.21 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.552e-05/0.4337, allocations: 42.33 kB / 496 MB, free: 19.16 MB / 382.1 MB Notification: Performance of pre-optimization done (n=21): time 2.194e-06/0.4337, allocations: 0 / 496 MB, free: 19.16 MB / 382.1 MB Notification: Performance of matching and sorting (n=21): time 0.01479/0.4485, allocations: 3.029 MB / 499.1 MB, free: 18.77 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.671e-05/0.4486, allocations: 162.4 kB / 499.2 MB, free: 18.57 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008295/0.4495, allocations: 0.5275 MB / 499.7 MB, free: 18.33 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000128/0.4496, allocations: 31.39 kB / 499.8 MB, free: 18.3 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002362/0.4499, allocations: 307.6 kB / 0.4883 GB, free: 18.05 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.428e-05/0.45, allocations: 74.34 kB / 0.4884 GB, free: 17.99 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.87e-05/0.45, allocations: 5.031 kB / 0.4884 GB, free: 17.99 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001121/0.4501, allocations: 366.4 kB / 0.4888 GB, free: 17.65 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002358/0.4525, allocations: 0.6553 MB / 0.4894 GB, free: 17.53 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002418/0.4549, allocations: 0.7645 MB / 0.4902 GB, free: 17.28 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002203/0.4571, allocations: 0.6443 MB / 0.4908 GB, free: 17.14 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.108e-06/0.4572, allocations: 0 / 0.4908 GB, free: 17.14 MB / 382.1 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.005342/0.4625, allocations: 1.491 MB / 0.4922 GB, free: 16.79 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000218/0.4627, allocations: 1.05 MB / 0.4933 GB, free: 15.68 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.047e-05/0.4628, allocations: 3.031 kB / 0.4933 GB, free: 15.68 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.578e-05/0.4628, allocations: 5.531 kB / 0.4933 GB, free: 15.68 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01296/0.4757, allocations: 2.082 MB / 0.4953 GB, free: 15.56 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01451/0.4903, allocations: 4.017 MB / 0.4992 GB, free: 13.81 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001861/0.4922, allocations: 291.5 kB / 0.4995 GB, free: 13.77 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001342/0.4923, allocations: 23.06 kB / 0.4995 GB, free: 13.77 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.247e-06/0.4924, allocations: 7.344 kB / 0.4995 GB, free: 13.76 MB / 382.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001173/0.4935, allocations: 465.7 kB / 0.5 GB, free: 13.62 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.611e-06/0.4936, allocations: 3.031 kB / 0.5 GB, free: 13.62 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.008e-05/0.4936, allocations: 6.062 kB / 0.5 GB, free: 13.62 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005389/0.4941, allocations: 120.8 kB / 0.5001 GB, free: 13.62 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.244e-05/0.4941, allocations: 14.28 kB / 0.5001 GB, free: 13.61 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006223/0.4948, allocations: 92.67 kB / 0.5002 GB, free: 13.58 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.656e-05/0.4948, allocations: 17.44 kB / 0.5002 GB, free: 13.58 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (49): * Single equations (assignments): 48 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * 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: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003801/0.4952, allocations: 255 kB / 0.5005 GB, free: 13.35 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000203/0.4954, allocations: 62.36 kB / 0.5005 GB, free: 13.32 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001805/0.4956, allocations: 54.53 kB / 0.5006 GB, free: 13.29 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.348e-06/0.4956, allocations: 10.06 kB / 0.5006 GB, free: 13.28 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.341e-06/0.4956, allocations: 6.047 kB / 0.5006 GB, free: 13.27 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.1e-06/0.4956, allocations: 1.781 kB / 0.5006 GB, free: 13.27 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001151/0.4968, allocations: 0.884 MB / 0.5015 GB, free: 12.66 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.157e-06/0.4968, allocations: 2.203 kB / 0.5015 GB, free: 12.66 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01142/0.5082, allocations: 1.903 MB / 0.5033 GB, free: 12.06 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.249e-05/0.5083, allocations: 5.359 kB / 0.5033 GB, free: 12.05 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001076/0.5084, allocations: 15.67 kB / 0.5033 GB, free: 12.05 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01259/0.521, allocations: 3.893 MB / 0.5071 GB, free: 8.727 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/0.521, allocations: 0 / 0.5071 GB, free: 8.727 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00435/0.5254, allocations: 1.439 MB / 0.5086 GB, free: 7.254 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002629/0.5257, allocations: 132.4 kB / 0.5087 GB, free: 7.105 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001958/0.5259, allocations: 4 kB / 0.5087 GB, free: 7.102 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001589/0.5275, allocations: 267.6 kB / 0.5089 GB, free: 6.84 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.892e-05/0.5276, allocations: 19.86 kB / 0.509 GB, free: 6.82 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.978e-05/0.5276, allocations: 19.97 kB / 0.509 GB, free: 6.801 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000394/0.528, allocations: 362.8 kB / 0.5093 GB, free: 6.449 MB / 382.1 MB Notification: Performance of sort global known variables: time 9.52e-07/0.528, allocations: 0 / 0.5093 GB, free: 6.449 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.00119/0.5292, allocations: 331.5 kB / 0.5096 GB, free: 6.125 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 (21): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * 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: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004906/0.5297, allocations: 172.4 kB / 0.5098 GB, free: 5.961 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.01603/0.5458, allocations: 3.451 MB / 0.5132 GB, free: 2.508 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.072e-05/0.5458, allocations: 0 / 0.5132 GB, free: 2.508 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.01216/0.558, allocations: 2.373 MB / 0.5155 GB, free: 136 kB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002034/0.5601, allocations: 280.5 kB / 0.5158 GB, free: 15.87 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01784/0.578, allocations: 3.902 MB / 0.5196 GB, free: 11.93 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004685/0.5785, allocations: 0.8789 MB / 0.5204 GB, free: 11.02 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0009416/0.5794, allocations: 132.3 kB / 0.5206 GB, free: 10.9 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000364/0.5798, allocations: 63.36 kB / 0.5206 GB, free: 10.84 MB / 398.1 MB Notification: Performance of SimCode: time 1.202e-06/0.5798, allocations: 0 / 0.5206 GB, free: 10.84 MB / 398.1 MB Notification: Performance of Templates: time 0.02409/0.6039, allocations: 13.78 MB / 0.5341 GB, free: 13.18 MB / 414.1 MB make -j1 -f Annex60_1.0.0_Annex60.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.makefile Environment - environmentSimulation: (rm -f Annex60_1.0.0_Annex60.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe ; mkfifo Annex60_1.0.0_Annex60.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe >> ../files/Annex60_1.0.0_Annex60.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.sim & ./Annex60_1.0.0_Annex60.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe 2>&1) Environment - environmentSimulation: