Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.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.Examples.MixingVolumeMoistAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir") translateModel(BuildSysPro.IBPSA.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir") [: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.7149/0.7149, allocations: 127.4 MB / 134.6 MB, free: 4.078 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.001265/0.001265, allocations: 181.3 kB / 164.4 MB, free: 6.887 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.702/1.702, allocations: 205.1 MB / 399.1 MB, free: 6.148 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.0009502/0.0009502, allocations: 90.73 kB / 476.3 MB, free: 8.906 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 8.576e-06/8.596e-06, allocations: 4 kB / 0.546 GB, free: 42.76 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1915/0.1915, allocations: 76.75 MB / 0.6209 GB, free: 13.94 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.67/6.862, allocations: 2.204 GB / 2.825 GB, free: 176.4 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002955/6.862, allocations: 94.16 kB / 2.825 GB, free: 176.4 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.56/9.422, allocations: 0.6169 GB / 3.441 GB, free: 88.32 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 0.0002823/9.423, allocations: 46.98 kB / 3.442 GB, free: 88.31 MB / 0.6667 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 257 * Number of variables: 257 Notification: Performance of Generate backend data structure: time 0.00732/9.43, allocations: 1.65 MB / 3.443 GB, free: 87.06 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 6.557e-05/9.43, allocations: 9.688 kB / 3.443 GB, free: 87.06 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003794/9.434, allocations: 398.5 kB / 3.444 GB, free: 86.89 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004215/9.438, allocations: 0.9591 MB / 3.444 GB, free: 86.2 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001316/9.438, allocations: 36.67 kB / 3.444 GB, free: 86.19 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000599/9.439, allocations: 73.19 kB / 3.445 GB, free: 86.18 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003397/9.442, allocations: 0.7265 MB / 3.445 GB, free: 85.86 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003253/9.446, allocations: 0.9638 MB / 3.446 GB, free: 85.25 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.389e-05/9.446, allocations: 1.031 kB / 3.446 GB, free: 85.25 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.718e-05/9.446, allocations: 5.938 kB / 3.446 GB, free: 85.25 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.059e-05/9.446, allocations: 35.31 kB / 3.446 GB, free: 85.24 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01161/9.458, allocations: 5.068 MB / 3.451 GB, free: 80.92 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002158/9.46, allocations: 0.6784 MB / 3.452 GB, free: 80.61 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008343/9.461, allocations: 317.2 kB / 3.452 GB, free: 80.47 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009438/9.462, allocations: 406.3 kB / 3.453 GB, free: 80.07 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.327e-05/9.462, allocations: 39.34 kB / 3.453 GB, free: 80.02 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=69): time 6.281e-06/9.462, allocations: 0 / 3.453 GB, free: 80.02 MB / 0.6667 GB Notification: Performance of matching and sorting (n=69): time 0.00382/9.466, allocations: 0.7932 MB / 3.453 GB, free: 79.64 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001365/9.466, allocations: 168.9 kB / 3.454 GB, free: 79.45 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002103/9.468, allocations: 0.5964 MB / 3.454 GB, free: 79.11 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0001932/9.468, allocations: 27.95 kB / 3.454 GB, free: 79.07 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005571/9.469, allocations: 421.9 kB / 3.455 GB, free: 78.71 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003596/9.469, allocations: 229.7 kB / 3.455 GB, free: 78.52 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.223e-05/9.469, allocations: 4.344 kB / 3.455 GB, free: 78.52 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001877/9.469, allocations: 341.6 kB / 3.455 GB, free: 78.18 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007397/9.47, allocations: 245 kB / 3.455 GB, free: 78.07 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00112/9.471, allocations: 458.1 kB / 3.456 GB, free: 77.71 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001261/9.472, allocations: 392.8 kB / 3.456 GB, free: 77.5 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.266e-05/9.472, allocations: 1.812 kB / 3.456 GB, free: 77.5 MB / 0.6667 GB Notification: Performance of matching and sorting (n=93) (initialization): time 0.002809/9.475, allocations: 0.8571 MB / 3.457 GB, free: 77.08 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.000997/9.476, allocations: 1.574 MB / 3.459 GB, free: 75.4 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.997e-05/9.476, allocations: 4.094 kB / 3.459 GB, free: 75.4 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.178e-05/9.476, allocations: 8.031 kB / 3.459 GB, free: 75.4 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002159/9.479, allocations: 272 kB / 3.459 GB, free: 75.33 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001659/9.48, allocations: 1.354 MB / 3.46 GB, free: 73.96 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001558/9.482, allocations: 110 kB / 3.46 GB, free: 73.9 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001519/9.482, allocations: 33.89 kB / 3.46 GB, free: 73.89 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.55e-05/9.482, allocations: 4.125 kB / 3.46 GB, free: 73.89 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001885/9.484, allocations: 0.7012 MB / 3.461 GB, free: 73.57 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.113e-05/9.484, allocations: 4.219 kB / 3.461 GB, free: 73.57 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.928e-05/9.484, allocations: 8.219 kB / 3.461 GB, free: 73.57 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001747/9.486, allocations: 249.1 kB / 3.461 GB, free: 73.51 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001428/9.487, allocations: 1.357 MB / 3.462 GB, free: 72.13 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001468/9.489, allocations: 77.98 kB / 3.463 GB, free: 72.09 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001347/9.489, allocations: 44.33 kB / 3.463 GB, free: 72.06 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 6 (senLatEnt.i_x,senLatEnt1.i_x,PI1.I.trigger_internal,PI.I.trigger_internal,QLat.local_reset,QSen.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (93): * Single equations (assignments): 90 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * 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: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003495/9.489, allocations: 131 kB / 3.463 GB, free: 71.93 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003853/9.49, allocations: 118.4 kB / 3.463 GB, free: 71.81 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002104/9.492, allocations: 0.8074 MB / 3.464 GB, free: 70.99 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.798e-06/9.492, allocations: 8 kB / 3.464 GB, free: 70.98 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/9.492, allocations: 0 / 3.464 GB, free: 70.98 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001474/9.493, allocations: 0.7649 MB / 3.464 GB, free: 70.18 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004587/9.498, allocations: 1.88 MB / 3.466 GB, free: 68.25 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.711e-06/9.498, allocations: 0 / 3.466 GB, free: 68.25 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008934/9.499, allocations: 164 kB / 3.466 GB, free: 68.09 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004821/9.499, allocations: 40.83 kB / 3.466 GB, free: 68.05 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.17e-05/9.499, allocations: 8 kB / 3.466 GB, free: 68.04 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001391/9.501, allocations: 1.331 MB / 3.468 GB, free: 66.59 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.041e-06/9.501, allocations: 0 / 3.468 GB, free: 66.59 MB / 0.6667 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00246/9.503, allocations: 1.376 MB / 3.469 GB, free: 65.14 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008416/9.504, allocations: 255.6 kB / 3.469 GB, free: 64.88 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003328/9.504, allocations: 11.98 kB / 3.469 GB, free: 64.86 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001327/9.506, allocations: 71.84 kB / 3.469 GB, free: 64.79 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001232/9.506, allocations: 40.59 kB / 3.469 GB, free: 64.75 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.72e-05/9.506, allocations: 23.98 kB / 3.469 GB, free: 64.73 MB / 0.6667 GB Notification: Performance of sort global known variables: time 0.001044/9.507, allocations: 460.1 kB / 3.47 GB, free: 64.27 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.004075/9.511, allocations: 0.666 MB / 3.471 GB, free: 63.6 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 7 (vol1.dynBal.U,vol1.dynBal.m,vol1.dynBal.mXi[1],QSen.y,QLat.y,PI.I.y,PI1.I.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (69): * Single equations (assignments): 68 * 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 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.004543/9.516, allocations: 2.05 MB / 3.473 GB, free: 61.77 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.004345/9.52, allocations: 1.323 MB / 3.474 GB, free: 60.42 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 9.187e-06/9.52, allocations: 3.938 kB / 3.474 GB, free: 60.42 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0009526/9.521, allocations: 436 kB / 3.474 GB, free: 59.98 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002946/9.524, allocations: 414.9 kB / 3.475 GB, free: 59.58 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005433/9.529, allocations: 1.709 MB / 3.476 GB, free: 57.84 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001465/9.531, allocations: 1.261 MB / 3.478 GB, free: 56.54 MB / 0.6667 GB Notification: Performance of SimCode: time 2.425e-06/9.531, allocations: 0 / 3.478 GB, free: 56.54 MB / 0.6667 GB Notification: Performance of Templates: time 0.05592/9.587, allocations: 31.03 MB / 3.508 GB, free: 25.82 MB / 0.6667 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe 2>&1)