Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001506/0.001506, allocations: 106.8 kB / 15.99 MB, free: 5.891 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001868/0.001868, allocations: 195.9 kB / 16.91 MB, free: 5.746 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.64/1.64, allocations: 205.1 MB / 222.8 MB, free: 4.66 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.683/1.683, allocations: 292.3 MB / 0.5492 GB, free: 13.57 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001526/0.001526, allocations: 68.2 kB / 0.6716 GB, free: 26.38 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2279/0.2295, allocations: 114.6 MB / 0.7835 GB, free: 13.89 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow): time 0.6457/0.8752, allocations: 188.1 MB / 0.9672 GB, free: 6.125 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0093/0.8846, allocations: 5.642 MB / 0.9727 GB, free: 5.961 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001983/0.8866, allocations: 34.31 kB / 0.9727 GB, free: 5.961 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.001606/0.8883, allocations: 0.5158 MB / 0.9732 GB, free: 5.949 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.005089/0.8934, allocations: 1.714 MB / 0.9749 GB, free: 5.855 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.003057/0.8964, allocations: 1.091 MB / 0.976 GB, free: 5.812 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.004349/0.9008, allocations: 2.916 MB / 0.9788 GB, free: 5.797 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001421/0.9022, allocations: 0.9248 MB / 0.9797 GB, free: 5.688 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002522/0.9048, allocations: 1.065 MB / 0.9808 GB, free: 5.652 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002346/0.9071, allocations: 0.9656 MB / 0.9817 GB, free: 5.52 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.000226/0.9074, allocations: 112.2 kB / 0.9818 GB, free: 5.516 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004088/0.9115, allocations: 1.498 MB / 0.9833 GB, free: 5.504 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0005456/0.912, allocations: 458.3 kB / 0.9837 GB, free: 5.461 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0009925/0.913, allocations: 0.6538 MB / 0.9843 GB, free: 5.297 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.002401/0.9154, allocations: 1.615 MB / 0.9859 GB, free: 5.18 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.9154, allocations: 0 / 0.9859 GB, free: 5.18 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.154e-06/0.9155, allocations: 5.156 kB / 0.9859 GB, free: 5.176 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 2.128e-05/0.9155, allocations: 0 / 0.9859 GB, free: 5.176 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: 213 * Number of variables: 213 Notification: Performance of Generate backend data structure: time 0.003037/0.9185, allocations: 1.507 MB / 0.9874 GB, free: 20.4 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.757e-05/0.9186, allocations: 9.938 kB / 0.9874 GB, free: 20.4 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002043/0.9206, allocations: 312.3 kB / 0.9877 GB, free: 20.34 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001317/0.922, allocations: 0.7989 MB / 0.9885 GB, free: 19.96 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.727e-05/0.922, allocations: 66.84 kB / 0.9886 GB, free: 19.94 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001298/0.9222, allocations: 87.19 kB / 0.9886 GB, free: 19.91 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001554/0.9237, allocations: 0.9127 MB / 0.9895 GB, free: 19.56 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.442e-05/0.9237, allocations: 0 / 0.9895 GB, free: 19.56 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.823e-05/0.9238, allocations: 36.81 kB / 0.9896 GB, free: 19.54 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.891e-05/0.9239, allocations: 39.33 kB / 0.9896 GB, free: 19.53 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001254/0.9251, allocations: 0.8231 MB / 0.9904 GB, free: 19.27 MB / 0.7481 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.005142/0.9303, allocations: 3.517 MB / 0.9938 GB, free: 17.19 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006758/0.931, allocations: 0.4955 MB / 0.9943 GB, free: 16.98 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003929/0.9314, allocations: 295.6 kB / 0.9946 GB, free: 16.88 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002068/0.9316, allocations: 106.2 kB / 0.9947 GB, free: 16.78 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.132e-05/0.9316, allocations: 43.67 kB / 0.9947 GB, free: 16.73 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=47): time 2.054e-06/0.9317, allocations: 0 / 0.9947 GB, free: 16.73 MB / 0.7481 GB Notification: Performance of matching and sorting (n=49): time 0.003884/0.9355, allocations: 1.915 MB / 0.9966 GB, free: 15.64 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.225e-05/0.9356, allocations: 60.84 kB / 0.9967 GB, free: 15.58 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008513/0.9365, allocations: 0.7916 MB / 0.9974 GB, free: 15.26 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 5.699e-05/0.9365, allocations: 42.7 kB / 0.9975 GB, free: 15.22 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002661/0.9368, allocations: 470.9 kB / 0.9979 GB, free: 14.86 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001272/0.9369, allocations: 173.3 kB / 0.9981 GB, free: 14.72 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001667/0.9371, allocations: 112.3 kB / 0.9982 GB, free: 14.66 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001325/0.9372, allocations: 333.5 kB / 0.9985 GB, free: 14.34 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003644/0.9376, allocations: 241.2 kB / 0.9988 GB, free: 14.27 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004676/0.9381, allocations: 369.6 kB / 0.9991 GB, free: 14.05 MB / 0.7481 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: volDyn.dynBal.medium.p = volDyn.dynBal.p_start (bou.p = volDyn.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.003301/0.9414, allocations: 1.519 MB / 1.001 GB, free: 13.42 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.9414, allocations: 0 / 1.001 GB, free: 13.42 MB / 0.7481 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001219/0.9426, allocations: 0.7863 MB / 1.001 GB, free: 13.1 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.892e-05/0.9427, allocations: 7.406 kB / 1.001 GB, free: 13.1 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.095e-06/0.9427, allocations: 2.75 kB / 1.001 GB, free: 13.1 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002927/0.943, allocations: 103.4 kB / 1.001 GB, free: 13.06 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006157/0.9436, allocations: 143.6 kB / 1.002 GB, free: 13.05 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003292/0.9469, allocations: 3.31 MB / 1.005 GB, free: 10.06 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001148/0.9481, allocations: 61.2 kB / 1.005 GB, free: 10.04 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.593e-05/0.9481, allocations: 23.41 kB / 1.005 GB, free: 10.03 MB / 0.7481 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: volDyn.dynBal.medium.p = volDyn.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (67): * Single equations (assignments): 65 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,4), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0005708/0.9487, allocations: 302.2 kB / 1.005 GB, free: 9.84 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001698/0.9489, allocations: 90.34 kB / 1.005 GB, free: 9.797 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001785/0.9491, allocations: 99.94 kB / 1.005 GB, free: 9.73 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.728e-06/0.9491, allocations: 2.125 kB / 1.005 GB, free: 9.73 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.935e-06/0.9491, allocations: 11.97 kB / 1.005 GB, free: 9.723 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001015/0.9501, allocations: 0.8392 MB / 1.006 GB, free: 9.109 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002806/0.9529, allocations: 1.797 MB / 1.008 GB, free: 8.203 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.34e-06/0.953, allocations: 2.188 kB / 1.008 GB, free: 8.203 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000577/0.9535, allocations: 127.8 kB / 1.008 GB, free: 8.199 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002315/0.9538, allocations: 66.38 kB / 1.008 GB, free: 8.18 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.09e-05/0.9538, allocations: 20.72 kB / 1.008 GB, free: 8.168 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001692/0.9555, allocations: 1.788 MB / 1.01 GB, free: 6.609 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.377e-06/0.9556, allocations: 3.312 kB / 1.01 GB, free: 6.609 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001591/0.9572, allocations: 1.095 MB / 1.011 GB, free: 6.016 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004301/0.9576, allocations: 235.2 kB / 1.011 GB, free: 5.844 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001161/0.9577, allocations: 14.53 kB / 1.011 GB, free: 5.836 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007631/0.9585, allocations: 64.33 kB / 1.011 GB, free: 5.82 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001105/0.9586, allocations: 47.89 kB / 1.011 GB, free: 5.805 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.256e-05/0.9587, allocations: 27.77 kB / 1.011 GB, free: 5.801 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0007214/0.9594, allocations: 0.5527 MB / 1.012 GB, free: 5.574 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9594, allocations: 2.5 kB / 1.012 GB, free: 5.574 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0009608/0.9604, allocations: 285.2 kB / 1.012 GB, free: 5.551 MB / 0.7481 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 2 (volDyn.dynBal.U,volDyn.dynBal.mXi[1]) * 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 (45): * Single equations (assignments): 44 * 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.0004748/0.9609, allocations: 198.8 kB / 1.012 GB, free: 5.426 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.001443/0.9623, allocations: 0.8586 MB / 1.013 GB, free: 5.016 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 4.278e-06/0.9623, allocations: 2 kB / 1.013 GB, free: 5.016 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0005439/0.9629, allocations: 416.7 kB / 1.014 GB, free: 4.816 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002443/0.9653, allocations: 0.6047 MB / 1.014 GB, free: 4.637 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002892/0.9682, allocations: 2.217 MB / 1.016 GB, free: 3.145 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006566/0.9689, allocations: 1.081 MB / 1.017 GB, free: 2.262 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002134/0.9691, allocations: 68.94 kB / 1.017 GB, free: 2.254 MB / 0.7481 GB Notification: Performance of SimCode: time 6.72e-07/0.9691, allocations: 0 / 1.017 GB, free: 2.254 MB / 0.7481 GB Notification: Performance of Templates: time 0.02894/0.9981, allocations: 21.8 MB / 1.039 GB, free: 4.086 MB / 0.7637 GB make -j1 -f Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.makefile (rm -f Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe ; mkfifo Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe >> ../files/Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.sim & ./Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe 2>&1)