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.00102/0.00102, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.007662/0.007662, allocations: 170.2 kB / 16.27 MB, free: 6.652 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.289/1.289, allocations: 205.4 MB / 222.4 MB, free: 5.559 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.602/1.602, allocations: 292.7 MB / 0.5502 GB, free: 14.45 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.000847/0.000847, allocations: 14.53 kB / 0.6744 GB, free: 25.89 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1995/0.2003, allocations: 116.3 MB / 0.788 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow): time 0.5267/0.7271, allocations: 185.8 MB / 0.9695 GB, free: 15.25 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.007311/0.7345, allocations: 5.682 MB / 0.975 GB, free: 14.77 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007696/0.7353, allocations: 29.16 kB / 0.9751 GB, free: 14.76 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.001159/0.7364, allocations: 0.5012 MB / 0.9755 GB, free: 14.63 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.003504/0.7399, allocations: 1.736 MB / 0.9772 GB, free: 14.24 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.002242/0.7422, allocations: 1.073 MB / 0.9783 GB, free: 14.15 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.003763/0.746, allocations: 4.067 MB / 0.9823 GB, free: 13.09 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009204/0.7469, allocations: 0.7697 MB / 0.983 GB, free: 12.79 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001179/0.7481, allocations: 0.8634 MB / 0.9839 GB, free: 12.47 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001406/0.7495, allocations: 0.9087 MB / 0.9847 GB, free: 12.18 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 9.295e-05/0.7496, allocations: 42.06 kB / 0.9848 GB, free: 12.18 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002522/0.7521, allocations: 1.621 MB / 0.9864 GB, free: 11.45 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0003745/0.7525, allocations: 392.3 kB / 0.9867 GB, free: 11.25 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0005626/0.7531, allocations: 0.5921 MB / 0.9873 GB, free: 11.06 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.002174/0.7553, allocations: 2.126 MB / 0.9894 GB, free: 9.852 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.7553, allocations: 4 kB / 0.9894 GB, free: 9.848 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.766e-06/0.7553, allocations: 2.625 kB / 0.9894 GB, free: 9.848 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.18e-05/0.7553, allocations: 0 / 0.9894 GB, free: 9.848 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.001904/0.7572, allocations: 1.281 MB / 0.9907 GB, free: 8.875 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.343e-05/0.7573, allocations: 13.25 kB / 0.9907 GB, free: 8.871 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001656/0.7574, allocations: 139.8 kB / 0.9908 GB, free: 8.758 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001848/0.7593, allocations: 315.3 kB / 0.9911 GB, free: 8.617 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001073/0.7604, allocations: 0.8005 MB / 0.9919 GB, free: 8.004 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.259e-05/0.7604, allocations: 63.81 kB / 0.9919 GB, free: 7.973 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001125/0.7605, allocations: 86.88 kB / 0.992 GB, free: 7.941 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001444/0.762, allocations: 0.9154 MB / 0.9929 GB, free: 7.434 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.134e-05/0.762, allocations: 7.984 kB / 0.9929 GB, free: 7.426 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.315e-05/0.7621, allocations: 38.91 kB / 0.993 GB, free: 7.398 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.19e-05/0.7622, allocations: 29.94 kB / 0.993 GB, free: 7.398 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001258/0.7634, allocations: 0.8377 MB / 0.9938 GB, free: 6.988 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.004643/0.7681, allocations: 3.536 MB / 0.9973 GB, free: 4.25 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006758/0.7688, allocations: 0.5009 MB / 0.9978 GB, free: 3.98 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004056/0.7692, allocations: 304.5 kB / 0.998 GB, free: 3.832 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001632/0.7693, allocations: 101.5 kB / 0.9981 GB, free: 3.73 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.646e-05/0.7694, allocations: 41.22 kB / 0.9982 GB, free: 3.688 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=47): time 1.824e-06/0.7694, allocations: 0 / 0.9982 GB, free: 3.688 MB / 0.7325 GB Notification: Performance of matching and sorting (n=49): time 0.00341/0.7728, allocations: 1.945 MB / 1 GB, free: 2.418 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.005e-05/0.7729, allocations: 58.09 kB / 1 GB, free: 2.355 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007983/0.7737, allocations: 0.7955 MB / 1.001 GB, free: 1.91 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 5.065e-05/0.7737, allocations: 38.83 kB / 1.001 GB, free: 1.871 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002916/0.774, allocations: 469.1 kB / 1.001 GB, free: 1.461 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001305/0.7742, allocations: 175.5 kB / 1.002 GB, free: 1.312 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.213e-05/0.7742, allocations: 49.42 kB / 1.002 GB, free: 1.273 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 9.947e-05/0.7743, allocations: 336.1 kB / 1.002 GB, free: 0.9453 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003842/0.7747, allocations: 247.7 kB / 1.002 GB, free: 0.8281 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004526/0.7752, allocations: 370.5 kB / 1.003 GB, free: 0.5703 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.003333/0.7785, allocations: 1.557 MB / 1.004 GB, free: 15.7 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.7785, allocations: 0 / 1.004 GB, free: 15.7 MB / 0.7481 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001127/0.7797, allocations: 0.793 MB / 1.005 GB, free: 15.29 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.435e-05/0.7797, allocations: 4.875 kB / 1.005 GB, free: 15.29 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.022e-06/0.7797, allocations: 3.094 kB / 1.005 GB, free: 15.29 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002544/0.78, allocations: 98.97 kB / 1.005 GB, free: 15.23 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005913/0.7806, allocations: 158.8 kB / 1.005 GB, free: 15.19 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002397/0.783, allocations: 3.069 MB / 1.008 GB, free: 12.23 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00076/0.7838, allocations: 63.33 kB / 1.008 GB, free: 12.2 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.137e-05/0.7838, allocations: 23.88 kB / 1.008 GB, free: 12.19 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 sytem: 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.0003391/0.7841, allocations: 293.9 kB / 1.008 GB, free: 11.97 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001209/0.7843, allocations: 97.31 kB / 1.009 GB, free: 11.92 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001791/0.7845, allocations: 100.4 kB / 1.009 GB, free: 11.85 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.985e-06/0.7845, allocations: 6.875 kB / 1.009 GB, free: 11.84 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-06/0.7845, allocations: 2.875 kB / 1.009 GB, free: 11.84 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009287/0.7854, allocations: 0.8457 MB / 1.009 GB, free: 11.16 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0024/0.7878, allocations: 1.816 MB / 1.011 GB, free: 9.887 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.978e-06/0.7878, allocations: 3 kB / 1.011 GB, free: 9.887 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005595/0.7884, allocations: 135 kB / 1.011 GB, free: 9.859 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001947/0.7886, allocations: 77.42 kB / 1.011 GB, free: 9.816 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.097e-05/0.7887, allocations: 8.969 kB / 1.011 GB, free: 9.812 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00135/0.79, allocations: 1.655 MB / 1.013 GB, free: 8.262 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.549e-06/0.79, allocations: 7.219 kB / 1.013 GB, free: 8.258 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001373/0.7914, allocations: 1.105 MB / 1.014 GB, free: 7.551 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002882/0.7917, allocations: 233.1 kB / 1.014 GB, free: 7.355 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001013/0.7918, allocations: 20.02 kB / 1.014 GB, free: 7.344 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007145/0.7925, allocations: 68.34 kB / 1.014 GB, free: 7.309 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.65e-05/0.7926, allocations: 43.89 kB / 1.014 GB, free: 7.285 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.214e-05/0.7927, allocations: 30.45 kB / 1.015 GB, free: 7.273 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0005716/0.7933, allocations: 0.5558 MB / 1.015 GB, free: 6.957 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.6e-07/0.7933, allocations: 4 kB / 1.015 GB, free: 6.953 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0007154/0.794, allocations: 283.9 kB / 1.015 GB, free: 6.934 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.001876/0.7959, allocations: 1.741 MB / 1.017 GB, free: 5.645 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.001093/0.797, allocations: 0.8147 MB / 1.018 GB, free: 5.125 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.497e-06/0.797, allocations: 3.344 kB / 1.018 GB, free: 5.125 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.000531/0.7975, allocations: 420.7 kB / 1.018 GB, free: 4.863 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002785/0.8003, allocations: 0.5857 MB / 1.019 GB, free: 4.582 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008957/0.8093, allocations: 7.65 MB / 1.026 GB, free: 15.37 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006068/0.8099, allocations: 1.087 MB / 1.027 GB, free: 14.48 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.0007274/0.8106, allocations: 211.3 kB / 1.028 GB, free: 14.38 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004168/0.8111, allocations: 341.3 kB / 1.028 GB, free: 14.11 MB / 0.7637 GB Notification: Performance of SimCode: time 3.91e-07/0.8111, allocations: 4 kB / 1.028 GB, free: 14.1 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7715/1.583, allocations: 26.43 MB / 1.054 GB, free: 5.422 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002448/1.583, allocations: 288.6 kB / 1.054 GB, free: 5.043 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.254/3.837, allocations: 0 / 1.054 GB, free: 5.043 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)