Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Fluid.Actuators.Valves.Examples.ThreeWayValves.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Running command: translateModel(Annex60.Fluid.Actuators.Valves.Examples.ThreeWayValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.Actuators.Valves.Examples.ThreeWayValves") translateModel(Annex60.Fluid.Actuators.Valves.Examples.ThreeWayValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.Actuators.Valves.Examples.ThreeWayValves") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.3393/0.3393, allocations: 54.39 MB / 61.67 MB, free: 11.15 MB / 58.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001251/0.001251, allocations: 182.2 kB / 75.37 MB, free: 1.48 MB / 58.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.476/1.476, allocations: 194.2 MB / 283.2 MB, free: 3.492 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001674/0.001674, allocations: 110.3 kB / 341.3 MB, free: 9.383 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 7.775e-06/7.865e-06, allocations: 0 / 405 MB, free: 27.68 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1218/0.1219, allocations: 57.64 MB / 462.6 MB, free: 1.969 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8019/0.9238, allocations: 363.2 MB / 0.8065 GB, free: 29.18 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000317/0.9242, allocations: 94.69 kB / 0.8065 GB, free: 29.13 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.163/3.087, allocations: 0.5767 GB / 1.383 GB, free: 48.38 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0003257/3.087, allocations: 51.92 kB / 1.383 GB, free: 48.33 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 275 * Number of variables: 275 Notification: Performance of Generate backend data structure: time 0.006034/3.093, allocations: 1.766 MB / 1.385 GB, free: 46.53 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 6.885e-05/3.094, allocations: 11.97 kB / 1.385 GB, free: 46.52 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001663/3.095, allocations: 217.6 kB / 1.385 GB, free: 46.3 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005578/3.101, allocations: 1.805 MB / 1.387 GB, free: 44.46 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.358e-05/3.101, allocations: 39.91 kB / 1.387 GB, free: 44.42 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004001/3.101, allocations: 71.98 kB / 1.387 GB, free: 44.35 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001938/3.103, allocations: 0.6916 MB / 1.388 GB, free: 43.65 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002046/3.105, allocations: 1.029 MB / 1.389 GB, free: 42.53 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.461e-05/3.105, allocations: 7.938 kB / 1.389 GB, free: 42.52 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000151/3.106, allocations: 2.75 kB / 1.389 GB, free: 42.52 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.09e-05/3.106, allocations: 32 kB / 1.389 GB, free: 42.49 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01061/3.116, allocations: 6.368 MB / 1.395 GB, free: 35.77 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004783/3.117, allocations: 262.3 kB / 1.395 GB, free: 35.51 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002998/3.117, allocations: 205.2 kB / 1.396 GB, free: 35.31 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000315/3.117, allocations: 178.5 kB / 1.396 GB, free: 35.1 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.329e-05/3.118, allocations: 34.89 kB / 1.396 GB, free: 35.05 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=39): time 5.119e-06/3.118, allocations: 0 / 1.396 GB, free: 35.05 MB / 0.4948 GB Notification: Performance of matching and sorting (n=41): time 0.00735/3.125, allocations: 1.584 MB / 1.397 GB, free: 33.41 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001308/3.125, allocations: 132.5 kB / 1.397 GB, free: 33.25 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003049/3.128, allocations: 0.9881 MB / 1.398 GB, free: 32.25 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002466/3.128, allocations: 25.7 kB / 1.398 GB, free: 32.22 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008403/3.129, allocations: 0.5653 MB / 1.399 GB, free: 31.64 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002469/3.13, allocations: 146 kB / 1.399 GB, free: 31.5 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.876e-05/3.13, allocations: 0 / 1.399 GB, free: 31.5 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002358/3.13, allocations: 337.9 kB / 1.399 GB, free: 31.16 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005752/3.13, allocations: 246 kB / 1.4 GB, free: 30.92 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008443/3.131, allocations: 0.5547 MB / 1.4 GB, free: 30.23 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008335/3.132, allocations: 337.7 kB / 1.4 GB, free: 29.9 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.029e-05/3.132, allocations: 3.984 kB / 1.401 GB, free: 29.89 MB / 0.4948 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.002139/3.134, allocations: 0.861 MB / 1.401 GB, free: 29.03 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.001756/3.136, allocations: 2.998 MB / 1.404 GB, free: 25.84 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.61e-05/3.136, allocations: 8 kB / 1.404 GB, free: 25.83 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.969e-05/3.136, allocations: 12 kB / 1.404 GB, free: 25.82 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001352/3.138, allocations: 275.6 kB / 1.405 GB, free: 25.55 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.03e-05/3.138, allocations: 15.94 kB / 1.405 GB, free: 25.53 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001984/3.14, allocations: 155.3 kB / 1.405 GB, free: 25.38 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001201/3.14, allocations: 39.92 kB / 1.405 GB, free: 25.34 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.237e-05/3.14, allocations: 4 kB / 1.405 GB, free: 25.34 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001158/3.141, allocations: 0.6197 MB / 1.405 GB, free: 24.72 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.667e-05/3.141, allocations: 12.03 kB / 1.405 GB, free: 24.71 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.036e-05/3.141, allocations: 16 kB / 1.405 GB, free: 24.7 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000764/3.142, allocations: 199.7 kB / 1.406 GB, free: 24.5 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.959e-05/3.142, allocations: 19.92 kB / 1.406 GB, free: 24.48 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001462/3.143, allocations: 75.78 kB / 1.406 GB, free: 24.41 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001094/3.143, allocations: 39.98 kB / 1.406 GB, free: 24.37 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 34 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (108): * Single equations (assignments): 108 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003219/3.144, allocations: 129.4 kB / 1.406 GB, free: 24.23 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003872/3.144, allocations: 134.2 kB / 1.406 GB, free: 24.1 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00177/3.146, allocations: 0.646 MB / 1.407 GB, free: 23.43 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.727e-05/3.146, allocations: 8 kB / 1.407 GB, free: 23.43 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.116e-05/3.146, allocations: 3.984 kB / 1.407 GB, free: 23.42 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001109/3.147, allocations: 0.7977 MB / 1.407 GB, free: 22.54 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003795/3.151, allocations: 1.731 MB / 1.409 GB, free: 20.74 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.13e-06/3.151, allocations: 0 / 1.409 GB, free: 20.74 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000802/3.152, allocations: 155.9 kB / 1.409 GB, free: 20.59 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000239/3.152, allocations: 77.67 kB / 1.409 GB, free: 20.5 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.013e-05/3.152, allocations: 11.98 kB / 1.409 GB, free: 20.49 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007573/3.153, allocations: 1.151 MB / 1.41 GB, free: 19.29 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.07e-06/3.153, allocations: 4 kB / 1.41 GB, free: 19.29 MB / 0.4948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001655/3.155, allocations: 1.047 MB / 1.411 GB, free: 18.17 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008451/3.155, allocations: 283.4 kB / 1.412 GB, free: 17.88 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004079/3.156, allocations: 7.906 kB / 1.412 GB, free: 17.87 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00139/3.157, allocations: 123.9 kB / 1.412 GB, free: 17.75 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.081e-05/3.157, allocations: 35.84 kB / 1.412 GB, free: 17.71 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.458e-05/3.157, allocations: 23.98 kB / 1.412 GB, free: 17.69 MB / 0.4948 GB Notification: Performance of sort global known variables: time 0.001473/3.159, allocations: 0.7269 MB / 1.413 GB, free: 16.96 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.003791/3.163, allocations: 0.6796 MB / 1.413 GB, free: 16.28 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 2 (valLin.vol.dynBal.U,valEquPerLin.vol.dynBal.U) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 3,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.001655/3.164, allocations: 0.6906 MB / 1.414 GB, free: 15.62 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.00194/3.166, allocations: 0.9874 MB / 1.415 GB, free: 14.63 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 7.174e-06/3.166, allocations: 0 / 1.415 GB, free: 14.63 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0005832/3.167, allocations: 251 kB / 1.415 GB, free: 14.39 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004048/3.171, allocations: 0.6243 MB / 1.416 GB, free: 13.78 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01228/3.183, allocations: 2.945 MB / 1.419 GB, free: 10.79 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001878/3.185, allocations: 1.415 MB / 1.42 GB, free: 9.344 MB / 0.4948 GB Notification: Performance of SimCode: time 2.224e-06/3.185, allocations: 0 / 1.42 GB, free: 9.344 MB / 0.4948 GB Notification: Performance of Templates: time 0.4046/3.59, allocations: 30.83 MB / 1.45 GB, free: 104.1 MB / 0.5105 GB make -j1 -f Annex60_1.0.0_Annex60.Fluid.Actuators.Valves.Examples.ThreeWayValves.makefile (rm -f Annex60_1.0.0_Annex60.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe ; mkfifo Annex60_1.0.0_Annex60.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe >> ../files/Annex60_1.0.0_Annex60.Fluid.Actuators.Valves.Examples.ThreeWayValves.sim & ./Annex60_1.0.0_Annex60.Fluid.Actuators.Valves.Examples.ThreeWayValves -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe 2>&1)