Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow,fileNamePrefix="IBPSA_latest_IBPSA_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.001391/0.001391, allocations: 105.8 kB / 16.27 MB, free: 6.105 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.001181/0.001182, allocations: 186 kB / 17.2 MB, free: 5.719 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.381/1.381, allocations: 222.9 MB / 240.9 MB, free: 15.26 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7424/0.7424, allocations: 122.9 MB / 413.9 MB, free: 15.88 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001308/0.001309, allocations: 67.91 kB / 0.4912 GB, free: 7.32 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3235/0.3249, allocations: 77.91 MB / 0.5673 GB, free: 32.72 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow): time 0.4971/0.8221, allocations: 190.6 MB / 0.7534 GB, free: 1.84 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.008104/0.8302, allocations: 5.729 MB / 0.759 GB, free: 1.785 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001028/0.8313, allocations: 42.25 kB / 0.759 GB, free: 1.785 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.00131/0.8327, allocations: 0.5814 MB / 0.7596 GB, free: 1.773 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.004368/0.837, allocations: 1.838 MB / 0.7614 GB, free: 1.703 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002957/0.84, allocations: 1.171 MB / 0.7625 GB, free: 1.676 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.003747/0.8438, allocations: 2.95 MB / 0.7654 GB, free: 1.672 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001287/0.8451, allocations: 0.9573 MB / 0.7663 GB, free: 1.582 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001755/0.8468, allocations: 1.047 MB / 0.7673 GB, free: 1.582 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001584/0.8484, allocations: 0.9064 MB / 0.7682 GB, free: 1.582 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0002015/0.8486, allocations: 111.9 kB / 0.7683 GB, free: 1.582 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002667/0.8513, allocations: 1.429 MB / 0.7697 GB, free: 1.566 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0004198/0.8517, allocations: 463 kB / 0.7702 GB, free: 1.566 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0007872/0.8525, allocations: 0.6566 MB / 0.7708 GB, free: 1.566 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.002611/0.8552, allocations: 2.117 MB / 0.7729 GB, free: 1.453 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.8552, allocations: 0 / 0.7729 GB, free: 1.453 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.343e-06/0.8552, allocations: 0 / 0.7729 GB, free: 1.453 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.711e-05/0.8552, allocations: 1.75 kB / 0.7729 GB, free: 1.453 MB / 0.5762 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.002623/0.8578, allocations: 1.521 MB / 0.7744 GB, free: 16.68 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.896e-05/0.8579, allocations: 10.25 kB / 0.7744 GB, free: 16.68 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001601/0.858, allocations: 137 kB / 0.7745 GB, free: 16.64 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001945/0.86, allocations: 314.8 kB / 0.7748 GB, free: 16.58 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001163/0.8612, allocations: 0.8163 MB / 0.7756 GB, free: 16.26 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.791e-05/0.8612, allocations: 63.75 kB / 0.7757 GB, free: 16.25 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001091/0.8613, allocations: 87.12 kB / 0.7758 GB, free: 16.25 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001311/0.8626, allocations: 0.9146 MB / 0.7766 GB, free: 16.19 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.04e-05/0.8627, allocations: 2.812 kB / 0.7766 GB, free: 16.19 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.365e-05/0.8628, allocations: 37.16 kB / 0.7767 GB, free: 16.19 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.201e-05/0.8628, allocations: 33.59 kB / 0.7767 GB, free: 16.19 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001171/0.864, allocations: 0.8307 MB / 0.7775 GB, free: 16.18 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.004554/0.8685, allocations: 3.544 MB / 0.781 GB, free: 14.87 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000648/0.8692, allocations: 0.4962 MB / 0.7815 GB, free: 14.84 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004093/0.8696, allocations: 293.1 kB / 0.7818 GB, free: 14.83 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001752/0.8698, allocations: 104.5 kB / 0.7819 GB, free: 14.73 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.112e-05/0.8699, allocations: 42.34 kB / 0.7819 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=47): time 3.005e-06/0.8699, allocations: 2.094 kB / 0.7819 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of matching and sorting (n=49): time 0.003504/0.8734, allocations: 1.914 MB / 0.7838 GB, free: 14.04 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.138e-05/0.8734, allocations: 60.97 kB / 0.7838 GB, free: 13.97 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007624/0.8742, allocations: 0.8049 MB / 0.7846 GB, free: 13.83 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 4.983e-05/0.8743, allocations: 39.23 kB / 0.7846 GB, free: 13.8 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002521/0.8745, allocations: 476.7 kB / 0.7851 GB, free: 13.59 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001298/0.8747, allocations: 173.5 kB / 0.7853 GB, free: 13.48 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001621/0.8748, allocations: 113 kB / 0.7854 GB, free: 13.46 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001003/0.8749, allocations: 325.5 kB / 0.7857 GB, free: 13.16 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003516/0.8753, allocations: 247.6 kB / 0.7859 GB, free: 13.16 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004302/0.8757, allocations: 352.9 kB / 0.7863 GB, free: 13.06 MB / 0.5919 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.003164/0.8789, allocations: 1.54 MB / 0.7878 GB, free: 12.85 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.956e-06/0.8789, allocations: 0 / 0.7878 GB, free: 12.85 MB / 0.5919 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001075/0.88, allocations: 0.7861 MB / 0.7885 GB, free: 12.75 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.368e-05/0.88, allocations: 5.812 kB / 0.7885 GB, free: 12.75 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/0.88, allocations: 2.719 kB / 0.7885 GB, free: 12.75 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002582/0.8803, allocations: 101.7 kB / 0.7886 GB, free: 12.73 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005912/0.8809, allocations: 141.9 kB / 0.7888 GB, free: 12.73 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002478/0.8834, allocations: 3.311 MB / 0.792 GB, free: 10.02 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000824/0.8842, allocations: 23.33 kB / 0.792 GB, free: 10.02 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.7e-05/0.8843, allocations: 30.45 kB / 0.7921 GB, free: 10.02 MB / 0.5919 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.0004169/0.8847, allocations: 307.7 kB / 0.7923 GB, free: 9.898 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001375/0.8848, allocations: 90.41 kB / 0.7924 GB, free: 9.855 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001418/0.885, allocations: 104.6 kB / 0.7925 GB, free: 9.84 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.168e-06/0.885, allocations: 5.062 kB / 0.7925 GB, free: 9.84 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.631e-06/0.885, allocations: 0.9375 kB / 0.7925 GB, free: 9.84 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008992/0.8859, allocations: 0.8394 MB / 0.7934 GB, free: 9.383 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002451/0.8884, allocations: 1.786 MB / 0.7951 GB, free: 8.965 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.43e-06/0.8884, allocations: 5.531 kB / 0.7951 GB, free: 8.965 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005495/0.889, allocations: 129.1 kB / 0.7952 GB, free: 8.961 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002/0.8892, allocations: 74.14 kB / 0.7953 GB, free: 8.953 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.39e-05/0.8892, allocations: 16.23 kB / 0.7953 GB, free: 8.953 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00159/0.8908, allocations: 1.783 MB / 0.7971 GB, free: 7.598 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.14e-06/0.8908, allocations: 6.969 kB / 0.7971 GB, free: 7.598 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001561/0.8924, allocations: 1.069 MB / 0.7981 GB, free: 7.289 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004238/0.8928, allocations: 236.3 kB / 0.7983 GB, free: 7.152 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00017/0.893, allocations: 12.25 kB / 0.7983 GB, free: 7.152 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007568/0.8938, allocations: 37.83 kB / 0.7984 GB, free: 7.152 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001055/0.8939, allocations: 45.14 kB / 0.7984 GB, free: 7.145 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.272e-05/0.894, allocations: 28.09 kB / 0.7985 GB, free: 7.145 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0006802/0.8946, allocations: 0.5651 MB / 0.799 GB, free: 7.051 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2.51e-07/0.8947, allocations: 1.812 kB / 0.799 GB, free: 7.051 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.000944/0.8956, allocations: 286.3 kB / 0.7993 GB, free: 7.047 MB / 0.5919 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.001923/0.8975, allocations: 1.693 MB / 0.8009 GB, free: 6.215 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001322/0.8989, allocations: 0.8499 MB / 0.8018 GB, free: 5.984 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 5.069e-06/0.8989, allocations: 2.094 kB / 0.8018 GB, free: 5.984 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0005156/0.8994, allocations: 426.7 kB / 0.8022 GB, free: 5.855 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002674/0.9021, allocations: 0.6115 MB / 0.8028 GB, free: 5.801 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01065/0.9127, allocations: 7.282 MB / 0.8099 GB, free: 3.02 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007574/0.9135, allocations: 1.096 MB / 0.8109 GB, free: 2.301 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001167/0.9147, allocations: 219.6 kB / 0.8112 GB, free: 2.242 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004888/0.9152, allocations: 342.3 kB / 0.8115 GB, free: 2.234 MB / 0.5919 GB Notification: Performance of SimCode: time 7.41e-07/0.9152, allocations: 0 / 0.8115 GB, free: 2.234 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05956/0.9748, allocations: 27.8 MB / 0.8386 GB, free: 12.64 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.62/14.59, allocations: 20.33 kB / 0.8386 GB, free: 12.63 MB / 0.6231 GB (rm -f IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlow_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-08 IBPSA_latest_IBPSA_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlow.fmu > IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe 2>&1)