Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.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.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate",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.004646/0.004646, allocations: 100.6 kB / 15.73 MB, free: 5.996 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.001151/0.001151, allocations: 201.1 kB / 16.68 MB, free: 5.918 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.239/1.239, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002001/0.002001, allocations: 295.8 kB / 290.8 MB, free: 14.44 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9097/0.9097, allocations: 169.3 MB / 0.4983 GB, free: 4.426 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001819/0.001819, allocations: 100.1 kB / 0.681 GB, free: 7.453 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4253/0.4271, allocations: 86.98 MB / 0.7659 GB, free: 3.887 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate): time 0.202/0.6291, allocations: 190.5 MB / 0.9519 GB, free: 4.688 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.4293/1.058, allocations: 5.699 MB / 0.9575 GB, free: 1.875 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001482/1.06, allocations: 40.66 kB / 0.9575 GB, free: 1.875 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001419/1.061, allocations: 0.5665 MB / 0.9581 GB, free: 1.875 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.003888/1.065, allocations: 1.615 MB / 0.9597 GB, free: 1.863 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.003118/1.068, allocations: 1.208 MB / 0.9609 GB, free: 1.828 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.003939/1.072, allocations: 2.559 MB / 0.9634 GB, free: 1.828 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001534/1.074, allocations: 1.029 MB / 0.9644 GB, free: 1.73 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002083/1.076, allocations: 1.062 MB / 0.9654 GB, free: 1.727 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001725/1.078, allocations: 0.8587 MB / 0.9662 GB, free: 1.723 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001788/1.078, allocations: 108.6 kB / 0.9663 GB, free: 1.723 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003104/1.081, allocations: 1.549 MB / 0.9679 GB, free: 1.707 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0005658/1.082, allocations: 0.5065 MB / 0.9683 GB, free: 1.707 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0009295/1.083, allocations: 0.6355 MB / 0.969 GB, free: 1.707 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.003227/1.086, allocations: 2.184 MB / 0.9711 GB, free: 1.586 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/1.086, allocations: 0.7188 kB / 0.9711 GB, free: 1.586 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.723e-06/1.086, allocations: 2.969 kB / 0.9711 GB, free: 1.586 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.524e-05/1.086, allocations: 0.9375 kB / 0.9711 GB, free: 1.586 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: 216 * Number of variables: 216 Notification: Performance of Generate backend data structure: time 0.00221/1.088, allocations: 1.512 MB / 0.9726 GB, free: 16.79 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.328e-05/1.088, allocations: 10.16 kB / 0.9726 GB, free: 16.79 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001556/1.088, allocations: 141.9 kB / 0.9727 GB, free: 16.75 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002821/1.091, allocations: 478.4 kB / 0.9732 GB, free: 16.69 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001333/1.093, allocations: 0.8465 MB / 0.974 GB, free: 16.37 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.4e-05/1.093, allocations: 69.78 kB / 0.9741 GB, free: 16.37 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001271/1.093, allocations: 91.53 kB / 0.9742 GB, free: 16.37 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001844/1.095, allocations: 1.172 MB / 0.9753 GB, free: 16.27 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.199e-05/1.095, allocations: 7.578 kB / 0.9753 GB, free: 16.27 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.118e-05/1.095, allocations: 36.66 kB / 0.9754 GB, free: 16.27 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.885e-05/1.095, allocations: 36.33 kB / 0.9754 GB, free: 16.27 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00191/1.097, allocations: 1.064 MB / 0.9764 GB, free: 16.25 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.006146/1.103, allocations: 4.312 MB / 0.9806 GB, free: 14.46 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00162/1.104, allocations: 0.7455 MB / 0.9814 GB, free: 14.44 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007633/1.105, allocations: 401.8 kB / 0.9817 GB, free: 14.43 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000184/1.105, allocations: 104.2 kB / 0.9818 GB, free: 14.34 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.843e-05/1.105, allocations: 40.38 kB / 0.9819 GB, free: 14.3 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=43): time 2.574e-06/1.105, allocations: 1.062 kB / 0.9819 GB, free: 14.3 MB / 0.7325 GB Notification: Performance of matching and sorting (n=45): time 0.005053/1.111, allocations: 2.189 MB / 0.984 GB, free: 13.83 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.874e-05/1.111, allocations: 54.69 kB / 0.9841 GB, free: 13.77 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008761/1.111, allocations: 0.8697 MB / 0.9849 GB, free: 13.63 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 6.262e-05/1.112, allocations: 36.22 kB / 0.985 GB, free: 13.6 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002853/1.112, allocations: 0.4885 MB / 0.9854 GB, free: 13.39 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001394/1.112, allocations: 156 kB / 0.9856 GB, free: 13.29 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001937/1.112, allocations: 118.3 kB / 0.9857 GB, free: 13.27 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001225/1.112, allocations: 329.7 kB / 0.986 GB, free: 12.96 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007788/1.113, allocations: 369.7 kB / 0.9864 GB, free: 12.96 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008704/1.114, allocations: 0.5027 MB / 0.9869 GB, free: 12.82 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.005304/1.119, allocations: 2.267 MB / 0.9891 GB, free: 12.57 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.989e-06/1.119, allocations: 0.875 kB / 0.9891 GB, free: 12.57 MB / 0.7325 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001978/1.121, allocations: 0.9828 MB / 0.99 GB, free: 12.48 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.72e-05/1.121, allocations: 8.656 kB / 0.99 GB, free: 12.48 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.195e-06/1.121, allocations: 4.031 kB / 0.99 GB, free: 12.48 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.14e-05/1.121, allocations: 14.86 kB / 0.9901 GB, free: 12.48 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008625/1.122, allocations: 185.9 kB / 0.9902 GB, free: 12.48 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.124e-05/1.122, allocations: 11.12 kB / 0.9902 GB, free: 12.48 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009581/1.123, allocations: 66.02 kB / 0.9903 GB, free: 12.48 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.399e-05/1.123, allocations: 24.31 kB / 0.9903 GB, free: 12.48 MB / 0.7325 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: 17 * 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 (73): * Single equations (assignments): 73 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004748/1.124, allocations: 318.8 kB / 0.9906 GB, free: 12.36 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001545/1.124, allocations: 94.59 kB / 0.9907 GB, free: 12.31 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001812/1.124, allocations: 110.2 kB / 0.9908 GB, free: 12.29 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.392e-06/1.124, allocations: 5.688 kB / 0.9908 GB, free: 12.29 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.367e-06/1.124, allocations: 1.203 kB / 0.9908 GB, free: 12.29 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001668/1.126, allocations: 1.027 MB / 0.9918 GB, free: 11.85 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003939/1.13, allocations: 2.13 MB / 0.9939 GB, free: 11.43 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.642e-06/1.13, allocations: 2.625 kB / 0.9939 GB, free: 11.43 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007887/1.131, allocations: 170.1 kB / 0.9941 GB, free: 11.43 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.154e-06/1.131, allocations: 8.719 kB / 0.9941 GB, free: 11.43 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.998e-05/1.131, allocations: 14.28 kB / 0.9941 GB, free: 11.42 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.845e-06/1.131, allocations: 13.48 kB / 0.9941 GB, free: 11.42 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/1.131, allocations: 2.094 kB / 0.9941 GB, free: 11.42 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002531/1.133, allocations: 1.415 MB / 0.9955 GB, free: 11.11 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003907/1.134, allocations: 259.6 kB / 0.9958 GB, free: 10.96 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001256/1.134, allocations: 11.91 kB / 0.9958 GB, free: 10.96 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008453/1.135, allocations: 72.08 kB / 0.9958 GB, free: 10.95 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.608e-05/1.135, allocations: 34 kB / 0.9959 GB, free: 10.95 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.276e-05/1.135, allocations: 35.12 kB / 0.9959 GB, free: 10.95 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0006156/1.135, allocations: 0.6017 MB / 0.9965 GB, free: 10.86 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.31e-07/1.135, allocations: 0 / 0.9965 GB, free: 10.86 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0007417/1.136, allocations: 269 kB / 0.9967 GB, free: 10.85 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 3 (volDyn.dynBal.medium.Xi[1],volDyn.dynBal.U,volDyn.dynBal.mC[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): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003081/1.139, allocations: 2.07 MB / 0.9988 GB, free: 9.98 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.00176/1.141, allocations: 0.8115 MB / 0.9996 GB, free: 9.961 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 6.111e-06/1.141, allocations: 7.25 kB / 0.9996 GB, free: 9.957 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0007648/1.142, allocations: 382.3 kB / 0.9999 GB, free: 9.953 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002164/1.144, allocations: 0.5807 MB / 1 GB, free: 9.852 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01218/1.156, allocations: 8.189 MB / 1.008 GB, free: 7.332 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006158/1.157, allocations: 1.112 MB / 1.01 GB, free: 6.613 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.000948/1.158, allocations: 260.2 kB / 1.01 GB, free: 6.555 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004771/1.158, allocations: 354.5 kB / 1.01 GB, free: 6.547 MB / 0.7325 GB Notification: Performance of SimCode: time 1.032e-06/1.158, allocations: 0 / 1.01 GB, free: 6.547 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05477/1.213, allocations: 29.2 MB / 1.039 GB, free: 3.145 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.633/9.846, allocations: 23.33 kB / 1.039 GB, free: 3.125 MB / 0.7481 GB (rm -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.fmu > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe 2>&1)