Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent") translateModel(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent") [: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/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.499/1.499, allocations: 285.5 MB / 292.8 MB, free: 10.45 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001277/0.001277, allocations: 185.3 kB / 361.1 MB, free: 7.074 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.378/1.378, allocations: 205.1 MB / 0.6195 GB, free: 10.32 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009409/0.0009412, allocations: 91.58 kB / 0.7326 GB, free: 44.21 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 9.588e-06/9.608e-06, allocations: 4 kB / 0.8511 GB, free: 2.965 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6599/0.6599, allocations: 115.3 MB / 0.9637 GB, free: 78.4 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7856/1.446, allocations: 396 MB / 1.35 GB, free: 167.7 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002205/1.446, allocations: 91.56 kB / 1.35 GB, free: 167.7 MB / 0.8542 GB Notification: Performance of FrontEnd: time 0.4727/1.919, allocations: 235.1 MB / 1.58 GB, free: 9.383 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 7.472e-05/1.919, allocations: 23.98 kB / 1.58 GB, free: 9.359 MB / 0.9167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 113 * Number of variables: 113 Notification: Performance of Generate backend data structure: time 0.002096/1.921, allocations: 0.9693 MB / 1.581 GB, free: 8.344 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.896e-05/1.921, allocations: 12.47 kB / 1.581 GB, free: 8.332 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002521/1.921, allocations: 87.06 kB / 1.581 GB, free: 8.246 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001181/1.922, allocations: 0.5073 MB / 1.582 GB, free: 7.695 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.159e-05/1.922, allocations: 20 kB / 1.582 GB, free: 7.676 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001226/1.922, allocations: 28 kB / 1.582 GB, free: 7.648 MB / 0.9167 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000873/1.923, allocations: 353.9 kB / 1.582 GB, free: 7.305 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000834/1.924, allocations: 0.5099 MB / 1.583 GB, free: 6.727 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.106e-05/1.924, allocations: 7.938 kB / 1.583 GB, free: 6.719 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.06e-05/1.924, allocations: 0 / 1.583 GB, free: 6.719 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.47e-05/1.924, allocations: 12 kB / 1.583 GB, free: 6.707 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003694/1.928, allocations: 3.112 MB / 1.586 GB, free: 3.43 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004792/1.929, allocations: 270.8 kB / 1.586 GB, free: 3.156 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002969/1.929, allocations: 180.5 kB / 1.586 GB, free: 2.977 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003348/1.929, allocations: 352.4 kB / 1.586 GB, free: 2.559 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.097e-05/1.929, allocations: 38.56 kB / 1.586 GB, free: 2.512 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=38): time 2.164e-06/1.929, allocations: 4 kB / 1.586 GB, free: 2.508 MB / 0.9167 GB Notification: Performance of matching and sorting (n=38): time 0.00243/1.932, allocations: 0.7046 MB / 1.587 GB, free: 1.793 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.001e-05/1.932, allocations: 55.41 kB / 1.587 GB, free: 1.727 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005594/1.932, allocations: 434.4 kB / 1.588 GB, free: 1.297 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 4.9e-05/1.932, allocations: 29.64 kB / 1.588 GB, free: 1.262 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.000168/1.932, allocations: 256.2 kB / 1.588 GB, free: 1.004 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001107/1.933, allocations: 126.1 kB / 1.588 GB, free: 0.8789 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.73e-05/1.933, allocations: 0 / 1.588 GB, free: 0.8789 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.00015/1.933, allocations: 362.8 kB / 1.588 GB, free: 0.5156 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002833/1.933, allocations: 153.3 kB / 1.588 GB, free: 376 kB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004442/1.934, allocations: 331.1 kB / 1.589 GB, free: 15.97 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001662/1.935, allocations: 468.2 kB / 1.589 GB, free: 15.51 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.077e-06/1.935, allocations: 4 kB / 1.589 GB, free: 15.5 MB / 0.9323 GB Notification: Performance of matching and sorting (n=68) (initialization): time 0.0023/1.938, allocations: 0.8344 MB / 1.59 GB, free: 14.66 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007081/1.938, allocations: 1.74 MB / 1.592 GB, free: 12.78 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.381e-05/1.938, allocations: 8 kB / 1.592 GB, free: 12.77 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004426/1.939, allocations: 108.7 kB / 1.592 GB, free: 12.66 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006395/1.939, allocations: 139.8 kB / 1.592 GB, free: 12.53 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001105/1.94, allocations: 0.7278 MB / 1.593 GB, free: 11.77 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007683/1.941, allocations: 99.38 kB / 1.593 GB, free: 11.68 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.672e-05/1.941, allocations: 32.05 kB / 1.593 GB, free: 11.64 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 9.388e-06/1.941, allocations: 4.625 kB / 1.593 GB, free: 11.64 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002057/1.943, allocations: 0.7078 MB / 1.593 GB, free: 10.94 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.945e-06/1.943, allocations: 4 kB / 1.593 GB, free: 10.93 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.119e-05/1.943, allocations: 8 kB / 1.593 GB, free: 10.93 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000682/1.944, allocations: 164.1 kB / 1.594 GB, free: 10.77 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.177e-05/1.944, allocations: 11.94 kB / 1.594 GB, free: 10.75 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006991/1.945, allocations: 83.59 kB / 1.594 GB, free: 10.67 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.913e-05/1.945, allocations: 31.98 kB / 1.594 GB, free: 10.64 MB / 0.9323 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (64): * Single equations (assignments): 63 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of prepare postOptimizeDAE: time 0.0001579/1.945, allocations: 124.8 kB / 1.594 GB, free: 10.51 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001338/1.945, allocations: 59.25 kB / 1.594 GB, free: 10.45 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002506/1.948, allocations: 0.8213 MB / 1.595 GB, free: 9.613 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.208e-05/1.948, allocations: 4.094 kB / 1.595 GB, free: 9.609 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/1.948, allocations: 0 / 1.595 GB, free: 9.609 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.169e-05/1.948, allocations: 7.891 kB / 1.595 GB, free: 9.602 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003713/1.952, allocations: 1.485 MB / 1.596 GB, free: 8.059 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.424e-06/1.952, allocations: 4 kB / 1.596 GB, free: 8.055 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004119/1.952, allocations: 95.91 kB / 1.596 GB, free: 7.961 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003873/1.952, allocations: 120.8 kB / 1.596 GB, free: 7.84 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.731e-05/1.952, allocations: 8 kB / 1.596 GB, free: 7.832 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001054/1.954, allocations: 0.7161 MB / 1.597 GB, free: 7.09 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.32e-06/1.954, allocations: 4 kB / 1.597 GB, free: 7.086 MB / 0.9323 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002278/1.956, allocations: 0.9085 MB / 1.598 GB, free: 6.129 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003693/1.956, allocations: 188.2 kB / 1.598 GB, free: 5.926 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000145/1.956, allocations: 3.906 kB / 1.598 GB, free: 5.922 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005938/1.957, allocations: 59.88 kB / 1.598 GB, free: 5.863 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.36e-05/1.957, allocations: 35.89 kB / 1.598 GB, free: 5.828 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.44e-05/1.957, allocations: 19.98 kB / 1.598 GB, free: 5.809 MB / 0.9323 GB Notification: Performance of sort global known variables: time 0.0004538/1.958, allocations: 318.9 kB / 1.599 GB, free: 5.5 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.001533/1.959, allocations: 387.2 kB / 1.599 GB, free: 5.121 MB / 0.9323 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (41): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.001059/1.96, allocations: 412.4 kB / 1.599 GB, free: 4.715 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.001711/1.962, allocations: 0.7191 MB / 1.6 GB, free: 3.992 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/1.962, allocations: 5.062 kB / 1.6 GB, free: 3.988 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.000525/1.962, allocations: 244 kB / 1.6 GB, free: 3.75 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001385/1.964, allocations: 234.1 kB / 1.601 GB, free: 3.523 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001724/1.966, allocations: 0.7585 MB / 1.601 GB, free: 2.73 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007168/1.966, allocations: 0.994 MB / 1.602 GB, free: 1.703 MB / 0.9323 GB Notification: Performance of SimCode: time 8.52e-07/1.966, allocations: 0 / 1.602 GB, free: 1.703 MB / 0.9323 GB Notification: Performance of Templates: time 0.2941/2.26, allocations: 14.2 MB / 1.616 GB, free: 331.4 MB / 0.9323 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe 2>&1)