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.005213/0.005214, allocations: 97.67 kB / 15.73 MB, free: 5.988 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.001506/0.001507, allocations: 192 kB / 16.67 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.386/1.386, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002385/0.002385, allocations: 283 kB / 290.8 MB, free: 1.922 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9666/0.9666, allocations: 169.3 MB / 0.4983 GB, free: 13.78 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002615/0.002615, allocations: 99.84 kB / 0.681 GB, free: 15.95 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.152/0.1546, allocations: 86.97 MB / 0.7659 GB, free: 8.902 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow): time 0.4904/0.6451, allocations: 190.6 MB / 0.952 GB, free: 4.445 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.009058/0.6542, allocations: 5.741 MB / 0.9576 GB, free: 14.69 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001111/0.6553, allocations: 39.75 kB / 0.9577 GB, free: 14.65 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001439/0.6568, allocations: 0.5708 MB / 0.9582 GB, free: 14.08 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.004111/0.6609, allocations: 1.847 MB / 0.96 GB, free: 12.22 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.002717/0.6636, allocations: 1.185 MB / 0.9612 GB, free: 11.05 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.003479/0.6671, allocations: 2.944 MB / 0.9641 GB, free: 8.094 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001233/0.6684, allocations: 0.9408 MB / 0.965 GB, free: 7.145 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001705/0.6701, allocations: 1.062 MB / 0.966 GB, free: 6.082 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001727/0.6718, allocations: 0.9151 MB / 0.9669 GB, free: 5.176 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001616/0.672, allocations: 108 kB / 0.967 GB, free: 5.07 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002618/0.6746, allocations: 1.426 MB / 0.9684 GB, free: 3.641 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0004592/0.6751, allocations: 462.8 kB / 0.9689 GB, free: 3.188 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.000703/0.6758, allocations: 0.6534 MB / 0.9695 GB, free: 2.531 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.002752/0.6786, allocations: 2.141 MB / 0.9716 GB, free: 392 kB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.6786, allocations: 4 kB / 0.9716 GB, free: 388 kB / 0.7169 GB Notification: Performance of FrontEnd: time 1.233e-06/0.6786, allocations: 3.938 kB / 0.9716 GB, free: 384 kB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.268e-05/0.6786, allocations: 0 / 0.9716 GB, free: 384 kB / 0.7169 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.002384/0.681, allocations: 1.549 MB / 0.9731 GB, free: 14.77 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.849e-05/0.681, allocations: 8.031 kB / 0.9731 GB, free: 14.76 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001722/0.6812, allocations: 135.2 kB / 0.9732 GB, free: 14.62 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001888/0.6831, allocations: 323 kB / 0.9736 GB, free: 14.3 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001353/0.6845, allocations: 0.8715 MB / 0.9744 GB, free: 13.39 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.139e-05/0.6845, allocations: 66 kB / 0.9745 GB, free: 13.32 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001362/0.6847, allocations: 80 kB / 0.9745 GB, free: 13.25 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00154/0.6862, allocations: 0.9091 MB / 0.9754 GB, free: 12.33 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.156e-05/0.6863, allocations: 0 / 0.9754 GB, free: 12.33 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.713e-05/0.6864, allocations: 43.94 kB / 0.9755 GB, free: 12.29 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.014e-05/0.6864, allocations: 30 kB / 0.9755 GB, free: 12.25 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001409/0.6878, allocations: 0.8276 MB / 0.9763 GB, free: 11.43 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.00525/0.6931, allocations: 3.523 MB / 0.9797 GB, free: 7.691 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007767/0.6939, allocations: 0.5014 MB / 0.9802 GB, free: 7.188 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004552/0.6943, allocations: 290 kB / 0.9805 GB, free: 6.902 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001931/0.6945, allocations: 105.5 kB / 0.9806 GB, free: 6.777 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.339e-05/0.6946, allocations: 39 kB / 0.9807 GB, free: 6.73 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=47): time 3.767e-06/0.6946, allocations: 0 / 0.9807 GB, free: 6.73 MB / 0.7325 GB Notification: Performance of matching and sorting (n=49): time 0.003866/0.6985, allocations: 1.948 MB / 0.9826 GB, free: 4.688 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.436e-05/0.6985, allocations: 55.84 kB / 0.9826 GB, free: 4.621 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009771/0.6995, allocations: 0.8019 MB / 0.9834 GB, free: 3.809 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 5.953e-05/0.6996, allocations: 41.7 kB / 0.9834 GB, free: 3.762 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003666/0.6999, allocations: 480.3 kB / 0.9839 GB, free: 3.289 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001612/0.7001, allocations: 186.4 kB / 0.9841 GB, free: 3.105 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001868/0.7003, allocations: 110.3 kB / 0.9842 GB, free: 2.988 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001507/0.7005, allocations: 337.9 kB / 0.9845 GB, free: 2.652 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004325/0.7009, allocations: 241.2 kB / 0.9847 GB, free: 2.418 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005233/0.7014, allocations: 352.9 kB / 0.9851 GB, free: 2.039 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.003695/0.7051, allocations: 1.542 MB / 0.9866 GB, free: 456 kB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.17e-06/0.7051, allocations: 4 kB / 0.9866 GB, free: 452 kB / 0.7325 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001351/0.7065, allocations: 0.7814 MB / 0.9873 GB, free: 15.65 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.1e-05/0.7065, allocations: 8 kB / 0.9873 GB, free: 15.64 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/0.7065, allocations: 0 / 0.9873 GB, free: 15.64 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002959/0.7068, allocations: 101.6 kB / 0.9874 GB, free: 15.54 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006352/0.7075, allocations: 139.9 kB / 0.9876 GB, free: 15.4 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003098/0.7106, allocations: 3.305 MB / 0.9908 GB, free: 11.81 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007653/0.7114, allocations: 27.86 kB / 0.9908 GB, free: 11.79 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.945e-05/0.7114, allocations: 20 kB / 0.9908 GB, free: 11.77 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.000467/0.7119, allocations: 312.3 kB / 0.9911 GB, free: 11.46 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001589/0.7121, allocations: 99.5 kB / 0.9912 GB, free: 11.36 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001738/0.7123, allocations: 104.7 kB / 0.9913 GB, free: 11.25 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.869e-06/0.7123, allocations: 4 kB / 0.9913 GB, free: 11.25 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.376e-06/0.7123, allocations: 0 / 0.9913 GB, free: 11.25 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001076/0.7133, allocations: 0.8426 MB / 0.9922 GB, free: 10.32 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002847/0.7162, allocations: 1.8 MB / 0.9939 GB, free: 8.422 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.721e-06/0.7162, allocations: 4 kB / 0.9939 GB, free: 8.418 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005928/0.7168, allocations: 127.8 kB / 0.994 GB, free: 8.293 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002256/0.7171, allocations: 73.66 kB / 0.9941 GB, free: 8.219 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.797e-05/0.7171, allocations: 19.98 kB / 0.9941 GB, free: 8.199 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001747/0.7189, allocations: 1.779 MB / 0.9959 GB, free: 6.281 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.422e-06/0.7189, allocations: 7.938 kB / 0.9959 GB, free: 6.273 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001609/0.7205, allocations: 1.07 MB / 0.9969 GB, free: 5.145 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004058/0.7209, allocations: 240.3 kB / 0.9972 GB, free: 4.891 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001025/0.721, allocations: 19.98 kB / 0.9972 GB, free: 4.871 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007027/0.7217, allocations: 29.61 kB / 0.9972 GB, free: 4.844 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001051/0.7218, allocations: 47.89 kB / 0.9972 GB, free: 4.797 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.152e-05/0.7219, allocations: 27.98 kB / 0.9973 GB, free: 4.77 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0007218/0.7226, allocations: 0.5615 MB / 0.9978 GB, free: 4.215 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7226, allocations: 0 / 0.9978 GB, free: 4.215 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0009677/0.7236, allocations: 283.9 kB / 0.9981 GB, free: 3.938 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.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.002194/0.7258, allocations: 1.707 MB / 0.9998 GB, free: 2.164 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.00131/0.7271, allocations: 0.8077 MB / 1.001 GB, free: 1.332 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.175e-06/0.7272, allocations: 0 / 1.001 GB, free: 1.332 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0005839/0.7277, allocations: 411.8 kB / 1.001 GB, free: 0.918 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002437/0.7302, allocations: 0.6142 MB / 1.002 GB, free: 324 kB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009464/0.7397, allocations: 7.005 MB / 1.008 GB, free: 9.035 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007366/0.7404, allocations: 1.084 MB / 1.009 GB, free: 7.918 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.0007351/0.7412, allocations: 215.7 kB / 1.01 GB, free: 7.703 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004582/0.7416, allocations: 343.3 kB / 1.01 GB, free: 7.367 MB / 0.7637 GB Notification: Performance of SimCode: time 7.52e-07/0.7416, allocations: 4 kB / 1.01 GB, free: 7.363 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5713/1.313, allocations: 28.03 MB / 1.037 GB, free: 11.86 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.3/13.62, allocations: 7.688 kB / 1.037 GB, free: 11.85 MB / 0.795 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)