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.009312/0.009312, allocations: 100.9 kB / 15.73 MB, free: 6.051 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.001483/0.001483, allocations: 200.1 kB / 16.68 MB, free: 5.965 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.617/1.617, allocations: 205.1 MB / 222.6 MB, free: 4.527 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4009/0.4009, allocations: 54.95 MB / 324.8 MB, free: 28 kB / 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.001633/0.001633, allocations: 73.52 kB / 456.3 MB, free: 38.18 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.145/0.1466, allocations: 59.58 MB / 0.5038 GB, free: 9.578 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent): time 0.01835/0.165, allocations: 19.07 MB / 0.5224 GB, free: 7.793 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.014/0.1791, allocations: 7.136 MB / 0.5294 GB, free: 0.6367 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001418/0.1806, allocations: 23.81 kB / 0.5294 GB, free: 0.6133 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001317/0.1819, allocations: 290 kB / 0.5297 GB, free: 336 kB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002909/0.1849, allocations: 0.6784 MB / 0.5303 GB, free: 15.65 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002392/0.1873, allocations: 0.7179 MB / 0.531 GB, free: 14.94 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002412/0.1897, allocations: 1.398 MB / 0.5324 GB, free: 13.53 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009549/0.1907, allocations: 457.4 kB / 0.5328 GB, free: 13.08 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001657/0.1924, allocations: 0.6148 MB / 0.5334 GB, free: 12.46 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0011/0.1935, allocations: 493.9 kB / 0.5339 GB, free: 11.98 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001982/0.1937, allocations: 48 kB / 0.5339 GB, free: 11.93 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001491/0.1952, allocations: 0.5071 MB / 0.5344 GB, free: 11.42 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002872/0.1955, allocations: 147.4 kB / 0.5346 GB, free: 11.28 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006843/0.1962, allocations: 342.2 kB / 0.5349 GB, free: 10.94 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001763/0.198, allocations: 0.8994 MB / 0.5358 GB, free: 10.04 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.198, allocations: 0 / 0.5358 GB, free: 10.04 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.198, allocations: 0 / 0.5358 GB, free: 10.04 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.853e-05/0.198, allocations: 0 / 0.5358 GB, free: 10.04 MB / 414.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.002158/0.2002, allocations: 0.9618 MB / 0.5367 GB, free: 9.027 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.782e-05/0.2002, allocations: 12.03 kB / 0.5367 GB, free: 9.016 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002623/0.2029, allocations: 363.7 kB / 0.5371 GB, free: 8.66 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001096/0.204, allocations: 498.6 kB / 0.5375 GB, free: 8.133 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.67e-05/0.204, allocations: 29 kB / 0.5376 GB, free: 8.102 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.07e-05/0.2041, allocations: 47.94 kB / 0.5376 GB, free: 8.055 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007123/0.2112, allocations: 1.583 MB / 0.5392 GB, free: 6.426 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.034e-05/0.2113, allocations: 0 / 0.5392 GB, free: 6.426 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.09e-05/0.2114, allocations: 20 kB / 0.5392 GB, free: 6.406 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.704e-05/0.2114, allocations: 12 kB / 0.5392 GB, free: 6.395 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007589/0.219, allocations: 1.532 MB / 0.5407 GB, free: 4.859 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005025/0.2241, allocations: 2.776 MB / 0.5434 GB, free: 1.91 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006534/0.2307, allocations: 1.272 MB / 0.5446 GB, free: 0.6094 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008905/0.2316, allocations: 254.7 kB / 0.5449 GB, free: 360 kB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002986/0.2319, allocations: 109.1 kB / 0.545 GB, free: 232 kB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.259e-05/0.232, allocations: 54.39 kB / 0.545 GB, free: 168 kB / 414.1 MB Notification: Performance of pre-optimization done (n=21): time 2.314e-06/0.232, allocations: 0 / 0.545 GB, free: 168 kB / 414.1 MB Notification: Performance of matching and sorting (n=21): time 0.01408/0.2461, allocations: 2.58 MB / 0.5476 GB, free: 13.58 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001125/0.2462, allocations: 162.2 kB / 0.5477 GB, free: 13.38 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009446/0.2472, allocations: 0.5342 MB / 0.5482 GB, free: 12.84 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001525/0.2474, allocations: 29.7 kB / 0.5483 GB, free: 12.8 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003742/0.2478, allocations: 307.9 kB / 0.5486 GB, free: 12.49 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001495/0.2479, allocations: 78.84 kB / 0.5486 GB, free: 12.41 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002937/0.2482, allocations: 102.1 kB / 0.5487 GB, free: 12.31 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001902/0.2484, allocations: 370.7 kB / 0.5491 GB, free: 11.94 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00225/0.2507, allocations: 0.5762 MB / 0.5497 GB, free: 11.36 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002283/0.253, allocations: 0.6717 MB / 0.5503 GB, free: 10.64 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004252/0.2572, allocations: 1.151 MB / 0.5514 GB, free: 9.453 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.195e-06/0.2573, allocations: 4 kB / 0.5514 GB, free: 9.449 MB / 430.1 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.004875/0.2621, allocations: 1.304 MB / 0.5527 GB, free: 8.137 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.759e-05/0.2622, allocations: 11.98 kB / 0.5527 GB, free: 8.125 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.151e-05/0.2622, allocations: 4.344 kB / 0.5527 GB, free: 8.121 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.039e-05/0.2622, allocations: 8 kB / 0.5527 GB, free: 8.113 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01212/0.2744, allocations: 1.607 MB / 0.5543 GB, free: 6.504 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01416/0.2886, allocations: 3.621 MB / 0.5578 GB, free: 2.746 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001777/0.2904, allocations: 227.4 kB / 0.5581 GB, free: 2.523 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000163/0.2906, allocations: 27.97 kB / 0.5581 GB, free: 2.496 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007774/0.2914, allocations: 288.9 kB / 0.5584 GB, free: 2.207 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005276/0.2919, allocations: 261.3 kB / 0.5586 GB, free: 1.91 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008814/0.2928, allocations: 384.7 kB / 0.559 GB, free: 1.496 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.286e-06/0.2928, allocations: 0 / 0.559 GB, free: 1.496 MB / 430.1 MB Notification: Performance of matching and sorting (n=49) (initialization_lambda0): time 0.001257/0.2941, allocations: 498.3 kB / 0.5594 GB, free: 1.004 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.477e-05/0.2941, allocations: 4 kB / 0.5595 GB, free: 1 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.244e-06/0.2941, allocations: 4 kB / 0.5595 GB, free: 0.9961 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.297e-06/0.2942, allocations: 7.938 kB / 0.5595 GB, free: 0.9883 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004997/0.2947, allocations: 119.8 kB / 0.5596 GB, free: 0.8711 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.001e-05/0.2947, allocations: 4 kB / 0.5596 GB, free: 0.8672 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006/0.2953, allocations: 71.73 kB / 0.5596 GB, free: 0.7969 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.16e-05/0.2953, allocations: 12.08 kB / 0.5597 GB, free: 0.7852 MB / 430.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.0003138/0.2957, allocations: 204.1 kB / 0.5599 GB, free: 0.5781 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000266/0.2959, allocations: 55.33 kB / 0.5599 GB, free: 0.5234 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002335/0.2962, allocations: 64.95 kB / 0.56 GB, free: 468 kB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.421e-06/0.2962, allocations: 0 / 0.56 GB, free: 468 kB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.183e-06/0.2962, allocations: 4 kB / 0.56 GB, free: 464 kB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.2962, allocations: 0 / 0.56 GB, free: 464 kB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001411/0.2976, allocations: 0.8823 MB / 0.5608 GB, free: 15.51 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.077e-06/0.2976, allocations: 4 kB / 0.5608 GB, free: 15.5 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01073/0.3084, allocations: 1.459 MB / 0.5623 GB, free: 14.04 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.91e-05/0.3085, allocations: 4 kB / 0.5623 GB, free: 14.04 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001939/0.3087, allocations: 23.91 kB / 0.5623 GB, free: 14.02 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0131/0.3218, allocations: 3.516 MB / 0.5657 GB, free: 10.36 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.3218, allocations: 0 / 0.5657 GB, free: 10.36 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004812/0.3266, allocations: 1.238 MB / 0.5669 GB, free: 9.102 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002724/0.327, allocations: 128.4 kB / 0.5671 GB, free: 8.957 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002025/0.3272, allocations: 8 kB / 0.5671 GB, free: 8.949 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001601/0.3288, allocations: 199.8 kB / 0.5673 GB, free: 8.754 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.62e-05/0.3289, allocations: 15.91 kB / 0.5673 GB, free: 8.738 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.222e-05/0.329, allocations: 15.98 kB / 0.5673 GB, free: 8.723 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0005397/0.3295, allocations: 370.8 kB / 0.5676 GB, free: 8.363 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3295, allocations: 0 / 0.5676 GB, free: 8.363 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001386/0.3309, allocations: 327.5 kB / 0.5679 GB, free: 8.043 MB / 446.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.0005141/0.3314, allocations: 180 kB / 0.5681 GB, free: 7.867 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.01617/0.3476, allocations: 2.81 MB / 0.5709 GB, free: 5.055 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.038e-05/0.3477, allocations: 7.938 kB / 0.5709 GB, free: 5.047 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.01225/0.3599, allocations: 1.877 MB / 0.5727 GB, free: 3.168 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001794/0.3618, allocations: 240.6 kB / 0.5729 GB, free: 2.934 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01783/0.3796, allocations: 3.229 MB / 0.5761 GB, free: 15.67 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007793/0.3805, allocations: 0.8669 MB / 0.5769 GB, free: 14.77 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001195/0.3817, allocations: 132.5 kB / 0.5771 GB, free: 14.64 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000457/0.3822, allocations: 63.36 kB / 0.5771 GB, free: 14.58 MB / 462.1 MB Notification: Performance of SimCode: time 1.813e-06/0.3822, allocations: 0 / 0.5771 GB, free: 14.58 MB / 462.1 MB Notification: Performance of Templates: time 0.03003/0.4122, allocations: 14.83 MB / 0.5916 GB, free: 15.79 MB / 478.1 MB make -j1 -f Annex60_1.0.0_Annex60.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.makefile (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)