Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatMoisturePort.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/IDEAS 3.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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatMoisturePort,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatMoisturePort") translateModel(IDEAS.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatMoisturePort,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.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/Complex 4.0.0+maint.om/package.mo): time 0.001848/0.001849, allocations: 180.8 kB / 7.459 MB, free: 2.512 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.5897/0.5897, allocations: 133.5 MB / 141.4 MB, free: 15.63 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.119/1.119, allocations: 221.3 MB / 395 MB, free: 10.16 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000897/0.000897, allocations: 108.4 kB / 477.8 MB, free: 10.74 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 5.12e-06/5.26e-06, allocations: 0 / 0.5528 GB, free: 89.25 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1117/0.1117, allocations: 82.31 MB / 0.6332 GB, free: 14.05 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.285/3.397, allocations: 2.129 GB / 2.762 GB, free: 94.5 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002143/3.397, allocations: 95.94 kB / 2.762 GB, free: 94.41 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.941/5.339, allocations: 0.7135 GB / 3.476 GB, free: 127.7 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 9.415e-05/5.339, allocations: 40.11 kB / 3.476 GB, free: 127.7 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 262 * Number of variables: 262 Notification: Performance of Generate backend data structure: time 0.002227/5.341, allocations: 1.545 MB / 3.477 GB, free: 127 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.374e-05/5.341, allocations: 10.62 kB / 3.477 GB, free: 127 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002778/5.344, allocations: 0.5122 MB / 3.478 GB, free: 126.9 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002113/5.346, allocations: 1.398 MB / 3.479 GB, free: 126.6 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.872e-05/5.346, allocations: 35.78 kB / 3.479 GB, free: 126.6 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001352/5.346, allocations: 66.78 kB / 3.479 GB, free: 126.6 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001489/5.348, allocations: 1.226 MB / 3.48 GB, free: 126.6 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001502/5.349, allocations: 1.179 MB / 3.481 GB, free: 126.6 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.792e-05/5.349, allocations: 7.688 kB / 3.481 GB, free: 126.6 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.811e-05/5.349, allocations: 0 / 3.481 GB, free: 126.6 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.451e-05/5.349, allocations: 45.8 kB / 3.481 GB, free: 126.6 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004725/5.354, allocations: 4.939 MB / 3.486 GB, free: 124.4 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001073/5.355, allocations: 1.015 MB / 3.487 GB, free: 124.4 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005541/5.356, allocations: 0.5939 MB / 3.488 GB, free: 124.4 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002631/5.356, allocations: 205 kB / 3.488 GB, free: 124.2 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.723e-05/5.356, allocations: 42.53 kB / 3.488 GB, free: 124.2 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=81): time 2.004e-06/5.356, allocations: 0 / 3.488 GB, free: 124.2 MB / 0.6823 GB Notification: Performance of matching and sorting (n=84): time 0.004057/5.36, allocations: 2.651 MB / 3.491 GB, free: 123.6 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.85e-05/5.36, allocations: 65.12 kB / 3.491 GB, free: 123.6 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006923/5.361, allocations: 0.7979 MB / 3.492 GB, free: 123.4 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 5.565e-05/5.361, allocations: 25.7 kB / 3.492 GB, free: 123.4 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001355/5.361, allocations: 406.2 kB / 3.492 GB, free: 123.2 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002273/5.361, allocations: 290.9 kB / 3.492 GB, free: 123 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.607e-05/5.361, allocations: 0 / 3.492 GB, free: 123 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 5.33e-05/5.361, allocations: 341.6 kB / 3.493 GB, free: 122.7 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004516/5.362, allocations: 460 kB / 3.493 GB, free: 122.7 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005027/5.362, allocations: 0.5989 MB / 3.494 GB, free: 122.5 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005936/5.363, allocations: 0.565 MB / 3.494 GB, free: 122.5 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/5.363, allocations: 0 / 3.494 GB, free: 122.5 MB / 0.6823 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001791/5.365, allocations: 1.221 MB / 3.495 GB, free: 122.4 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001158/5.365, allocations: 0.7921 MB / 3.496 GB, free: 121.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.795e-06/5.365, allocations: 5.938 kB / 3.496 GB, free: 121.6 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002069/5.365, allocations: 70.08 kB / 3.496 GB, free: 121.6 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009757/5.366, allocations: 187 kB / 3.496 GB, free: 121.6 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00167/5.368, allocations: 2.912 MB / 3.499 GB, free: 119.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001134/5.369, allocations: 108.2 kB / 3.499 GB, free: 119.1 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.339e-05/5.369, allocations: 27.53 kB / 3.499 GB, free: 119.1 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 5.11e-06/5.369, allocations: 4.062 kB / 3.499 GB, free: 119.1 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001418/5.37, allocations: 1.089 MB / 3.5 GB, free: 119.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.608e-06/5.37, allocations: 1.344 kB / 3.5 GB, free: 119.1 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001591/5.371, allocations: 74.42 kB / 3.5 GB, free: 119.1 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006813/5.371, allocations: 171.9 kB / 3.501 GB, free: 119.1 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001125/5.372, allocations: 1.72 MB / 3.502 GB, free: 117.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001098/5.373, allocations: 104.7 kB / 3.502 GB, free: 117.7 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.488e-05/5.374, allocations: 26.09 kB / 3.502 GB, free: 117.7 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (92): * Single equations (assignments): 89 * 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.0001595/5.374, allocations: 120.7 kB / 3.503 GB, free: 117.6 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001572/5.374, allocations: 110.4 kB / 3.503 GB, free: 117.6 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001606/5.376, allocations: 1.203 MB / 3.504 GB, free: 117.2 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.273e-06/5.376, allocations: 7.531 kB / 3.504 GB, free: 117.2 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/5.376, allocations: 6.031 kB / 3.504 GB, free: 117.2 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001277/5.377, allocations: 1.271 MB / 3.505 GB, free: 116.6 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003501/5.38, allocations: 2.732 MB / 3.508 GB, free: 115.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/5.38, allocations: 3.781 kB / 3.508 GB, free: 115.5 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001051/5.381, allocations: 231.5 kB / 3.508 GB, free: 115.5 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000161/5.382, allocations: 68.19 kB / 3.508 GB, free: 115.5 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.396e-05/5.382, allocations: 17.7 kB / 3.508 GB, free: 115.5 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001388/5.383, allocations: 2.898 MB / 3.511 GB, free: 112.9 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.527e-06/5.383, allocations: 4.781 kB / 3.511 GB, free: 112.9 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002061/5.385, allocations: 2.123 MB / 3.513 GB, free: 112 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004986/5.386, allocations: 331.5 kB / 3.513 GB, free: 111.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001584/5.386, allocations: 12.39 kB / 3.513 GB, free: 111.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009281/5.387, allocations: 88.39 kB / 3.513 GB, free: 111.8 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.014e-05/5.387, allocations: 51.47 kB / 3.513 GB, free: 111.7 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.771e-05/5.387, allocations: 29.33 kB / 3.513 GB, free: 111.7 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.0006388/5.388, allocations: 0.6311 MB / 3.514 GB, free: 111.5 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001957/5.389, allocations: 0.7299 MB / 3.515 GB, free: 111.4 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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 (79): * Single equations (assignments): 76 * 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.001626/5.391, allocations: 1.525 MB / 3.516 GB, free: 111 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.002666/5.394, allocations: 1.907 MB / 3.518 GB, free: 110.4 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.468e-06/5.394, allocations: 1.125 kB / 3.518 GB, free: 110.4 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.000827/5.395, allocations: 0.6733 MB / 3.519 GB, free: 110.1 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003067/5.398, allocations: 0.7044 MB / 3.519 GB, free: 110 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003605/5.401, allocations: 2.715 MB / 3.522 GB, free: 109.2 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001106/5.402, allocations: 1.574 MB / 3.524 GB, free: 108.3 MB / 0.6823 GB Notification: Performance of SimCode: time 5.21e-07/5.402, allocations: 0.75 kB / 3.524 GB, free: 108.3 MB / 0.6823 GB Notification: Performance of Templates: time 0.04467/5.447, allocations: 37.74 MB / 3.56 GB, free: 75.78 MB / 0.6823 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatMoisturePort.makefile (rm -f IDEAS_dev_IDEAS.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatMoisturePort.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatMoisturePort.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatMoisturePort.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatMoisturePort.sim & ./IDEAS_dev_IDEAS.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatMoisturePort -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatMoisturePort.pipe 2>&1)