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: "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow,fileNamePrefix="Buildings_8_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow,fileNamePrefix="Buildings_8_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlow",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.001158/0.001158, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001168/0.001168, allocations: 199.2 kB / 16.14 MB, free: 6.715 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.105/1.105, allocations: 205.1 MB / 222 MB, free: 5.004 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.521/1.521, allocations: 292.3 MB / 0.5484 GB, free: 13.68 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.001264/0.001264, allocations: 71.31 kB / 0.6709 GB, free: 26.22 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1708/0.1721, allocations: 114.6 MB / 0.7828 GB, free: 13.91 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow): time 0.4802/0.6524, allocations: 188.3 MB / 0.9667 GB, free: 5.441 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.007088/0.6595, allocations: 5.737 MB / 0.9723 GB, free: 5.27 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009281/0.6605, allocations: 35.31 kB / 0.9723 GB, free: 5.27 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.001164/0.6617, allocations: 0.5037 MB / 0.9728 GB, free: 5.254 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.003167/0.6648, allocations: 1.719 MB / 0.9745 GB, free: 5.16 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.00207/0.6669, allocations: 1.072 MB / 0.9756 GB, free: 5.121 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.003157/0.6701, allocations: 4.069 MB / 0.9795 GB, free: 5.105 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008671/0.671, allocations: 0.7984 MB / 0.9803 GB, free: 5.004 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001212/0.6722, allocations: 0.9039 MB / 0.9812 GB, free: 4.98 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001402/0.6736, allocations: 0.9357 MB / 0.9821 GB, free: 4.848 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0001357/0.6737, allocations: 53.28 kB / 0.9822 GB, free: 4.848 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002459/0.6762, allocations: 1.634 MB / 0.9837 GB, free: 4.832 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0003333/0.6766, allocations: 409.4 kB / 0.9841 GB, free: 4.781 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0005379/0.6771, allocations: 0.5935 MB / 0.9847 GB, free: 4.617 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.001816/0.6789, allocations: 2.158 MB / 0.9868 GB, free: 4.375 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.267e-06/0.6789, allocations: 0 / 0.9868 GB, free: 4.375 MB / 0.7325 GB Notification: Performance of FrontEnd: time 5.81e-07/0.6789, allocations: 0 / 0.9868 GB, free: 4.375 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.237e-05/0.679, allocations: 0 / 0.9868 GB, free: 4.375 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.002031/0.681, allocations: 1.507 MB / 0.9883 GB, free: 19.6 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 3.17e-05/0.681, allocations: 7.844 kB / 0.9883 GB, free: 19.6 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001408/0.6812, allocations: 140 kB / 0.9884 GB, free: 19.56 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001787/0.683, allocations: 318.7 kB / 0.9887 GB, free: 19.49 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00098/0.684, allocations: 0.8016 MB / 0.9895 GB, free: 19.17 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.232e-05/0.684, allocations: 66.64 kB / 0.9896 GB, free: 19.16 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001179/0.6841, allocations: 84.59 kB / 0.9897 GB, free: 19.16 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001361/0.6855, allocations: 0.9192 MB / 0.9906 GB, free: 19.05 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.844e-05/0.6855, allocations: 0 / 0.9906 GB, free: 19.05 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.838e-05/0.6856, allocations: 35.69 kB / 0.9906 GB, free: 19.03 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.904e-05/0.6857, allocations: 35.62 kB / 0.9906 GB, free: 19.02 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001135/0.6868, allocations: 0.826 MB / 0.9914 GB, free: 18.75 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.004154/0.691, allocations: 3.507 MB / 0.9949 GB, free: 16.69 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005913/0.6916, allocations: 0.5018 MB / 0.9954 GB, free: 16.47 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003465/0.6919, allocations: 297.1 kB / 0.9956 GB, free: 16.37 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001737/0.6921, allocations: 101.7 kB / 0.9957 GB, free: 16.27 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.527e-05/0.6921, allocations: 45.34 kB / 0.9958 GB, free: 16.22 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=47): time 1.713e-06/0.6921, allocations: 4 kB / 0.9958 GB, free: 16.22 MB / 0.7481 GB Notification: Performance of matching and sorting (n=49): time 0.003124/0.6953, allocations: 1.923 MB / 0.9977 GB, free: 15.13 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.009e-05/0.6953, allocations: 59.23 kB / 0.9977 GB, free: 15.07 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006856/0.696, allocations: 0.7927 MB / 0.9985 GB, free: 14.75 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 4.961e-05/0.6961, allocations: 36.3 kB / 0.9985 GB, free: 14.71 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002208/0.6963, allocations: 469.9 kB / 0.999 GB, free: 14.34 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 9.802e-05/0.6964, allocations: 174.6 kB / 0.9991 GB, free: 14.21 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001489/0.6966, allocations: 114.8 kB / 0.9993 GB, free: 14.14 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 9.243e-05/0.6967, allocations: 337.5 kB / 0.9996 GB, free: 13.82 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003452/0.697, allocations: 240.1 kB / 0.9998 GB, free: 13.75 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00039/0.6974, allocations: 370.4 kB / 1 GB, free: 13.53 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.003265/0.7007, allocations: 1.514 MB / 1.002 GB, free: 12.9 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.7007, allocations: 4 kB / 1.002 GB, free: 12.9 MB / 0.7481 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001122/0.7018, allocations: 0.7816 MB / 1.002 GB, free: 12.58 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.414e-05/0.7018, allocations: 9.844 kB / 1.002 GB, free: 12.58 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.562e-06/0.7018, allocations: 4.781 kB / 1.002 GB, free: 12.58 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002602/0.7021, allocations: 92.81 kB / 1.003 GB, free: 12.55 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005871/0.7027, allocations: 148.1 kB / 1.003 GB, free: 12.54 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002374/0.7051, allocations: 3.059 MB / 1.006 GB, free: 9.754 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007491/0.7059, allocations: 58.95 kB / 1.006 GB, free: 9.723 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.512e-05/0.7059, allocations: 24.28 kB / 1.006 GB, free: 9.715 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.0003373/0.7063, allocations: 300.9 kB / 1.006 GB, free: 9.496 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001311/0.7064, allocations: 95.03 kB / 1.006 GB, free: 9.449 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001518/0.7065, allocations: 99 kB / 1.006 GB, free: 9.375 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.476e-06/0.7066, allocations: 5.281 kB / 1.006 GB, free: 9.375 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.7066, allocations: 0 / 1.006 GB, free: 9.375 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008841/0.7075, allocations: 0.8368 MB / 1.007 GB, free: 8.699 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00231/0.7098, allocations: 1.795 MB / 1.009 GB, free: 7.449 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.198e-06/0.7098, allocations: 3.375 kB / 1.009 GB, free: 7.449 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005509/0.7103, allocations: 128.4 kB / 1.009 GB, free: 7.422 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000192/0.7105, allocations: 74.03 kB / 1.009 GB, free: 7.383 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.336e-05/0.7106, allocations: 13.69 kB / 1.009 GB, free: 7.375 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001302/0.7119, allocations: 1.657 MB / 1.011 GB, free: 5.824 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.736e-06/0.7119, allocations: 3.25 kB / 1.011 GB, free: 5.824 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001316/0.7132, allocations: 1.096 MB / 1.012 GB, free: 5.117 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002882/0.7135, allocations: 234.4 kB / 1.012 GB, free: 4.922 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001052/0.7136, allocations: 10.69 kB / 1.012 GB, free: 4.918 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000698/0.7143, allocations: 61 kB / 1.012 GB, free: 4.891 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.7e-05/0.7145, allocations: 56.19 kB / 1.012 GB, free: 4.855 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.201e-05/0.7145, allocations: 31.42 kB / 1.012 GB, free: 4.844 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0005546/0.7151, allocations: 0.5552 MB / 1.013 GB, free: 4.531 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.8e-07/0.7151, allocations: 2.531 kB / 1.013 GB, free: 4.531 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0007136/0.7158, allocations: 283.3 kB / 1.013 GB, free: 4.512 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.001788/0.7176, allocations: 1.733 MB / 1.015 GB, free: 3.23 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.001046/0.7186, allocations: 0.8015 MB / 1.015 GB, free: 2.734 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.7187, allocations: 2.094 kB / 1.015 GB, free: 2.734 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0004942/0.7192, allocations: 407.3 kB / 1.016 GB, free: 2.496 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00227/0.7214, allocations: 0.588 MB / 1.016 GB, free: 2.215 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008403/0.7299, allocations: 7.565 MB / 1.024 GB, free: 13.11 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005221/0.7304, allocations: 1.093 MB / 1.025 GB, free: 12.22 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.0007122/0.7311, allocations: 210.1 kB / 1.025 GB, free: 12.12 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003878/0.7315, allocations: 341.7 kB / 1.025 GB, free: 11.84 MB / 0.7637 GB Notification: Performance of SimCode: time 3.3e-07/0.7315, allocations: 0 / 1.025 GB, free: 11.84 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.994/2.726, allocations: 26.66 MB / 1.051 GB, free: 5.492 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003217/2.726, allocations: 293.3 kB / 1.052 GB, free: 5.105 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.442/5.168, allocations: 0 / 1.052 GB, free: 5.105 MB / 0.7794 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlow_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-08 Buildings_8_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlow.fmu > Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe 2>&1)