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.001048/0.001048, allocations: 109.4 kB / 15.69 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001041/0.001041, allocations: 185.8 kB / 16.62 MB, free: 6.613 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.319/1.319, allocations: 222.9 MB / 240.3 MB, free: 4.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002145/0.002145, allocations: 290.8 kB / 290.8 MB, free: 1.945 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.939/0.939, allocations: 169.3 MB / 0.4983 GB, free: 13.84 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001723/0.001723, allocations: 95.67 kB / 0.5955 GB, free: 27.96 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1541/0.1558, allocations: 86.98 MB / 0.6804 GB, free: 492 kB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow): time 0.5179/0.6737, allocations: 190.6 MB / 0.8665 GB, free: 15.85 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.009067/0.6828, allocations: 5.72 MB / 0.8721 GB, free: 11.18 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001437/0.6843, allocations: 43.31 kB / 0.8722 GB, free: 11.17 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.00147/0.6858, allocations: 0.5855 MB / 0.8727 GB, free: 10.68 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.004387/0.6902, allocations: 1.837 MB / 0.8745 GB, free: 9.242 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002797/0.693, allocations: 1.188 MB / 0.8757 GB, free: 8.336 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.003298/0.6963, allocations: 2.953 MB / 0.8786 GB, free: 6.641 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001113/0.6975, allocations: 0.9498 MB / 0.8795 GB, free: 6.051 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001546/0.699, allocations: 1.055 MB / 0.8805 GB, free: 5.434 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001589/0.7006, allocations: 0.9175 MB / 0.8814 GB, free: 4.898 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001556/0.7008, allocations: 108.5 kB / 0.8815 GB, free: 4.898 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00261/0.7034, allocations: 1.426 MB / 0.8829 GB, free: 4.137 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.000412/0.7038, allocations: 457 kB / 0.8834 GB, free: 3.832 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0006608/0.7045, allocations: 0.6504 MB / 0.884 GB, free: 3.422 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.002551/0.7071, allocations: 2.137 MB / 0.8861 GB, free: 2.035 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.047e-06/0.7071, allocations: 1.812 kB / 0.8861 GB, free: 2.035 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.393e-06/0.7071, allocations: 0 / 0.8861 GB, free: 2.035 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.508e-05/0.7071, allocations: 0 / 0.8861 GB, free: 2.035 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.002237/0.7093, allocations: 1.522 MB / 0.8876 GB, free: 0.8945 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.671e-05/0.7094, allocations: 9.906 kB / 0.8876 GB, free: 0.8945 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001599/0.7096, allocations: 142.3 kB / 0.8877 GB, free: 0.7812 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001855/0.7114, allocations: 313.4 kB / 0.888 GB, free: 0.6406 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001222/0.7126, allocations: 0.8526 MB / 0.8889 GB, free: 15.98 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.487e-05/0.7127, allocations: 65.06 kB / 0.8889 GB, free: 15.95 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001183/0.7128, allocations: 87.39 kB / 0.889 GB, free: 15.92 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001418/0.7143, allocations: 0.9086 MB / 0.8899 GB, free: 15.4 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.169e-05/0.7143, allocations: 4 kB / 0.8899 GB, free: 15.4 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.708e-05/0.7144, allocations: 38.19 kB / 0.8899 GB, free: 15.37 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.272e-05/0.7144, allocations: 37.48 kB / 0.89 GB, free: 15.36 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001283/0.7157, allocations: 0.8303 MB / 0.8908 GB, free: 14.96 MB / 0.6075 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.0048/0.7205, allocations: 3.501 MB / 0.8942 GB, free: 12.05 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007226/0.7213, allocations: 0.4971 MB / 0.8947 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004196/0.7217, allocations: 294 kB / 0.895 GB, free: 11.26 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001862/0.7219, allocations: 101.5 kB / 0.8951 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.305e-05/0.7219, allocations: 44.36 kB / 0.8951 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=47): time 1.914e-06/0.7219, allocations: 4 kB / 0.8951 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of matching and sorting (n=49): time 0.003633/0.7256, allocations: 1.923 MB / 0.897 GB, free: 9.062 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.42e-05/0.7256, allocations: 59.78 kB / 0.897 GB, free: 8.992 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008755/0.7265, allocations: 0.7981 MB / 0.8978 GB, free: 8.184 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 5.086e-05/0.7266, allocations: 37.7 kB / 0.8978 GB, free: 8.141 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.000314/0.7269, allocations: 475.3 kB / 0.8983 GB, free: 7.668 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001345/0.727, allocations: 173.5 kB / 0.8985 GB, free: 7.496 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001687/0.7272, allocations: 110.2 kB / 0.8986 GB, free: 7.383 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001193/0.7273, allocations: 337.9 kB / 0.8989 GB, free: 7.047 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004056/0.7277, allocations: 241.2 kB / 0.8991 GB, free: 6.809 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004663/0.7282, allocations: 353.2 kB / 0.8995 GB, free: 6.43 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.003523/0.7317, allocations: 1.534 MB / 0.901 GB, free: 4.844 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.417e-06/0.7318, allocations: 7.938 kB / 0.901 GB, free: 4.836 MB / 0.6075 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001216/0.733, allocations: 0.7845 MB / 0.9017 GB, free: 4.035 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.778e-05/0.733, allocations: 8 kB / 0.9017 GB, free: 4.027 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.673e-06/0.733, allocations: 352 / 0.9017 GB, free: 4.027 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000278/0.7333, allocations: 93.66 kB / 0.9018 GB, free: 3.93 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000648/0.734, allocations: 145.7 kB / 0.902 GB, free: 3.789 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002778/0.7367, allocations: 3.304 MB / 0.9052 GB, free: 216 kB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008291/0.7376, allocations: 27.98 kB / 0.9052 GB, free: 188 kB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.258e-05/0.7377, allocations: 24 kB / 0.9052 GB, free: 164 kB / 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.0005285/0.7382, allocations: 303.3 kB / 0.9055 GB, free: 15.86 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001621/0.7384, allocations: 94.88 kB / 0.9056 GB, free: 15.76 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001887/0.7386, allocations: 100.7 kB / 0.9057 GB, free: 15.66 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.449e-06/0.7386, allocations: 4 kB / 0.9057 GB, free: 15.66 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.539e-06/0.7386, allocations: 0 / 0.9057 GB, free: 15.66 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001052/0.7396, allocations: 0.8504 MB / 0.9066 GB, free: 14.72 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002721/0.7424, allocations: 1.788 MB / 0.9083 GB, free: 12.83 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.65e-06/0.7424, allocations: 4 kB / 0.9083 GB, free: 12.83 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005906/0.743, allocations: 131.8 kB / 0.9084 GB, free: 12.7 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002097/0.7432, allocations: 69.88 kB / 0.9085 GB, free: 12.63 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.925e-05/0.7433, allocations: 16 kB / 0.9085 GB, free: 12.61 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001534/0.7448, allocations: 1.79 MB / 0.9103 GB, free: 10.68 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.029e-06/0.7448, allocations: 7.938 kB / 0.9103 GB, free: 10.68 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001459/0.7463, allocations: 1.069 MB / 0.9113 GB, free: 9.547 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003278/0.7466, allocations: 239.8 kB / 0.9115 GB, free: 9.293 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.971e-05/0.7467, allocations: 12 kB / 0.9116 GB, free: 9.281 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006792/0.7474, allocations: 35 kB / 0.9116 GB, free: 9.25 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.628e-05/0.7475, allocations: 43.89 kB / 0.9116 GB, free: 9.207 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.882e-05/0.7476, allocations: 31.98 kB / 0.9117 GB, free: 9.176 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0006757/0.7483, allocations: 0.5615 MB / 0.9122 GB, free: 8.613 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.9e-07/0.7483, allocations: 0 / 0.9122 GB, free: 8.613 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0008185/0.7491, allocations: 284 kB / 0.9125 GB, free: 8.336 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.00204/0.7511, allocations: 1.695 MB / 0.9141 GB, free: 6.574 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001257/0.7524, allocations: 0.8004 MB / 0.9149 GB, free: 5.754 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 5.521e-06/0.7524, allocations: 4 kB / 0.9149 GB, free: 5.75 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0005484/0.753, allocations: 415.6 kB / 0.9153 GB, free: 5.332 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002468/0.7555, allocations: 0.6158 MB / 0.9159 GB, free: 4.734 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008805/0.7643, allocations: 6.957 MB / 0.9227 GB, free: 13.48 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006387/0.7649, allocations: 1.091 MB / 0.9238 GB, free: 12.36 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0007905/0.7657, allocations: 207.7 kB / 0.924 GB, free: 12.15 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004281/0.7662, allocations: 347.3 kB / 0.9243 GB, free: 11.81 MB / 0.6387 GB Notification: Performance of SimCode: time 5.11e-07/0.7662, allocations: 0 / 0.9243 GB, free: 11.81 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05264/0.8188, allocations: 27.86 MB / 0.9515 GB, free: 500 kB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.75/12.57, allocations: 12.75 kB / 0.9515 GB, free: 492 kB / 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)