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.0008912/0.0008912, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.008375/0.008376, allocations: 170.1 kB / 16.27 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.633/1.633, allocations: 205.4 MB / 222.4 MB, free: 5.555 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4241/0.4241, allocations: 55.01 MB / 325.8 MB, free: 0.5 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.0005914/0.0005916, allocations: 12 kB / 397.3 MB, free: 11.35 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.422/0.4226, allocations: 60.71 MB / 458 MB, free: 38.52 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent): time 0.01546/0.4381, allocations: 18.42 MB / 476.4 MB, free: 28.8 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01073/0.4489, allocations: 7.462 MB / 483.9 MB, free: 23.95 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001081/0.4501, allocations: 20.28 kB / 483.9 MB, free: 23.93 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001024/0.4511, allocations: 235 kB / 484.1 MB, free: 23.8 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002363/0.4535, allocations: 0.6232 MB / 484.7 MB, free: 23.43 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002232/0.4557, allocations: 0.6378 MB / 485.4 MB, free: 23.1 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002752/0.4585, allocations: 1.89 MB / 487.3 MB, free: 22.4 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009171/0.4594, allocations: 386.9 kB / 487.6 MB, free: 22.27 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001451/0.4609, allocations: 0.5472 MB / 488.2 MB, free: 22.04 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009606/0.4619, allocations: 485.2 kB / 488.7 MB, free: 21.84 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001487/0.462, allocations: 25.44 kB / 488.7 MB, free: 21.84 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001166/0.4632, allocations: 485.8 kB / 489.2 MB, free: 21.72 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001991/0.4634, allocations: 125 kB / 489.3 MB, free: 21.66 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006483/0.4641, allocations: 333.8 kB / 489.6 MB, free: 21.46 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001474/0.4656, allocations: 0.8571 MB / 490.5 MB, free: 21.18 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/0.4656, allocations: 4 kB / 490.5 MB, free: 21.18 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.883e-06/0.4656, allocations: 0 / 490.5 MB, free: 21.18 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.913e-05/0.4656, allocations: 0.8438 kB / 490.5 MB, free: 21.18 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.001721/0.4674, allocations: 0.8567 MB / 491.3 MB, free: 20.53 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.054e-05/0.4674, allocations: 10.75 kB / 491.3 MB, free: 20.53 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002523/0.4699, allocations: 408.7 kB / 491.7 MB, free: 20.47 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008298/0.4708, allocations: 479.1 kB / 492.2 MB, free: 20.12 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.791e-05/0.4708, allocations: 34.28 kB / 492.2 MB, free: 20.11 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.643e-05/0.4709, allocations: 38.53 kB / 492.3 MB, free: 20.1 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007617/0.4786, allocations: 1.803 MB / 494.1 MB, free: 19.69 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.162e-05/0.4786, allocations: 1 kB / 494.1 MB, free: 19.69 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.37e-05/0.4787, allocations: 18.25 kB / 494.1 MB, free: 19.68 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.31e-05/0.4787, allocations: 11.97 kB / 494.1 MB, free: 19.68 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007785/0.4865, allocations: 1.769 MB / 495.9 MB, free: 19.43 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004706/0.4913, allocations: 2.796 MB / 498.7 MB, free: 17.25 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007232/0.4985, allocations: 1.49 MB / 0.4884 GB, free: 17 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009343/0.4995, allocations: 285.5 kB / 0.4887 GB, free: 16.91 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000296/0.4998, allocations: 117 kB / 0.4888 GB, free: 16.82 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.214e-05/0.4999, allocations: 46.11 kB / 0.4889 GB, free: 16.77 MB / 382.1 MB Notification: Performance of pre-optimization done (n=21): time 3.446e-06/0.4999, allocations: 1.219 kB / 0.4889 GB, free: 16.77 MB / 382.1 MB Notification: Performance of matching and sorting (n=21): time 0.01491/0.5148, allocations: 3.029 MB / 0.4918 GB, free: 16.37 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001171/0.5149, allocations: 159.1 kB / 0.492 GB, free: 16.18 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001204/0.5162, allocations: 0.5356 MB / 0.4925 GB, free: 15.94 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001681/0.5164, allocations: 37.06 kB / 0.4925 GB, free: 15.9 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002736/0.5166, allocations: 298 kB / 0.4928 GB, free: 15.66 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001873/0.5168, allocations: 75.2 kB / 0.4929 GB, free: 15.6 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001366/0.517, allocations: 45.84 kB / 0.4929 GB, free: 15.57 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001463/0.5171, allocations: 373.5 kB / 0.4933 GB, free: 15.23 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002559/0.5197, allocations: 0.659 MB / 0.4939 GB, free: 15.11 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002545/0.5223, allocations: 0.7657 MB / 0.4947 GB, free: 14.86 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004611/0.5269, allocations: 1.33 MB / 0.496 GB, free: 14.5 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.757e-06/0.5269, allocations: 1.344 kB / 0.496 GB, free: 14.5 MB / 382.1 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.00554/0.5325, allocations: 1.509 MB / 0.4974 GB, free: 14.14 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001273/0.5326, allocations: 161.8 kB / 0.4976 GB, free: 13.95 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.457e-05/0.5326, allocations: 2.469 kB / 0.4976 GB, free: 13.95 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.512e-05/0.5327, allocations: 4.844 kB / 0.4976 GB, free: 13.95 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01361/0.5463, allocations: 2.083 MB / 0.4996 GB, free: 13.84 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01505/0.5614, allocations: 3.877 MB / 0.5034 GB, free: 12.11 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001973/0.5634, allocations: 290.1 kB / 0.5037 GB, free: 12 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001612/0.5636, allocations: 24.27 kB / 0.5037 GB, free: 11.99 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.288e-05/0.5636, allocations: 4.125 kB / 0.5037 GB, free: 11.99 MB / 382.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001244/0.5649, allocations: 462.4 kB / 0.5042 GB, free: 11.79 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.137e-06/0.5649, allocations: 3.938 kB / 0.5042 GB, free: 11.79 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.161e-05/0.5649, allocations: 9.328 kB / 0.5042 GB, free: 11.79 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005276/0.5654, allocations: 123.5 kB / 0.5043 GB, free: 11.76 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.042e-05/0.5655, allocations: 12.2 kB / 0.5043 GB, free: 11.75 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006917/0.5662, allocations: 97.94 kB / 0.5044 GB, free: 11.7 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.536e-05/0.5662, allocations: 20.59 kB / 0.5044 GB, free: 11.69 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 (not torn): 1 * 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): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004362/0.5667, allocations: 258.4 kB / 0.5047 GB, free: 11.46 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002213/0.5669, allocations: 54.12 kB / 0.5047 GB, free: 11.43 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001891/0.5671, allocations: 57.67 kB / 0.5048 GB, free: 11.39 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.59e-06/0.5671, allocations: 3.219 kB / 0.5048 GB, free: 11.39 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.592e-06/0.5671, allocations: 1.125 kB / 0.5048 GB, free: 11.39 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.588e-06/0.5671, allocations: 0 / 0.5048 GB, free: 11.39 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001461/0.5686, allocations: 0.8836 MB / 0.5057 GB, free: 10.6 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.639e-06/0.5686, allocations: 4.875 kB / 0.5057 GB, free: 10.6 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01166/0.5803, allocations: 1.903 MB / 0.5075 GB, free: 8.906 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.75e-05/0.5803, allocations: 1.641 kB / 0.5075 GB, free: 8.906 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001788/0.5805, allocations: 19.91 kB / 0.5075 GB, free: 8.887 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01252/0.5931, allocations: 3.741 MB / 0.5112 GB, free: 5.012 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.208e-06/0.5931, allocations: 0 / 0.5112 GB, free: 5.012 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004512/0.5976, allocations: 1.414 MB / 0.5126 GB, free: 3.574 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003234/0.598, allocations: 136.4 kB / 0.5127 GB, free: 3.422 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002117/0.5982, allocations: 4.516 kB / 0.5127 GB, free: 3.418 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001633/0.5999, allocations: 259.7 kB / 0.513 GB, free: 3.164 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.37e-05/0.5999, allocations: 19.91 kB / 0.513 GB, free: 3.145 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.913e-05/0.6, allocations: 19.97 kB / 0.513 GB, free: 3.125 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004224/0.6004, allocations: 366.8 kB / 0.5133 GB, free: 2.77 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.6005, allocations: 0 / 0.5133 GB, free: 2.77 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001241/0.6017, allocations: 327.5 kB / 0.5137 GB, free: 2.449 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 (not torn): 1 * 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): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004982/0.6022, allocations: 174.3 kB / 0.5138 GB, free: 2.277 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.01718/0.6194, allocations: 3.464 MB / 0.5172 GB, free: 14.81 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.037e-05/0.6195, allocations: 4 kB / 0.5172 GB, free: 14.8 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.01339/0.6329, allocations: 2.373 MB / 0.5195 GB, free: 12.43 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002569/0.6355, allocations: 283.4 kB / 0.5198 GB, free: 12.17 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01839/0.6539, allocations: 3.96 MB / 0.5237 GB, free: 8.172 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005538/0.6545, allocations: 0.8633 MB / 0.5245 GB, free: 7.281 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.00121/0.6558, allocations: 139.6 kB / 0.5246 GB, free: 7.152 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004326/0.6562, allocations: 67.31 kB / 0.5247 GB, free: 7.086 MB / 398.1 MB Notification: Performance of SimCode: time 1.373e-06/0.6562, allocations: 3.938 kB / 0.5247 GB, free: 7.082 MB / 398.1 MB Notification: Performance of Templates: time 0.02908/0.6853, allocations: 14.23 MB / 0.5386 GB, free: 8.969 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: