Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Sources.Validation.Outside_CpData_Directions.conf.json 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/IBPSA 4.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: translateModel(IBPSA.Fluid.Sources.Validation.Outside_CpData_Directions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Sources.Validation.Outside_CpData_Directions") translateModel(IBPSA.Fluid.Sources.Validation.Outside_CpData_Directions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Sources.Validation.Outside_CpData_Directions") [: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/Complex 4.0.0+maint.om/package.mo): time 0.001551/0.001551, allocations: 191.4 kB / 7.801 MB, free: 2.496 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4371/0.4371, allocations: 90.85 MB / 99.07 MB, free: 14.93 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.181/1.181, allocations: 221.4 MB / 342.8 MB, free: 5.227 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009847/0.0009846, allocations: 83.52 kB / 415.5 MB, free: 9.84 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 6.863e-06/6.893e-06, allocations: 0 / 493.9 MB, free: 11.57 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3054/0.3054, allocations: 72.29 MB / 0.5529 GB, free: 44.78 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.953/3.259, allocations: 1.891 GB / 2.444 GB, free: 162.5 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002525/3.259, allocations: 87.95 kB / 2.444 GB, free: 162.4 MB / 0.6042 GB Notification: Performance of FrontEnd: time 0.8105/4.069, allocations: 326.6 MB / 2.763 GB, free: 72.79 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0001427/4.07, allocations: 59.92 kB / 2.763 GB, free: 72.73 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 418 * Number of variables: 418 Notification: Performance of Generate backend data structure: time 0.003366/4.073, allocations: 2.152 MB / 2.765 GB, free: 70.54 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.613e-05/4.073, allocations: 12.03 kB / 2.765 GB, free: 70.53 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003678/4.077, allocations: 0.5823 MB / 2.766 GB, free: 69.94 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003213/4.08, allocations: 2.251 MB / 2.768 GB, free: 67.64 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.766e-05/4.08, allocations: 56 kB / 2.768 GB, free: 67.59 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001779/4.08, allocations: 99.91 kB / 2.768 GB, free: 67.49 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00255/4.083, allocations: 1.884 MB / 2.77 GB, free: 65.6 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002324/4.085, allocations: 1.589 MB / 2.771 GB, free: 63.96 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.195e-05/4.085, allocations: 0 / 2.771 GB, free: 63.96 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001406/4.085, allocations: 7.938 kB / 2.771 GB, free: 63.95 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.653e-05/4.085, allocations: 44 kB / 2.772 GB, free: 63.91 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008906/4.094, allocations: 6.066 MB / 2.777 GB, free: 57.66 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00194/4.096, allocations: 1.82 MB / 2.779 GB, free: 55.76 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007557/4.097, allocations: 0.6713 MB / 2.78 GB, free: 55.09 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006269/4.098, allocations: 0.7442 MB / 2.781 GB, free: 54.2 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001047/4.099, allocations: 0.862 MB / 2.781 GB, free: 53.31 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=137): time 3.366e-06/4.099, allocations: 0 / 2.781 GB, free: 53.31 MB / 0.6042 GB Notification: Performance of matching and sorting (n=137): time 0.003821/4.102, allocations: 1.597 MB / 2.783 GB, free: 51.69 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.096e-05/4.103, allocations: 248.6 kB / 2.783 GB, free: 51.39 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002651/4.105, allocations: 2.355 MB / 2.786 GB, free: 49.03 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 0.0001924/4.105, allocations: 25.7 kB / 2.786 GB, free: 49 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003476/4.106, allocations: 0.5769 MB / 2.786 GB, free: 48.41 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002952/4.106, allocations: 441.3 kB / 2.787 GB, free: 47.97 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.321e-05/4.106, allocations: 0 / 2.787 GB, free: 47.97 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.925e-05/4.106, allocations: 349.9 kB / 2.787 GB, free: 47.62 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006111/4.107, allocations: 490.4 kB / 2.787 GB, free: 47.14 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007036/4.108, allocations: 0.6787 MB / 2.788 GB, free: 46.4 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008131/4.108, allocations: 0.5792 MB / 2.789 GB, free: 45.82 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.546e-06/4.108, allocations: 3.938 kB / 2.789 GB, free: 45.82 MB / 0.6042 GB Notification: Performance of matching and sorting (n=142) (initialization): time 0.002911/4.111, allocations: 1.527 MB / 2.79 GB, free: 44.27 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.487e-05/4.111, allocations: 7.906 kB / 2.79 GB, free: 44.26 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.006e-05/4.111, allocations: 0 / 2.79 GB, free: 44.26 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001012/4.112, allocations: 216.1 kB / 2.79 GB, free: 44.03 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001535/4.114, allocations: 311.6 kB / 2.791 GB, free: 43.73 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004484/4.118, allocations: 6.501 MB / 2.797 GB, free: 36.64 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001905/4.12, allocations: 135.2 kB / 2.797 GB, free: 36.51 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000183/4.121, allocations: 71.95 kB / 2.797 GB, free: 36.44 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (132): * Single equations (assignments): 127 * 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: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0003579/4.121, allocations: 128.8 kB / 2.797 GB, free: 36.3 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003746/4.121, allocations: 177.8 kB / 2.797 GB, free: 36.13 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004095/4.125, allocations: 2.016 MB / 2.799 GB, free: 34.09 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.129e-05/4.125, allocations: 16 kB / 2.799 GB, free: 34.07 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.514e-06/4.125, allocations: 8 kB / 2.799 GB, free: 34.06 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.283e-05/4.125, allocations: 7.969 kB / 2.799 GB, free: 34.05 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005851/4.131, allocations: 3.861 MB / 2.803 GB, free: 30.13 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.901e-06/4.131, allocations: 4 kB / 2.803 GB, free: 30.12 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001514/4.133, allocations: 331.6 kB / 2.804 GB, free: 29.8 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009143/4.134, allocations: 204.1 kB / 2.804 GB, free: 29.59 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.716e-05/4.134, allocations: 23.97 kB / 2.804 GB, free: 29.56 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003816/4.138, allocations: 6.532 MB / 2.81 GB, free: 22.45 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/4.138, allocations: 0 / 2.81 GB, free: 22.45 MB / 0.6042 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003107/4.141, allocations: 1.726 MB / 2.812 GB, free: 20.69 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001151/4.142, allocations: 0.6545 MB / 2.812 GB, free: 20.02 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003721/4.142, allocations: 7.938 kB / 2.812 GB, free: 20.01 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001392/4.144, allocations: 111.8 kB / 2.813 GB, free: 19.9 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001687/4.144, allocations: 97.11 kB / 2.813 GB, free: 19.8 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001451/4.144, allocations: 91.78 kB / 2.813 GB, free: 19.71 MB / 0.6042 GB Notification: Performance of sort global known variables: time 0.00201/4.146, allocations: 1.82 MB / 2.815 GB, free: 17.9 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.002207/4.148, allocations: 0.7559 MB / 2.815 GB, free: 17.14 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (140): * Single equations (assignments): 133 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.002247/4.151, allocations: 1.731 MB / 2.817 GB, free: 15.51 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.00222/4.153, allocations: 1.706 MB / 2.819 GB, free: 13.75 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 7.334e-06/4.153, allocations: 8.656 kB / 2.819 GB, free: 13.74 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.001319/4.154, allocations: 1.208 MB / 2.82 GB, free: 12.48 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00212/4.156, allocations: 412 kB / 2.82 GB, free: 12.09 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007014/4.163, allocations: 3.015 MB / 2.823 GB, free: 9.023 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001979/4.165, allocations: 1.871 MB / 2.825 GB, free: 7.117 MB / 0.6042 GB Notification: Performance of SimCode: time 6.01e-07/4.165, allocations: 0 / 2.825 GB, free: 7.117 MB / 0.6042 GB Notification: Performance of Templates: time 0.2232/4.389, allocations: 39.04 MB / 2.863 GB, free: 170.7 MB / 0.6042 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Sources.Validation.Outside_CpData_Directions.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Sources.Validation.Outside_CpData_Directions.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Sources.Validation.Outside_CpData_Directions.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Sources.Validation.Outside_CpData_Directions.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Sources.Validation.Outside_CpData_Directions.sim & ./IBPSA_latest_IBPSA.Fluid.Sources.Validation.Outside_CpData_Directions -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Sources.Validation.Outside_CpData_Directions.pipe 2>&1)