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.001382/0.001382, allocations: 78.42 kB / 19.01 MB, free: 2.859 MB / 14.72 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.001484/0.001484, allocations: 159 kB / 22.26 MB, free: 5.105 MB / 14.72 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.416/1.416, allocations: 177.2 MB / 202.6 MB, free: 9.27 MB / 190.1 MB " [Timeout remaining time 178] 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.002446/0.002446, allocations: 232.7 kB / 259.2 MB, free: 0.5898 MB / 238.1 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 1.078/1.078, allocations: 138.5 MB / 454.2 MB, free: 2.043 MB / 366.1 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: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003207/0.003207, allocations: 104.3 kB / 0.6466 GB, free: 5.27 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3954/0.3986, allocations: 95.36 MB / 0.7397 GB, free: 15.22 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate): time 0.2021/0.6008, allocations: 150.8 MB / 0.8869 GB, free: 7.883 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.007249/0.608, allocations: 4.018 MB / 0.8909 GB, free: 3.855 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007698/0.6088, allocations: 27.75 kB / 0.8909 GB, free: 3.828 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0012/0.61, allocations: 330.1 kB / 0.8912 GB, free: 3.504 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.002944/0.6129, allocations: 1.05 MB / 0.8922 GB, free: 2.449 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.002356/0.6153, allocations: 0.8245 MB / 0.893 GB, free: 1.629 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.002102/0.6174, allocations: 1.324 MB / 0.8943 GB, free: 316 kB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007751/0.6182, allocations: 368 kB / 0.8947 GB, free: 15.95 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001976/0.6201, allocations: 0.9034 MB / 0.8956 GB, free: 15.04 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001321/0.6215, allocations: 458.2 kB / 0.896 GB, free: 14.59 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0001544/0.6216, allocations: 52 kB / 0.896 GB, free: 14.54 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001704/0.6233, allocations: 0.7599 MB / 0.8968 GB, free: 13.78 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0003302/0.6236, allocations: 219.3 kB / 0.897 GB, free: 13.56 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0005106/0.6242, allocations: 270.9 kB / 0.8973 GB, free: 13.3 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.002385/0.6265, allocations: 1.121 MB / 0.8983 GB, free: 12.17 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.6265, allocations: 0 / 0.8983 GB, free: 12.17 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.673e-06/0.6265, allocations: 0 / 0.8983 GB, free: 12.17 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 2.784e-05/0.6266, allocations: 0 / 0.8983 GB, free: 12.17 MB / 0.7325 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.002508/0.6291, allocations: 0.8935 MB / 0.8992 GB, free: 11.25 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.627e-05/0.6291, allocations: 12.75 kB / 0.8992 GB, free: 11.23 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001894/0.631, allocations: 263.4 kB / 0.8995 GB, free: 10.98 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001149/0.6322, allocations: 446.5 kB / 0.8999 GB, free: 10.51 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.044e-05/0.6322, allocations: 33 kB / 0.8999 GB, free: 10.48 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.513e-05/0.6323, allocations: 44 kB / 0.9 GB, free: 10.44 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001756/0.6341, allocations: 0.8868 MB / 0.9008 GB, free: 9.457 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.606e-05/0.6341, allocations: 0 / 0.9008 GB, free: 9.457 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.746e-05/0.6342, allocations: 24 kB / 0.9009 GB, free: 9.434 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.478e-05/0.6342, allocations: 17 kB / 0.9009 GB, free: 9.414 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001587/0.6358, allocations: 0.5503 MB / 0.9014 GB, free: 8.867 MB / 0.7325 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.00435/0.6401, allocations: 1.785 MB / 0.9032 GB, free: 7.023 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001018/0.6411, allocations: 278.3 kB / 0.9034 GB, free: 6.742 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005907/0.6417, allocations: 160.7 kB / 0.9036 GB, free: 6.582 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.971e-05/0.6418, allocations: 0 / 0.9036 GB, free: 6.582 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.705e-05/0.6418, allocations: 46.44 kB / 0.9036 GB, free: 6.527 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=11): time 3.006e-06/0.6418, allocations: 7.984 kB / 0.9036 GB, free: 6.52 MB / 0.7325 GB Notification: Performance of matching and sorting (n=11): time 0.005557/0.6474, allocations: 1.001 MB / 0.9046 GB, free: 5.508 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.255e-05/0.6474, allocations: 77.11 kB / 0.9047 GB, free: 5.414 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006435/0.6481, allocations: 425.8 kB / 0.9051 GB, free: 4.988 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 6.747e-05/0.6481, allocations: 29.7 kB / 0.9051 GB, free: 4.953 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002768/0.6484, allocations: 319.6 kB / 0.9054 GB, free: 4.637 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 5.803e-05/0.6485, allocations: 39.69 kB / 0.9055 GB, free: 4.598 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001436/0.6486, allocations: 65.64 kB / 0.9055 GB, free: 4.527 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001904/0.6488, allocations: 346.8 kB / 0.9059 GB, free: 4.18 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006631/0.6495, allocations: 187.8 kB / 0.906 GB, free: 3.996 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007461/0.6502, allocations: 296.2 kB / 0.9063 GB, free: 3.668 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001248/0.6515, allocations: 403.2 kB / 0.9067 GB, free: 3.246 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.347e-06/0.6515, allocations: 0 / 0.9067 GB, free: 3.246 MB / 0.7325 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.00289/0.6544, allocations: 0.7242 MB / 0.9074 GB, free: 2.512 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.068e-05/0.6544, allocations: 10.34 kB / 0.9074 GB, free: 2.504 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.793e-06/0.6544, allocations: 0 / 0.9074 GB, free: 2.504 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007096/0.6551, allocations: 188.7 kB / 0.9076 GB, free: 2.316 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003886/0.6555, allocations: 67.94 kB / 0.9077 GB, free: 2.25 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004357/0.6598, allocations: 2.086 MB / 0.9097 GB, free: 60 kB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006262/0.6605, allocations: 63.98 kB / 0.9098 GB, free: 15.99 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.174e-05/0.6605, allocations: 12.19 kB / 0.9098 GB, free: 15.98 MB / 0.7481 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.0002999/0.6608, allocations: 185.8 kB / 0.91 GB, free: 15.79 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001131/0.6609, allocations: 35.77 kB / 0.91 GB, free: 15.75 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001006/0.661, allocations: 59.14 kB / 0.91 GB, free: 15.7 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.013e-06/0.661, allocations: 4 kB / 0.9101 GB, free: 15.7 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.224e-06/0.661, allocations: 3.75 kB / 0.9101 GB, free: 15.7 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.661, allocations: 0 / 0.9101 GB, free: 15.7 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003305/0.6643, allocations: 0.992 MB / 0.911 GB, free: 14.66 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.6643, allocations: 0 / 0.911 GB, free: 14.66 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002544/0.6646, allocations: 35.95 kB / 0.9111 GB, free: 14.62 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005919/0.6652, allocations: 180.8 kB / 0.9112 GB, free: 14.44 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.564e-05/0.6652, allocations: 8 kB / 0.9112 GB, free: 14.43 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004019/0.6692, allocations: 2.034 MB / 0.9132 GB, free: 12.3 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.428e-06/0.6692, allocations: 8.094 kB / 0.9132 GB, free: 12.29 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002706/0.6719, allocations: 0.6847 MB / 0.9139 GB, free: 11.58 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002553/0.6722, allocations: 95.59 kB / 0.914 GB, free: 11.48 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.426e-05/0.6723, allocations: 0 / 0.914 GB, free: 11.48 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005893/0.6728, allocations: 44.77 kB / 0.914 GB, free: 11.44 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.232e-05/0.6729, allocations: 20.06 kB / 0.9141 GB, free: 11.42 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.091e-05/0.673, allocations: 19.92 kB / 0.9141 GB, free: 11.4 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0003756/0.6733, allocations: 291.1 kB / 0.9143 GB, free: 11.12 MB / 0.7481 GB Notification: Performance of sort global known variables: time 8e-08/0.6733, allocations: 0 / 0.9143 GB, free: 11.12 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0006907/0.674, allocations: 191.6 kB / 0.9145 GB, free: 10.93 MB / 0.7481 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.0003053/0.6743, allocations: 168.8 kB / 0.9147 GB, free: 10.76 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.001705/0.676, allocations: 0.5179 MB / 0.9152 GB, free: 10.23 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.676, allocations: 0 / 0.9152 GB, free: 10.23 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0008016/0.6768, allocations: 295 kB / 0.9155 GB, free: 9.93 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001088/0.6779, allocations: 194.5 kB / 0.9157 GB, free: 9.742 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003306/0.6812, allocations: 1.061 MB / 0.9167 GB, free: 8.641 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003206/0.6816, allocations: 268 kB / 0.917 GB, free: 8.352 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0003288/0.6819, allocations: 87.23 kB / 0.917 GB, free: 8.27 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000102/0.682, allocations: 36.48 kB / 0.9171 GB, free: 8.234 MB / 0.7481 GB Notification: Performance of SimCode: time 5.71e-07/0.682, allocations: 0 / 0.9171 GB, free: 8.234 MB / 0.7481 GB Notification: Performance of Templates: time 0.01805/0.7, allocations: 9.64 MB / 0.9265 GB, free: 14.82 MB / 0.7637 GB " [Timeout remaining time 659] 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=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.449173167347908] Failed to read output from testmodel.py, exit status != 0: 0.709353007376194 0.7240131 0.09410486800000001 Calling exit ...