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: translateModel(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow") translateModel(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001243/0.001243, allocations: 115.3 kB / 15.34 MB, free: 0.5117 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.001501/0.001501, allocations: 192.3 kB / 16.25 MB, free: 6.637 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.346/1.346, allocations: 222.9 MB / 239.9 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002201/0.002201, allocations: 298.4 kB / 290.4 MB, free: 2.137 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9751/0.9751, allocations: 169.2 MB / 0.4978 GB, free: 14.05 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001679/0.00168, allocations: 89.47 kB / 0.5947 GB, free: 28.08 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1775/0.1792, allocations: 86.99 MB / 0.6796 GB, free: 1.051 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow): time 0.5771/0.7563, allocations: 188.1 MB / 0.8633 GB, free: 2.41 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.009627/0.766, allocations: 5.691 MB / 0.8689 GB, free: 13.78 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001861/0.7679, allocations: 32 kB / 0.8689 GB, free: 13.77 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.002278/0.7703, allocations: 0.5163 MB / 0.8694 GB, free: 13.35 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.006788/0.7771, allocations: 1.741 MB / 0.8711 GB, free: 12.01 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.004122/0.7812, allocations: 1.091 MB / 0.8722 GB, free: 11.21 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.004279/0.7855, allocations: 2.933 MB / 0.875 GB, free: 9.551 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001206/0.7867, allocations: 0.9423 MB / 0.8759 GB, free: 8.961 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001819/0.7885, allocations: 1.058 MB / 0.877 GB, free: 8.355 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002014/0.7906, allocations: 0.9792 MB / 0.8779 GB, free: 7.789 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.000171/0.7907, allocations: 107.9 kB / 0.878 GB, free: 7.789 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003138/0.7939, allocations: 1.5 MB / 0.8795 GB, free: 6.984 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0005269/0.7944, allocations: 460.8 kB / 0.8799 GB, free: 6.676 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0008076/0.7952, allocations: 0.6599 MB / 0.8806 GB, free: 6.258 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.003038/0.7983, allocations: 2.213 MB / 0.8827 GB, free: 4.824 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 7.173e-06/0.7983, allocations: 7.219 kB / 0.8828 GB, free: 4.82 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.623e-06/0.7983, allocations: 0 / 0.8828 GB, free: 4.82 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 2.192e-05/0.7983, allocations: 0 / 0.8828 GB, free: 4.82 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.002508/0.8009, allocations: 1.522 MB / 0.8842 GB, free: 3.68 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.035e-05/0.8009, allocations: 10.12 kB / 0.8843 GB, free: 3.68 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002008/0.8029, allocations: 309.3 kB / 0.8845 GB, free: 3.543 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001294/0.8042, allocations: 0.8132 MB / 0.8853 GB, free: 2.902 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.148e-05/0.8043, allocations: 65.12 kB / 0.8854 GB, free: 2.871 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001229/0.8044, allocations: 82.47 kB / 0.8855 GB, free: 2.844 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001592/0.806, allocations: 0.924 MB / 0.8864 GB, free: 2.316 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.457e-05/0.8061, allocations: 0 / 0.8864 GB, free: 2.316 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.229e-05/0.8062, allocations: 41.31 kB / 0.8864 GB, free: 2.285 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.738e-05/0.8062, allocations: 36.62 kB / 0.8865 GB, free: 2.281 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001479/0.8077, allocations: 0.8293 MB / 0.8873 GB, free: 1.879 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.0055/0.8132, allocations: 3.521 MB / 0.8907 GB, free: 15.1 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007467/0.814, allocations: 0.4973 MB / 0.8912 GB, free: 14.83 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004427/0.8144, allocations: 293.7 kB / 0.8915 GB, free: 14.6 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002162/0.8146, allocations: 105.5 kB / 0.8916 GB, free: 14.48 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.591e-05/0.8147, allocations: 43 kB / 0.8916 GB, free: 14.43 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=47): time 2.365e-06/0.8147, allocations: 0 / 0.8916 GB, free: 14.43 MB / 0.6075 GB Notification: Performance of matching and sorting (n=49): time 0.004071/0.8188, allocations: 1.915 MB / 0.8935 GB, free: 12.41 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.48e-05/0.8188, allocations: 59.84 kB / 0.8935 GB, free: 12.34 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001001/0.8198, allocations: 0.8097 MB / 0.8943 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 7.161e-05/0.8199, allocations: 33.7 kB / 0.8944 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003272/0.8202, allocations: 483.3 kB / 0.8948 GB, free: 11 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.000155/0.8204, allocations: 173.5 kB / 0.895 GB, free: 10.83 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001893/0.8206, allocations: 106.2 kB / 0.8951 GB, free: 10.72 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001147/0.8207, allocations: 337.9 kB / 0.8954 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004258/0.8212, allocations: 241.2 kB / 0.8956 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005/0.8217, allocations: 357.2 kB / 0.896 GB, free: 9.766 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.003642/0.8253, allocations: 1.54 MB / 0.8975 GB, free: 8.176 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.816e-06/0.8253, allocations: 0 / 0.8975 GB, free: 8.176 MB / 0.6075 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001301/0.8266, allocations: 0.7807 MB / 0.8983 GB, free: 7.379 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.861e-05/0.8267, allocations: 8 kB / 0.8983 GB, free: 7.371 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.278e-06/0.8267, allocations: 4 kB / 0.8983 GB, free: 7.367 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003068/0.827, allocations: 97.86 kB / 0.8984 GB, free: 7.266 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006437/0.8276, allocations: 147.7 kB / 0.8985 GB, free: 7.125 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002971/0.8306, allocations: 3.301 MB / 0.9017 GB, free: 3.547 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009178/0.8316, allocations: 59.8 kB / 0.9018 GB, free: 3.488 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.083e-05/0.8316, allocations: 27.88 kB / 0.9018 GB, free: 3.461 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.0004589/0.8321, allocations: 295.7 kB / 0.9021 GB, free: 3.164 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001773/0.8323, allocations: 90.95 kB / 0.9022 GB, free: 3.074 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001847/0.8325, allocations: 104.7 kB / 0.9023 GB, free: 2.969 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.382e-06/0.8325, allocations: 8 kB / 0.9023 GB, free: 2.961 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.8325, allocations: 3.938 kB / 0.9023 GB, free: 2.957 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001018/0.8335, allocations: 0.8388 MB / 0.9031 GB, free: 2.031 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002863/0.8364, allocations: 1.806 MB / 0.9049 GB, free: 128 kB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.972e-06/0.8364, allocations: 4 kB / 0.9049 GB, free: 124 kB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006081/0.837, allocations: 127.9 kB / 0.905 GB, free: 15.99 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002261/0.8373, allocations: 61.58 kB / 0.9051 GB, free: 15.93 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.6e-05/0.8373, allocations: 20.09 kB / 0.9051 GB, free: 15.91 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001638/0.839, allocations: 1.787 MB / 0.9068 GB, free: 13.99 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.338e-06/0.839, allocations: 7.938 kB / 0.9068 GB, free: 13.98 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001567/0.8406, allocations: 1.072 MB / 0.9079 GB, free: 12.85 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004085/0.841, allocations: 236 kB / 0.9081 GB, free: 12.6 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001496/0.8411, allocations: 16 kB / 0.9081 GB, free: 12.59 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008016/0.8419, allocations: 60.27 kB / 0.9082 GB, free: 12.53 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001183/0.8421, allocations: 55.81 kB / 0.9082 GB, free: 12.48 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.79e-05/0.8421, allocations: 27.98 kB / 0.9082 GB, free: 12.45 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0007118/0.8429, allocations: 0.5537 MB / 0.9088 GB, free: 11.9 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8429, allocations: 0 / 0.9088 GB, free: 11.9 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0009461/0.8438, allocations: 288 kB / 0.9091 GB, free: 11.62 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.0004552/0.8443, allocations: 194 kB / 0.9092 GB, free: 11.43 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.00145/0.8457, allocations: 0.8628 MB / 0.9101 GB, free: 10.54 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 7.344e-06/0.8458, allocations: 4 kB / 0.9101 GB, free: 10.54 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0005912/0.8464, allocations: 411.5 kB / 0.9105 GB, free: 10.12 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002632/0.849, allocations: 0.6097 MB / 0.9111 GB, free: 9.531 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00316/0.8522, allocations: 2.182 MB / 0.9132 GB, free: 7.273 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007645/0.853, allocations: 1.084 MB / 0.9143 GB, free: 6.156 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.001007/0.854, allocations: 207.7 kB / 0.9145 GB, free: 5.949 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002373/0.8542, allocations: 75.44 kB / 0.9145 GB, free: 5.879 MB / 0.6231 GB Notification: Performance of SimCode: time 7.11e-07/0.8542, allocations: 0 / 0.9145 GB, free: 5.879 MB / 0.6231 GB Notification: Performance of Templates: time 0.03478/0.889, allocations: 20.42 MB / 0.9345 GB, free: 1.785 MB / 0.6387 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.makefile (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 & ./BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe 2>&1)