Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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 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: "" <> buildModelFMU(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlowPrescribedHeatFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlowPrescribedHeatFlowRate",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004925/0.004925, allocations: 101.5 kB / 15.73 MB, free: 6.031 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.001083/0.001083, allocations: 188.6 kB / 16.67 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.278/1.278, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002126/0.002126, allocations: 274.1 kB / 290.8 MB, free: 1.922 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9067/0.9067, allocations: 169.3 MB / 0.4983 GB, free: 13.81 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001812/0.001812, allocations: 104.1 kB / 0.681 GB, free: 15.94 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1576/0.1595, allocations: 86.98 MB / 0.7659 GB, free: 8.883 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate): time 0.5552/0.7147, allocations: 190.6 MB / 0.9521 GB, free: 4.426 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.00928/0.724, allocations: 5.734 MB / 0.9577 GB, free: 14.68 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001147/0.7252, allocations: 43.75 kB / 0.9577 GB, free: 14.64 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001408/0.7266, allocations: 0.5708 MB / 0.9583 GB, free: 14.06 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.003589/0.7302, allocations: 1.625 MB / 0.9598 GB, free: 12.43 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.002807/0.7331, allocations: 1.204 MB / 0.961 GB, free: 11.24 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.002913/0.736, allocations: 2.581 MB / 0.9635 GB, free: 8.652 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001057/0.7371, allocations: 0.8678 MB / 0.9644 GB, free: 7.773 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001597/0.7387, allocations: 1.059 MB / 0.9654 GB, free: 6.711 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001411/0.7401, allocations: 0.8137 MB / 0.9662 GB, free: 5.902 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001266/0.7402, allocations: 96 kB / 0.9663 GB, free: 5.809 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002575/0.7428, allocations: 1.543 MB / 0.9678 GB, free: 4.262 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.00037/0.7432, allocations: 406.9 kB / 0.9682 GB, free: 3.863 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0005486/0.7437, allocations: 0.5833 MB / 0.9688 GB, free: 3.277 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.002305/0.746, allocations: 2.033 MB / 0.9708 GB, free: 1.238 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.578e-06/0.7461, allocations: 0 / 0.9708 GB, free: 1.238 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.403e-06/0.7461, allocations: 0 / 0.9708 GB, free: 1.238 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.187e-05/0.7461, allocations: 0 / 0.9708 GB, free: 1.238 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 187 * Number of variables: 187 Notification: Performance of Generate backend data structure: time 0.002082/0.7482, allocations: 1.43 MB / 0.9722 GB, free: 15.76 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.945e-05/0.7482, allocations: 12.03 kB / 0.9722 GB, free: 15.75 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001509/0.7484, allocations: 126.6 kB / 0.9723 GB, free: 15.61 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0025/0.7509, allocations: 419 kB / 0.9727 GB, free: 15.2 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001313/0.7522, allocations: 0.7961 MB / 0.9735 GB, free: 14.37 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.878e-05/0.7523, allocations: 61.94 kB / 0.9735 GB, free: 14.31 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001158/0.7524, allocations: 72 kB / 0.9736 GB, free: 14.24 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001727/0.7541, allocations: 0.9866 MB / 0.9746 GB, free: 13.23 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.992e-05/0.7542, allocations: 0 / 0.9746 GB, free: 13.23 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.552e-05/0.7542, allocations: 35.98 kB / 0.9746 GB, free: 13.2 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.609e-05/0.7543, allocations: 30 kB / 0.9746 GB, free: 13.17 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001766/0.7561, allocations: 0.8704 MB / 0.9755 GB, free: 12.29 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.005535/0.7616, allocations: 3.475 MB / 0.9789 GB, free: 8.641 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001447/0.7631, allocations: 0.5976 MB / 0.9794 GB, free: 8.035 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007154/0.7638, allocations: 347.9 kB / 0.9798 GB, free: 7.695 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001796/0.764, allocations: 101.4 kB / 0.9799 GB, free: 7.578 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.606e-05/0.764, allocations: 43.16 kB / 0.9799 GB, free: 7.527 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=39): time 1.231e-05/0.764, allocations: 3.984 kB / 0.9799 GB, free: 7.523 MB / 0.7325 GB Notification: Performance of matching and sorting (n=41): time 0.007689/0.7717, allocations: 2.394 MB / 0.9823 GB, free: 5.051 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.139e-05/0.7718, allocations: 55.41 kB / 0.9823 GB, free: 4.984 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000927/0.7727, allocations: 0.794 MB / 0.9831 GB, free: 4.184 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 5.914e-05/0.7728, allocations: 37.7 kB / 0.9831 GB, free: 4.141 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.000291/0.7731, allocations: 439.8 kB / 0.9835 GB, free: 3.703 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001284/0.7732, allocations: 153.8 kB / 0.9837 GB, free: 3.551 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001763/0.7734, allocations: 102.2 kB / 0.9838 GB, free: 3.445 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001131/0.7735, allocations: 329.9 kB / 0.9841 GB, free: 3.117 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006853/0.7742, allocations: 300.9 kB / 0.9844 GB, free: 2.824 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007706/0.775, allocations: 412.1 kB / 0.9848 GB, free: 2.383 MB / 0.7325 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.004757/0.7798, allocations: 1.871 MB / 0.9866 GB, free: 468 kB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.7798, allocations: 7.938 kB / 0.9866 GB, free: 460 kB / 0.7325 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.002947/0.7828, allocations: 1.038 MB / 0.9876 GB, free: 15.4 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.154e-05/0.7828, allocations: 8 kB / 0.9876 GB, free: 15.39 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.728e-06/0.7828, allocations: 4 kB / 0.9876 GB, free: 15.39 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005594/0.7834, allocations: 188.8 kB / 0.9878 GB, free: 15.2 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000655/0.784, allocations: 143.7 kB / 0.988 GB, free: 15.06 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003665/0.7877, allocations: 2.241 MB / 0.9901 GB, free: 12.68 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008733/0.7886, allocations: 52.02 kB / 0.9902 GB, free: 12.63 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.125e-05/0.7887, allocations: 23.98 kB / 0.9902 GB, free: 12.61 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 (59): * Single equations (assignments): 58 * 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.0004359/0.7891, allocations: 277.6 kB / 0.9905 GB, free: 12.33 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001485/0.7893, allocations: 94.91 kB / 0.9906 GB, free: 12.23 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001593/0.7894, allocations: 96.23 kB / 0.9907 GB, free: 12.14 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.7894, allocations: 8 kB / 0.9907 GB, free: 12.13 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.337e-06/0.7894, allocations: 0 / 0.9907 GB, free: 12.13 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002591/0.792, allocations: 0.8957 MB / 0.9916 GB, free: 11.2 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004731/0.7968, allocations: 2.095 MB / 0.9936 GB, free: 9.008 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.472e-06/0.7968, allocations: 8 kB / 0.9936 GB, free: 9 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005956/0.7974, allocations: 123.8 kB / 0.9937 GB, free: 8.879 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005091/0.7979, allocations: 188.7 kB / 0.9939 GB, free: 8.691 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.756e-05/0.798, allocations: 15.98 kB / 0.9939 GB, free: 8.676 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003373/0.8013, allocations: 2.183 MB / 0.996 GB, free: 6.355 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.947e-06/0.8014, allocations: 4 kB / 0.9961 GB, free: 6.352 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003502/0.8049, allocations: 1.406 MB / 0.9974 GB, free: 4.887 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003605/0.8052, allocations: 239.9 kB / 0.9977 GB, free: 4.633 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001084/0.8054, allocations: 16.19 kB / 0.9977 GB, free: 4.617 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007741/0.8061, allocations: 64 kB / 0.9977 GB, free: 4.555 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.738e-05/0.8062, allocations: 39.83 kB / 0.9978 GB, free: 4.516 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.227e-05/0.8063, allocations: 27.98 kB / 0.9978 GB, free: 4.488 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0006612/0.807, allocations: 0.5615 MB / 0.9983 GB, free: 3.93 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.3e-07/0.807, allocations: 0 / 0.9983 GB, free: 3.93 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0008226/0.8078, allocations: 268 kB / 0.9986 GB, free: 3.668 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.medium.Xi[1],volDyn.dynBal.U) * 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 (37): * Single equations (assignments): 36 * 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.004041/0.8119, allocations: 2.077 MB / 1.001 GB, free: 1.531 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.001791/0.8137, allocations: 0.8089 MB / 1.001 GB, free: 0.707 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 5.16e-06/0.8137, allocations: 4 kB / 1.001 GB, free: 0.7031 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0008603/0.8145, allocations: 451.4 kB / 1.002 GB, free: 256 kB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002109/0.8167, allocations: 0.5478 MB / 1.002 GB, free: 15.71 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.014/0.8307, allocations: 7.639 MB / 1.01 GB, free: 7.793 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006497/0.8314, allocations: 1.044 MB / 1.011 GB, free: 6.719 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.0008061/0.8322, allocations: 211.1 kB / 1.011 GB, free: 6.508 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004307/0.8326, allocations: 315.3 kB / 1.011 GB, free: 6.199 MB / 0.7637 GB Notification: Performance of SimCode: time 7.92e-07/0.8326, allocations: 0 / 1.011 GB, free: 6.199 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0593/0.8919, allocations: 28.35 MB / 1.039 GB, free: 10.39 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.84/12.73, allocations: 10.41 kB / 1.039 GB, free: 10.39 MB / 0.795 GB (rm -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlowPrescribedHeatFlowRate_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.fmu > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe 2>&1)