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/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.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") [: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.2767/0.2767, allocations: 54.39 MB / 61.67 MB, free: 11.14 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.001174/0.001174, allocations: 181.3 kB / 75.37 MB, free: 1.465 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.435/1.435, allocations: 194.2 MB / 283.2 MB, free: 3.469 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.001798/0.001798, allocations: 126.5 kB / 341.3 MB, free: 9.336 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 7.273e-06/7.303e-06, allocations: 0 / 405 MB, free: 27.64 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1215/0.1215, allocations: 57.64 MB / 462.6 MB, free: 1.938 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7765/0.898, allocations: 337.8 MB / 0.7816 GB, free: 53.99 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002477/0.8983, allocations: 91.12 kB / 0.7817 GB, free: 53.94 MB / 490.7 MB Notification: Performance of FrontEnd: time 0.8165/1.715, allocations: 275.3 MB / 1.051 GB, free: 1.598 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 8.39e-05/1.715, allocations: 20 kB / 1.051 GB, free: 1.578 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: 109 * Number of variables: 109 Notification: Performance of Generate backend data structure: time 0.002095/1.717, allocations: 0.9623 MB / 1.052 GB, free: 0.5703 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.216e-05/1.717, allocations: 11.97 kB / 1.052 GB, free: 0.5586 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001087/1.718, allocations: 190.9 kB / 1.052 GB, free: 380 kB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2181/1.936, allocations: 0.5355 MB / 1.052 GB, free: 153.1 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.215e-05/1.936, allocations: 15.44 kB / 1.052 GB, free: 153.1 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.489e-05/1.936, allocations: 29.09 kB / 1.052 GB, free: 153.1 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006619/1.937, allocations: 295.2 kB / 1.053 GB, free: 153.1 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007015/1.938, allocations: 462.9 kB / 1.053 GB, free: 153 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.849e-05/1.938, allocations: 1.469 kB / 1.053 GB, free: 153 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.631e-05/1.938, allocations: 4.469 kB / 1.053 GB, free: 153 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.693e-05/1.938, allocations: 15 kB / 1.053 GB, free: 153 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00278/1.941, allocations: 2.462 MB / 1.055 GB, free: 151.4 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003931/1.941, allocations: 217 kB / 1.056 GB, free: 151.4 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001302/1.941, allocations: 75.39 kB / 1.056 GB, free: 151.4 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002805/1.942, allocations: 118.4 kB / 1.056 GB, free: 151.3 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.476e-05/1.942, allocations: 39.53 kB / 1.056 GB, free: 151.2 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=16): time 2.084e-06/1.942, allocations: 0 / 1.056 GB, free: 151.2 MB / 0.4948 GB Notification: Performance of matching and sorting (n=16): time 0.003434/1.945, allocations: 0.6876 MB / 1.057 GB, free: 151.2 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.876e-05/1.945, allocations: 168 kB / 1.057 GB, free: 151 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007427/1.946, allocations: 460.4 kB / 1.057 GB, free: 150.9 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 6.978e-05/1.946, allocations: 25.7 kB / 1.057 GB, free: 150.8 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002317/1.946, allocations: 283.5 kB / 1.057 GB, free: 150.7 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 7.393e-05/1.946, allocations: 57.05 kB / 1.057 GB, free: 150.6 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.359e-05/1.946, allocations: 3.188 kB / 1.057 GB, free: 150.6 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001626/1.947, allocations: 367.6 kB / 1.058 GB, free: 150.3 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002926/1.947, allocations: 146 kB / 1.058 GB, free: 150.3 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003734/1.947, allocations: 303.7 kB / 1.058 GB, free: 150.1 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000353/1.948, allocations: 171.2 kB / 1.058 GB, free: 150.1 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.849e-06/1.948, allocations: 2.156 kB / 1.058 GB, free: 150.1 MB / 0.4948 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0008253/1.948, allocations: 471.9 kB / 1.059 GB, free: 150.1 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003207/1.949, allocations: 1.138 MB / 1.06 GB, free: 148.9 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.121e-05/1.949, allocations: 3.938 kB / 1.06 GB, free: 148.9 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.392e-05/1.949, allocations: 6.719 kB / 1.06 GB, free: 148.9 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005341/1.954, allocations: 0.9335 MB / 1.061 GB, free: 148.9 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002517/1.957, allocations: 2.111 MB / 1.063 GB, free: 147.1 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00154/1.958, allocations: 195.1 kB / 1.063 GB, free: 147.1 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.907e-05/1.958, allocations: 20.23 kB / 1.063 GB, free: 147.1 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.225e-05/1.958, allocations: 6.469 kB / 1.063 GB, free: 147.1 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004225/1.959, allocations: 233.9 kB / 1.063 GB, free: 147.1 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.938e-06/1.959, allocations: 3.188 kB / 1.063 GB, free: 147.1 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.083e-05/1.959, allocations: 6.812 kB / 1.063 GB, free: 147.1 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000448/1.959, allocations: 114.4 kB / 1.064 GB, free: 147.1 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.41e-06/1.959, allocations: 5.719 kB / 1.064 GB, free: 147.1 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005501/1.96, allocations: 82.38 kB / 1.064 GB, free: 147.1 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.369e-05/1.96, allocations: 14.38 kB / 1.064 GB, free: 147.1 MB / 0.4948 GB 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (48): * Single equations (assignments): 45 * 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.0001833/1.96, allocations: 115.8 kB / 1.064 GB, free: 147 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000145/1.96, allocations: 60.47 kB / 1.064 GB, free: 147 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007711/1.961, allocations: 295 kB / 1.064 GB, free: 146.9 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.051e-06/1.961, allocations: 3.812 kB / 1.064 GB, free: 146.9 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/1.961, allocations: 0 / 1.064 GB, free: 146.9 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.18e-06/1.961, allocations: 0 / 1.064 GB, free: 146.9 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000824/1.962, allocations: 0.6894 MB / 1.065 GB, free: 146.6 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/1.962, allocations: 3.344 kB / 1.065 GB, free: 146.6 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004491/1.966, allocations: 0.8484 MB / 1.066 GB, free: 146.6 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.905e-06/1.966, allocations: 3.938 kB / 1.066 GB, free: 146.6 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.738e-05/1.966, allocations: 8.562 kB / 1.066 GB, free: 146.6 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004934/1.971, allocations: 4.319 MB / 1.07 GB, free: 142.8 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.11e-06/1.971, allocations: 3.969 kB / 1.07 GB, free: 142.8 MB / 0.4948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0007506/1.972, allocations: 405 kB / 1.07 GB, free: 142.6 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001936/1.972, allocations: 138.9 kB / 1.07 GB, free: 142.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000104/1.973, allocations: 0 / 1.07 GB, free: 142.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001109/1.974, allocations: 172.3 kB / 1.07 GB, free: 142.5 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.521e-05/1.974, allocations: 9.234 kB / 1.071 GB, free: 142.5 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.039e-05/1.974, allocations: 17.69 kB / 1.071 GB, free: 142.5 MB / 0.4948 GB Notification: Performance of sort global known variables: time 0.0003882/1.974, allocations: 347.2 kB / 1.071 GB, free: 142.4 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.001247/1.975, allocations: 366 kB / 1.071 GB, free: 142.4 MB / 0.4948 GB 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 () * 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.00072/1.976, allocations: 339.1 kB / 1.072 GB, free: 142.3 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.007851/1.984, allocations: 1.639 MB / 1.073 GB, free: 142.3 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 6.953e-06/1.984, allocations: 0 / 1.073 GB, free: 142.3 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.009484/1.994, allocations: 1.691 MB / 1.075 GB, free: 142.3 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001692/1.995, allocations: 278.1 kB / 1.075 GB, free: 142.3 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01828/2.014, allocations: 3.663 MB / 1.079 GB, free: 142 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006309/2.014, allocations: 0.9919 MB / 1.08 GB, free: 141.3 MB / 0.4948 GB Notification: Performance of SimCode: time 1.312e-06/2.014, allocations: 3.031 kB / 1.08 GB, free: 141.3 MB / 0.4948 GB Notification: Performance of Templates: time 0.02342/2.038, allocations: 14.73 MB / 1.094 GB, free: 141 MB / 0.4948 GB make -j1 -f Annex60_1.0.0_Annex60.Fluid.Actuators.Valves.Examples.TwoWayValves.makefile (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)