Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.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 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.MixingVolumeHeatReverseFlow,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow,fileNamePrefix="BuildingSystems_BuildingSystems_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.001021/0.001021, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001093/0.001093, allocations: 189.8 kB / 16.25 MB, free: 6.625 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.272/1.272, allocations: 222.9 MB / 239.9 MB, free: 4.508 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002009/0.002009, allocations: 282.5 kB / 290.3 MB, free: 2.129 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9209/0.9209, allocations: 169.2 MB / 0.4978 GB, free: 14.07 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001637/0.001637, allocations: 89.42 kB / 0.5948 GB, free: 28.17 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1288/0.1305, allocations: 86.98 MB / 0.6797 GB, free: 0.9609 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow): time 0.4318/0.5623, allocations: 188.1 MB / 0.8634 GB, free: 2.332 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0085/0.5709, allocations: 5.693 MB / 0.869 GB, free: 13.7 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001229/0.5721, allocations: 34.38 kB / 0.869 GB, free: 13.68 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001346/0.5735, allocations: 0.5164 MB / 0.8695 GB, free: 13.27 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.00392/0.5775, allocations: 1.731 MB / 0.8712 GB, free: 11.94 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002468/0.5799, allocations: 1.084 MB / 0.8723 GB, free: 11.14 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.002817/0.5828, allocations: 2.947 MB / 0.8751 GB, free: 9.473 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009941/0.5838, allocations: 0.94 MB / 0.876 GB, free: 8.883 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001328/0.5851, allocations: 1.059 MB / 0.8771 GB, free: 8.277 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001487/0.5866, allocations: 0.9685 MB / 0.878 GB, free: 7.727 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001417/0.5868, allocations: 107.6 kB / 0.8781 GB, free: 7.727 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002329/0.5891, allocations: 1.507 MB / 0.8796 GB, free: 6.914 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0003815/0.5895, allocations: 457.9 kB / 0.88 GB, free: 6.609 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0005725/0.5901, allocations: 0.6605 MB / 0.8807 GB, free: 6.191 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.002209/0.5923, allocations: 2.217 MB / 0.8828 GB, free: 4.754 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.5923, allocations: 0 / 0.8828 GB, free: 4.754 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.062e-06/0.5923, allocations: 4 kB / 0.8829 GB, free: 4.75 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.315e-05/0.5923, allocations: 0 / 0.8829 GB, free: 4.75 MB / 0.5919 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.002417/0.5947, allocations: 1.52 MB / 0.8843 GB, free: 3.613 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 5.11e-05/0.5948, allocations: 10.38 kB / 0.8843 GB, free: 3.613 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001859/0.595, allocations: 136.1 kB / 0.8845 GB, free: 3.504 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002124/0.5971, allocations: 315.6 kB / 0.8848 GB, free: 3.363 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001234/0.5984, allocations: 0.8154 MB / 0.8856 GB, free: 2.719 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.232e-05/0.5984, allocations: 65.06 kB / 0.8856 GB, free: 2.688 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001118/0.5986, allocations: 84.16 kB / 0.8857 GB, free: 2.66 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001539/0.6001, allocations: 0.9214 MB / 0.8866 GB, free: 2.133 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.291e-05/0.6001, allocations: 2.469 kB / 0.8866 GB, free: 2.133 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.809e-05/0.6002, allocations: 35.94 kB / 0.8867 GB, free: 2.105 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.473e-05/0.6003, allocations: 31.12 kB / 0.8867 GB, free: 2.105 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001295/0.6016, allocations: 0.8307 MB / 0.8875 GB, free: 1.699 MB / 0.5919 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.004796/0.6064, allocations: 3.527 MB / 0.8909 GB, free: 14.92 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007129/0.6071, allocations: 0.5014 MB / 0.8914 GB, free: 14.65 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004253/0.6075, allocations: 297.6 kB / 0.8917 GB, free: 14.43 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00018/0.6077, allocations: 101.5 kB / 0.8918 GB, free: 14.31 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.224e-05/0.6078, allocations: 46.98 kB / 0.8919 GB, free: 14.25 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=47): time 2.094e-06/0.6078, allocations: 0 / 0.8919 GB, free: 14.25 MB / 0.6075 GB Notification: Performance of matching and sorting (n=49): time 0.003811/0.6116, allocations: 1.923 MB / 0.8937 GB, free: 12.23 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.114e-05/0.6116, allocations: 55.84 kB / 0.8938 GB, free: 12.17 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008914/0.6125, allocations: 0.8058 MB / 0.8946 GB, free: 11.35 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 5.344e-05/0.6126, allocations: 37.7 kB / 0.8946 GB, free: 11.31 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003022/0.6129, allocations: 475.3 kB / 0.8951 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001459/0.6131, allocations: 177.5 kB / 0.8952 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001816/0.6133, allocations: 110.2 kB / 0.8953 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001/0.6134, allocations: 329.9 kB / 0.8956 GB, free: 10.22 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004182/0.6138, allocations: 241.2 kB / 0.8959 GB, free: 9.98 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004891/0.6143, allocations: 357.2 kB / 0.8962 GB, free: 9.598 MB / 0.6075 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.003681/0.618, allocations: 1.532 MB / 0.8977 GB, free: 8.016 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.618, allocations: 0 / 0.8977 GB, free: 8.016 MB / 0.6075 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001262/0.6193, allocations: 0.7884 MB / 0.8985 GB, free: 7.211 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.706e-05/0.6193, allocations: 4 kB / 0.8985 GB, free: 7.207 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.127e-06/0.6193, allocations: 7.938 kB / 0.8985 GB, free: 7.199 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002894/0.6196, allocations: 101.9 kB / 0.8986 GB, free: 7.094 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000656/0.6203, allocations: 139.8 kB / 0.8987 GB, free: 6.957 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002744/0.623, allocations: 3.303 MB / 0.902 GB, free: 3.379 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009184/0.6239, allocations: 67.8 kB / 0.902 GB, free: 3.312 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.957e-05/0.624, allocations: 20 kB / 0.902 GB, free: 3.293 MB / 0.6075 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.0004295/0.6244, allocations: 298.3 kB / 0.9023 GB, free: 2.992 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001431/0.6246, allocations: 90.97 kB / 0.9024 GB, free: 2.902 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001777/0.6248, allocations: 104.7 kB / 0.9025 GB, free: 2.797 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.35e-06/0.6248, allocations: 4 kB / 0.9025 GB, free: 2.793 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.6248, allocations: 0 / 0.9025 GB, free: 2.793 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009942/0.6258, allocations: 0.8465 MB / 0.9033 GB, free: 1.859 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002655/0.6285, allocations: 1.811 MB / 0.9051 GB, free: 15.95 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.001e-06/0.6285, allocations: 4 kB / 0.9051 GB, free: 15.94 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000615/0.6291, allocations: 119.9 kB / 0.9052 GB, free: 15.82 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002219/0.6293, allocations: 78.33 kB / 0.9053 GB, free: 15.75 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.832e-05/0.6294, allocations: 12 kB / 0.9053 GB, free: 15.73 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00153/0.6309, allocations: 1.782 MB / 0.9071 GB, free: 13.82 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.89e-06/0.6309, allocations: 7.938 kB / 0.9071 GB, free: 13.81 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001474/0.6324, allocations: 1.068 MB / 0.9081 GB, free: 12.68 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000334/0.6328, allocations: 235.9 kB / 0.9083 GB, free: 12.43 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001197/0.6329, allocations: 24.05 kB / 0.9084 GB, free: 12.41 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008022/0.6337, allocations: 62.34 kB / 0.9084 GB, free: 12.35 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.555e-05/0.6338, allocations: 39.83 kB / 0.9084 GB, free: 12.31 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.354e-05/0.6339, allocations: 31.98 kB / 0.9085 GB, free: 12.28 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0006549/0.6345, allocations: 0.5615 MB / 0.909 GB, free: 11.72 MB / 0.6231 GB Notification: Performance of sort global known variables: time 2.01e-07/0.6345, allocations: 3.938 kB / 0.909 GB, free: 11.71 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0008403/0.6354, allocations: 284 kB / 0.9093 GB, free: 11.44 MB / 0.6231 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 (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.002002/0.6374, allocations: 1.702 MB / 0.911 GB, free: 9.672 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001354/0.6388, allocations: 0.8551 MB / 0.9118 GB, free: 8.789 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 5.66e-06/0.6388, allocations: 4 kB / 0.9118 GB, free: 8.785 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0005651/0.6394, allocations: 419.3 kB / 0.9122 GB, free: 8.363 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002572/0.6419, allocations: 0.6117 MB / 0.9128 GB, free: 7.773 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009736/0.6517, allocations: 7.609 MB / 0.9202 GB, free: 15.84 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006167/0.6523, allocations: 1.087 MB / 0.9213 GB, free: 14.72 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0008598/0.6532, allocations: 215.7 kB / 0.9215 GB, free: 14.51 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004225/0.6536, allocations: 339.3 kB / 0.9218 GB, free: 14.18 MB / 0.6387 GB Notification: Performance of SimCode: time 7.91e-07/0.6536, allocations: 4 kB / 0.9218 GB, free: 14.18 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7602/1.414, allocations: 27.56 MB / 0.9487 GB, free: 3.18 MB / 0.6544 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000403/1.414, allocations: 308.2 kB / 0.949 GB, free: 2.801 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.527/3.942, allocations: 0 / 0.949 GB, free: 2.801 MB / 0.6544 GB (rm -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlow_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-08 BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlow.fmu > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe 2>&1)