Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008935/0.0008935, allocations: 89.06 kB / 19.65 MB, free: 280 kB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009281/0.0009281, allocations: 165 kB / 23.02 MB, free: 1.551 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.031/1.031, allocations: 177.1 MB / 203.4 MB, free: 5.621 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.001824/0.001824, allocations: 240.8 kB / 260.2 MB, free: 12.8 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.6913/0.6913, allocations: 138.4 MB / 455.2 MB, free: 1.523 MB / 362.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate") translateModel(BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.413e-06/1.413e-06, allocations: 0 / 0.5551 GB, free: 0.5625 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.107e-05/2.248e-05, allocations: 10.31 kB / 0.5551 GB, free: 0.5508 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate): time 0.4243/0.4244, allocations: 148.2 MB / 0.6999 GB, free: 8.539 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.003847/0.4282, allocations: 3.433 MB / 0.7032 GB, free: 5.105 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003854/0.4286, allocations: 35.69 kB / 0.7032 GB, free: 5.07 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.0006271/0.4292, allocations: 166.8 kB / 0.7034 GB, free: 4.906 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.001272/0.4305, allocations: 0.8002 MB / 0.7042 GB, free: 4.102 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.001071/0.4316, allocations: 0.7066 MB / 0.7049 GB, free: 3.395 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.0008581/0.4324, allocations: 1.31 MB / 0.7062 GB, free: 2.078 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003701/0.4328, allocations: 396.9 kB / 0.7065 GB, free: 1.691 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006337/0.4334, allocations: 0.6935 MB / 0.7072 GB, free: 0.9961 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006425/0.4341, allocations: 435.3 kB / 0.7076 GB, free: 0.5781 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 5.833e-05/0.4341, allocations: 52 kB / 0.7077 GB, free: 0.5273 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007044/0.4348, allocations: 0.6584 MB / 0.7083 GB, free: 15.87 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.0001722/0.435, allocations: 231.3 kB / 0.7085 GB, free: 15.64 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.0001857/0.4352, allocations: 239.5 kB / 0.7088 GB, free: 15.41 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0009108/0.4361, allocations: 0.8762 MB / 0.7096 GB, free: 14.53 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 6.061e-06/0.4361, allocations: 8 kB / 0.7096 GB, free: 14.52 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.184e-06/0.4361, allocations: 0 / 0.7096 GB, free: 14.52 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 7.645e-06/0.4361, allocations: 0 / 0.7096 GB, free: 14.52 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 106 * Number of variables: 106 Notification: Performance of Generate backend data structure: time 0.001164/0.4373, allocations: 0.9953 MB / 0.7106 GB, free: 13.49 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.863e-05/0.4373, allocations: 8.75 kB / 0.7106 GB, free: 13.48 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007946/0.4381, allocations: 272.1 kB / 0.7109 GB, free: 13.21 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005463/0.4387, allocations: 446.5 kB / 0.7113 GB, free: 12.75 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3e-05/0.4387, allocations: 29.88 kB / 0.7113 GB, free: 12.72 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.676e-05/0.4387, allocations: 51.94 kB / 0.7114 GB, free: 12.67 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006937/0.4394, allocations: 0.7418 MB / 0.7121 GB, free: 11.82 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.369e-05/0.4395, allocations: 3.938 kB / 0.7121 GB, free: 11.82 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.029e-05/0.4395, allocations: 19.98 kB / 0.7121 GB, free: 11.8 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.762e-05/0.4395, allocations: 21 kB / 0.7121 GB, free: 11.78 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003433/0.4399, allocations: 209.8 kB / 0.7123 GB, free: 11.57 MB / 0.5261 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001989/0.4419, allocations: 1.842 MB / 0.7141 GB, free: 9.672 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002418/0.4421, allocations: 111 kB / 0.7142 GB, free: 9.551 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.724e-05/0.4422, allocations: 39.67 kB / 0.7143 GB, free: 9.508 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 2.212e-05/0.4422, allocations: 4 kB / 0.7143 GB, free: 9.504 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.537e-05/0.4422, allocations: 41.39 kB / 0.7143 GB, free: 9.453 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=11): time 1.082e-06/0.4422, allocations: 0 / 0.7143 GB, free: 9.453 MB / 0.5261 GB Notification: Performance of matching and sorting (n=11): time 0.001559/0.4438, allocations: 0.5015 MB / 0.7148 GB, free: 8.941 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.228e-05/0.4438, allocations: 77.11 kB / 0.7149 GB, free: 8.848 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003109/0.4441, allocations: 434.6 kB / 0.7153 GB, free: 8.406 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.561e-05/0.4442, allocations: 25.7 kB / 0.7153 GB, free: 8.375 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001869/0.4443, allocations: 374.4 kB / 0.7157 GB, free: 8.004 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 3.944e-05/0.4444, allocations: 39.69 kB / 0.7157 GB, free: 7.965 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001144/0.4445, allocations: 63.31 kB / 0.7158 GB, free: 7.895 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001499/0.4447, allocations: 0.5195 MB / 0.7163 GB, free: 7.363 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.62e-05/0.4447, allocations: 43.97 kB / 0.7163 GB, free: 7.32 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001497/0.4449, allocations: 174.2 kB / 0.7165 GB, free: 7.098 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002048/0.4451, allocations: 181.3 kB / 0.7167 GB, free: 6.879 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.816e-06/0.4451, allocations: 3.938 kB / 0.7167 GB, free: 6.875 MB / 0.5261 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008958/0.446, allocations: 367.2 kB / 0.717 GB, free: 6.508 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.655e-05/0.446, allocations: 8 kB / 0.717 GB, free: 6.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.446, allocations: 0 / 0.717 GB, free: 6.5 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007254/0.4467, allocations: 247.5 kB / 0.7173 GB, free: 6.254 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001554/0.4469, allocations: 55.91 kB / 0.7173 GB, free: 6.199 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001599/0.4485, allocations: 2.046 MB / 0.7193 GB, free: 4.035 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002042/0.4487, allocations: 47.75 kB / 0.7194 GB, free: 3.988 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.073e-05/0.4487, allocations: 15.94 kB / 0.7194 GB, free: 3.973 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0001172/0.4488, allocations: 168.5 kB / 0.7195 GB, free: 3.797 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.304e-05/0.4489, allocations: 51.75 kB / 0.7196 GB, free: 3.746 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.843e-05/0.449, allocations: 39.28 kB / 0.7196 GB, free: 3.707 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/0.449, allocations: 0 / 0.7196 GB, free: 3.707 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.162e-06/0.449, allocations: 0 / 0.7196 GB, free: 3.707 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.449, allocations: 0 / 0.7196 GB, free: 3.707 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009951/0.45, allocations: 0.7171 MB / 0.7203 GB, free: 2.938 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.45, allocations: 4 kB / 0.7203 GB, free: 2.934 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.129e-05/0.45, allocations: 23.92 kB / 0.7204 GB, free: 2.91 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006181/0.4507, allocations: 248.2 kB / 0.7206 GB, free: 2.664 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.503e-05/0.4507, allocations: 3.984 kB / 0.7206 GB, free: 2.66 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00127/0.4519, allocations: 1.994 MB / 0.7225 GB, free: 0.5508 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.827e-06/0.4519, allocations: 7.938 kB / 0.7226 GB, free: 0.543 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006659/0.4526, allocations: 435.2 kB / 0.723 GB, free: 88 kB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001105/0.4527, allocations: 71.72 kB / 0.723 GB, free: 16 kB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.847e-05/0.4528, allocations: 4 kB / 0.723 GB, free: 12 kB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002197/0.453, allocations: 31.97 kB / 0.7231 GB, free: 15.98 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.817e-05/0.453, allocations: 19.91 kB / 0.7231 GB, free: 15.96 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.853e-05/0.453, allocations: 15.92 kB / 0.7231 GB, free: 15.95 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0001842/0.4532, allocations: 283.1 kB / 0.7234 GB, free: 15.67 MB / 0.5417 GB Notification: Performance of sort global known variables: time 2.5e-07/0.4532, allocations: 0 / 0.7234 GB, free: 15.67 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0003962/0.4536, allocations: 191.6 kB / 0.7236 GB, free: 15.48 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002305/0.4539, allocations: 153.4 kB / 0.7237 GB, free: 15.32 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0004539/0.4543, allocations: 336.3 kB / 0.724 GB, free: 14.97 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.4543, allocations: 2.312 kB / 0.724 GB, free: 14.97 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0001847/0.4545, allocations: 246.3 kB / 0.7243 GB, free: 14.71 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000589/0.4551, allocations: 214 kB / 0.7245 GB, free: 14.53 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001654/0.4567, allocations: 0.893 MB / 0.7253 GB, free: 13.6 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8e-05/0.4568, allocations: 129.8 kB / 0.7255 GB, free: 13.45 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0001788/0.457, allocations: 76.97 kB / 0.7255 GB, free: 13.38 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.01e-05/0.4571, allocations: 28.5 kB / 0.7256 GB, free: 13.35 MB / 0.5417 GB Notification: Performance of SimCode: time 1.042e-06/0.4571, allocations: 0 / 0.7256 GB, free: 13.35 MB / 0.5417 GB Notification: Performance of Templates: time 0.01285/0.4699, allocations: 9.591 MB / 0.7349 GB, free: 4.047 MB / 0.5417 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.sim & ./BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.342150227632374]