Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/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 BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization") translateModel(BuildSysPro.IBPSA.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization") [: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/BuildSysPro 3.5.0/package.mo): time 0.7479/0.7479, allocations: 127.4 MB / 134.6 MB, free: 4.074 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001102/0.001102, allocations: 189.2 kB / 164.4 MB, free: 6.859 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.652/1.652, allocations: 205.1 MB / 399.1 MB, free: 6.086 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009031/0.0009031, allocations: 91.56 kB / 476.3 MB, free: 8.828 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 9.297e-06/9.387e-06, allocations: 4 kB / 0.546 GB, free: 42.73 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1984/0.1985, allocations: 76.74 MB / 0.6209 GB, free: 13.92 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.232/1.43, allocations: 357.9 MB / 0.9704 GB, free: 124 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002698/1.431, allocations: 96.98 kB / 0.9705 GB, free: 123.9 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.725/3.155, allocations: 398.6 MB / 1.36 GB, free: 94.87 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0001318/3.156, allocations: 33.06 kB / 1.36 GB, free: 94.87 MB / 0.6511 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.00273/3.158, allocations: 1.015 MB / 1.361 GB, free: 94.49 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.832e-05/3.158, allocations: 10.7 kB / 1.361 GB, free: 94.49 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002432/3.159, allocations: 95.44 kB / 1.361 GB, free: 94.45 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001069/3.16, allocations: 0.5664 MB / 1.361 GB, free: 94.2 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.082e-05/3.16, allocations: 18.88 kB / 1.361 GB, free: 94.2 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.941e-05/3.16, allocations: 31.75 kB / 1.362 GB, free: 94.2 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004461/3.16, allocations: 236.6 kB / 1.362 GB, free: 94.2 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004875/3.161, allocations: 297.2 kB / 1.362 GB, free: 94.15 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.502e-05/3.161, allocations: 3.906 kB / 1.362 GB, free: 94.15 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.178e-05/3.161, allocations: 0 / 1.362 GB, free: 94.15 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.734e-05/3.161, allocations: 20.34 kB / 1.362 GB, free: 94.15 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002353/3.163, allocations: 2.065 MB / 1.364 GB, free: 92.88 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003263/3.164, allocations: 128.5 kB / 1.364 GB, free: 92.86 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.497e-05/3.164, allocations: 46.22 kB / 1.364 GB, free: 92.85 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 2.625e-05/3.164, allocations: 7.312 kB / 1.364 GB, free: 92.85 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.619e-05/3.164, allocations: 34.03 kB / 1.364 GB, free: 92.81 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=13): time 1.883e-06/3.164, allocations: 2.062 kB / 1.364 GB, free: 92.81 MB / 0.6511 GB Notification: Performance of matching and sorting (n=13): time 0.001187/3.165, allocations: 274.3 kB / 1.365 GB, free: 92.75 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.036e-05/3.165, allocations: 60.91 kB / 1.365 GB, free: 92.68 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005378/3.166, allocations: 489.7 kB / 1.365 GB, free: 92.56 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 3.69e-05/3.166, allocations: 25.7 kB / 1.365 GB, free: 92.53 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002078/3.166, allocations: 287.9 kB / 1.365 GB, free: 92.38 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 4.267e-05/3.166, allocations: 42.44 kB / 1.365 GB, free: 92.36 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.07e-05/3.166, allocations: 6.5 kB / 1.365 GB, free: 92.36 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001526/3.166, allocations: 368.5 kB / 1.366 GB, free: 92.05 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001717/3.166, allocations: 91.81 kB / 1.366 GB, free: 92.05 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002433/3.166, allocations: 193.9 kB / 1.366 GB, free: 91.93 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003003/3.167, allocations: 124.3 kB / 1.366 GB, free: 91.93 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/3.167, allocations: 0 / 1.366 GB, free: 91.93 MB / 0.6511 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.000636/3.167, allocations: 347.2 kB / 1.366 GB, free: 91.86 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001031/3.168, allocations: 272.2 kB / 1.367 GB, free: 91.59 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.735e-06/3.168, allocations: 0 / 1.367 GB, free: 91.59 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.094e-05/3.168, allocations: 3.688 kB / 1.367 GB, free: 91.59 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003482/3.171, allocations: 484.9 kB / 1.367 GB, free: 91.59 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00335/3.174, allocations: 2.651 MB / 1.37 GB, free: 89.25 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001174/3.176, allocations: 104.8 kB / 1.37 GB, free: 89.24 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.31e-05/3.176, allocations: 20.98 kB / 1.37 GB, free: 89.24 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 4.72e-05/3.176, allocations: 3.812 kB / 1.37 GB, free: 89.24 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005899/3.176, allocations: 216.6 kB / 1.37 GB, free: 89.23 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.818e-06/3.176, allocations: 7.281 kB / 1.37 GB, free: 89.23 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.997e-06/3.176, allocations: 2.953 kB / 1.37 GB, free: 89.23 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004412/3.177, allocations: 105.1 kB / 1.37 GB, free: 89.23 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.314e-06/3.177, allocations: 0 / 1.37 GB, free: 89.23 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000536/3.177, allocations: 66.45 kB / 1.37 GB, free: 89.23 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.127e-05/3.177, allocations: 9.531 kB / 1.37 GB, free: 89.23 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (43): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * 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: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002047/3.178, allocations: 117.5 kB / 1.37 GB, free: 89.12 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001182/3.178, allocations: 54.75 kB / 1.37 GB, free: 89.09 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002116/3.178, allocations: 50.78 kB / 1.371 GB, free: 89.07 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.53e-06/3.178, allocations: 3.281 kB / 1.371 GB, free: 89.07 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.239e-05/3.178, allocations: 0 / 1.371 GB, free: 89.07 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.913e-06/3.178, allocations: 5.781 kB / 1.371 GB, free: 89.07 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007939/3.179, allocations: 427.5 kB / 1.371 GB, free: 88.91 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/3.179, allocations: 0 / 1.371 GB, free: 88.91 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003323/3.182, allocations: 478.2 kB / 1.371 GB, free: 88.91 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.374e-06/3.182, allocations: 0 / 1.371 GB, free: 88.91 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.836e-05/3.182, allocations: 3.594 kB / 1.371 GB, free: 88.91 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008056/3.19, allocations: 5.618 MB / 1.377 GB, free: 83.89 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.242e-06/3.19, allocations: 0 / 1.377 GB, free: 83.89 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000582/3.191, allocations: 281.7 kB / 1.377 GB, free: 83.73 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002906/3.191, allocations: 137.1 kB / 1.377 GB, free: 83.61 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.58e-05/3.191, allocations: 3.938 kB / 1.377 GB, free: 83.61 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005865/3.192, allocations: 62.08 kB / 1.377 GB, free: 83.61 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.775e-05/3.192, allocations: 15.52 kB / 1.377 GB, free: 83.61 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.568e-05/3.192, allocations: 13.05 kB / 1.377 GB, free: 83.61 MB / 0.6511 GB Notification: Performance of sort global known variables: time 0.0005557/3.193, allocations: 366.1 kB / 1.378 GB, free: 83.51 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.001627/3.194, allocations: 391.9 kB / 1.378 GB, free: 83.49 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * 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: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001022/3.195, allocations: 476.6 kB / 1.379 GB, free: 83.38 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.005043/3.2, allocations: 0.8713 MB / 1.379 GB, free: 83.38 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 4.348e-06/3.2, allocations: 0 / 1.379 GB, free: 83.38 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.004195/3.205, allocations: 0.6332 MB / 1.38 GB, free: 83.38 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001732/3.206, allocations: 279.1 kB / 1.38 GB, free: 83.37 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001825/3.208, allocations: 0.729 MB / 1.381 GB, free: 83.13 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004375/3.209, allocations: 0.9721 MB / 1.382 GB, free: 82.42 MB / 0.6511 GB Notification: Performance of SimCode: time 1.603e-06/3.209, allocations: 2.688 kB / 1.382 GB, free: 82.42 MB / 0.6511 GB Notification: Performance of Templates: time 0.02277/3.231, allocations: 13.69 MB / 1.395 GB, free: 82.23 MB / 0.6511 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe 2>&1)