Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatMoisturePort.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.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatMoisturePort,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatMoisturePort") translateModel(BuildSysPro.IBPSA.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatMoisturePort,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatMoisturePort") [: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.6924/0.6924, allocations: 127.4 MB / 134.6 MB, free: 4.105 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.001242/0.001242, allocations: 181.3 kB / 164.4 MB, free: 6.902 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.964/1.964, allocations: 205.1 MB / 399.1 MB, free: 6.184 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.001406/0.001406, allocations: 85.95 kB / 476.3 MB, free: 8.938 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 8.677e-06/8.707e-06, allocations: 0 / 0.546 GB, free: 42.79 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2223/0.2223, allocations: 76.75 MB / 0.6209 GB, free: 13.96 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.699/6.921, allocations: 2.396 GB / 3.017 GB, free: 42.38 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003659/6.922, allocations: 96.92 kB / 3.017 GB, free: 42.29 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.858/9.78, allocations: 0.7026 GB / 3.72 GB, free: 53.44 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 0.000226/9.781, allocations: 42.91 kB / 3.72 GB, free: 53.4 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 268 * Number of variables: 268 Notification: Performance of Generate backend data structure: time 0.006032/9.787, allocations: 1.538 MB / 3.721 GB, free: 51.82 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 6.476e-05/9.787, allocations: 12.03 kB / 3.721 GB, free: 51.81 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004254/9.791, allocations: 0.5025 MB / 3.722 GB, free: 51.3 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003366/9.794, allocations: 1.44 MB / 3.723 GB, free: 49.84 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.948e-05/9.794, allocations: 39.98 kB / 3.723 GB, free: 49.8 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001695/9.795, allocations: 67.91 kB / 3.723 GB, free: 49.74 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002169/9.797, allocations: 1.238 MB / 3.724 GB, free: 48.5 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00203/9.799, allocations: 1.211 MB / 3.726 GB, free: 47.26 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.148e-05/9.799, allocations: 3.938 kB / 3.726 GB, free: 47.25 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001127/9.799, allocations: 0 / 3.726 GB, free: 47.25 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.832e-05/9.799, allocations: 50.08 kB / 3.726 GB, free: 47.2 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006513/9.806, allocations: 4.932 MB / 3.73 GB, free: 41.95 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001068/9.807, allocations: 1.012 MB / 3.731 GB, free: 40.94 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005884/9.807, allocations: 0.5753 MB / 3.732 GB, free: 40.36 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003892/9.808, allocations: 287.1 kB / 3.732 GB, free: 40.03 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.154e-05/9.808, allocations: 43.22 kB / 3.732 GB, free: 39.98 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=79): time 3.366e-06/9.808, allocations: 4 kB / 3.732 GB, free: 39.98 MB / 0.6355 GB Notification: Performance of matching and sorting (n=82): time 0.005458/9.813, allocations: 2.69 MB / 3.735 GB, free: 37.21 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.026e-05/9.813, allocations: 60.06 kB / 3.735 GB, free: 37.14 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009227/9.814, allocations: 0.7866 MB / 3.736 GB, free: 36.33 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 7.295e-05/9.814, allocations: 25.7 kB / 3.736 GB, free: 36.3 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001888/9.815, allocations: 419.8 kB / 3.736 GB, free: 35.88 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002312/9.815, allocations: 275.8 kB / 3.736 GB, free: 35.61 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.951e-05/9.815, allocations: 3.75 kB / 3.736 GB, free: 35.61 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 9.188e-05/9.815, allocations: 342 kB / 3.737 GB, free: 35.27 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004825/9.815, allocations: 445.3 kB / 3.737 GB, free: 34.83 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005586/9.816, allocations: 0.5746 MB / 3.738 GB, free: 34.21 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005941/9.817, allocations: 0.5509 MB / 3.738 GB, free: 33.66 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/9.817, allocations: 4 kB / 3.738 GB, free: 33.65 MB / 0.6355 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001564/9.818, allocations: 1.277 MB / 3.74 GB, free: 32.35 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001729/9.818, allocations: 0.6037 MB / 3.74 GB, free: 31.7 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.237e-06/9.818, allocations: 4 kB / 3.74 GB, free: 31.69 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000186/9.819, allocations: 64.83 kB / 3.74 GB, free: 31.62 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002345/9.821, allocations: 355.5 kB / 3.741 GB, free: 31.28 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002843/9.824, allocations: 2.955 MB / 3.743 GB, free: 28.16 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001864/9.826, allocations: 103.7 kB / 3.743 GB, free: 28.06 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.227e-05/9.826, allocations: 28.05 kB / 3.744 GB, free: 28.03 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.08e-05/9.826, allocations: 7.938 kB / 3.744 GB, free: 28.02 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001536/9.827, allocations: 1.125 MB / 3.745 GB, free: 26.88 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.081e-06/9.827, allocations: 3.906 kB / 3.745 GB, free: 26.87 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001287/9.827, allocations: 61.02 kB / 3.745 GB, free: 26.81 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006678/9.828, allocations: 159.8 kB / 3.745 GB, free: 26.65 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001387/9.83, allocations: 1.633 MB / 3.746 GB, free: 24.9 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001679/9.831, allocations: 103.6 kB / 3.747 GB, free: 24.8 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.392e-05/9.831, allocations: 24.06 kB / 3.747 GB, free: 24.77 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (90): * Single equations (assignments): 87 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003611/9.832, allocations: 120.8 kB / 3.747 GB, free: 24.65 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002215/9.832, allocations: 114.7 kB / 3.747 GB, free: 24.54 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004363/9.832, allocations: 142.5 kB / 3.747 GB, free: 24.39 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.133e-06/9.832, allocations: 8 kB / 3.747 GB, free: 24.38 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.031e-05/9.832, allocations: 4 kB / 3.747 GB, free: 24.38 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001485/9.834, allocations: 1.315 MB / 3.748 GB, free: 22.98 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004293/9.838, allocations: 2.748 MB / 3.751 GB, free: 20.16 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.751e-06/9.838, allocations: 4 kB / 3.751 GB, free: 20.16 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002437/9.841, allocations: 427.7 kB / 3.751 GB, free: 19.74 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001457/9.841, allocations: 56.83 kB / 3.751 GB, free: 19.68 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.25e-05/9.841, allocations: 15.98 kB / 3.751 GB, free: 19.66 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004648/9.846, allocations: 4.442 MB / 3.756 GB, free: 14.89 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.33e-06/9.846, allocations: 4 kB / 3.756 GB, free: 14.89 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002387/9.848, allocations: 2.111 MB / 3.758 GB, free: 12.68 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008333/9.849, allocations: 335.7 kB / 3.758 GB, free: 12.34 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000174/9.849, allocations: 15.92 kB / 3.758 GB, free: 12.32 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001152/9.85, allocations: 99.73 kB / 3.758 GB, free: 12.22 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.564e-05/9.85, allocations: 44.5 kB / 3.758 GB, free: 12.18 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.194e-05/9.85, allocations: 35.55 kB / 3.758 GB, free: 12.15 MB / 0.6355 GB Notification: Performance of sort global known variables: time 0.0007865/9.851, allocations: 0.6204 MB / 3.759 GB, free: 11.52 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.00241/9.854, allocations: 0.7039 MB / 3.76 GB, free: 10.81 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 7 (vol[1].dynBal.U,vol[1].dynBal.mXi[1],vol[2].dynBal.U,vol[2].dynBal.mXi[1],vol[3].dynBal.U,vol[3].dynBal.m,vol[3].dynBal.mXi[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (77): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002247/9.856, allocations: 1.546 MB / 3.761 GB, free: 9.32 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.004558/9.86, allocations: 2.089 MB / 3.763 GB, free: 7.211 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 7.103e-06/9.86, allocations: 0 / 3.763 GB, free: 7.211 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.002774/9.863, allocations: 0.9218 MB / 3.764 GB, free: 6.281 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003844/9.867, allocations: 0.6973 MB / 3.765 GB, free: 5.59 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004739/9.872, allocations: 2.702 MB / 3.767 GB, free: 2.82 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001208/9.873, allocations: 1.586 MB / 3.769 GB, free: 1.211 MB / 0.6355 GB Notification: Performance of SimCode: time 2.164e-06/9.873, allocations: 0 / 3.769 GB, free: 1.211 MB / 0.6355 GB Notification: Performance of Templates: time 0.4834/10.36, allocations: 37.84 MB / 3.806 GB, free: 180.7 MB / 0.6511 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatMoisturePort.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatMoisturePort.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatMoisturePort.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatMoisturePort.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatMoisturePort.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatMoisturePort -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatMoisturePort.pipe 2>&1)