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.005445/0.005445, allocations: 104.6 kB / 15.74 MB, free: 6.039 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.001197/0.001198, allocations: 195.9 kB / 16.68 MB, free: 5.957 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.3/1.3, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002032/0.002032, allocations: 289.7 kB / 290.8 MB, free: 14.44 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9423/0.9423, allocations: 169.3 MB / 0.4983 GB, free: 4.441 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001741/0.001741, allocations: 91.86 kB / 0.6815 GB, free: 6.949 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4613/0.4631, allocations: 86.99 MB / 0.7664 GB, free: 3.785 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow): time 0.1998/0.663, allocations: 190.6 MB / 0.9525 GB, free: 4.496 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.4551/1.118, allocations: 5.736 MB / 0.9581 GB, free: 1.871 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001451/1.12, allocations: 40.94 kB / 0.9581 GB, free: 1.871 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001547/1.121, allocations: 0.5773 MB / 0.9587 GB, free: 1.871 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.004717/1.126, allocations: 1.843 MB / 0.9605 GB, free: 1.848 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.00321/1.129, allocations: 1.184 MB / 0.9617 GB, free: 1.816 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.004166/1.133, allocations: 2.944 MB / 0.9645 GB, free: 1.816 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001432/1.135, allocations: 0.9535 MB / 0.9655 GB, free: 1.738 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002067/1.137, allocations: 1.076 MB / 0.9665 GB, free: 1.734 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001537/1.138, allocations: 0.9045 MB / 0.9674 GB, free: 1.734 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001612/1.139, allocations: 109 kB / 0.9675 GB, free: 1.734 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002911/1.142, allocations: 1.432 MB / 0.9689 GB, free: 1.723 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0004028/1.142, allocations: 458.1 kB / 0.9693 GB, free: 1.723 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0006397/1.143, allocations: 0.6558 MB / 0.97 GB, free: 1.723 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.002432/1.145, allocations: 2.143 MB / 0.9721 GB, free: 1.605 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/1.145, allocations: 4.125 kB / 0.9721 GB, free: 1.605 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.543e-06/1.145, allocations: 0 / 0.9721 GB, free: 1.605 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.539e-05/1.145, allocations: 0 / 0.9721 GB, free: 1.605 MB / 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.002235/1.147, allocations: 1.513 MB / 0.9736 GB, free: 16.83 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.55e-05/1.147, allocations: 10.22 kB / 0.9736 GB, free: 16.83 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001784/1.149, allocations: 315.1 kB / 0.9739 GB, free: 16.77 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001309/1.15, allocations: 0.8547 MB / 0.9747 GB, free: 16.45 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.019e-05/1.151, allocations: 66.81 kB / 0.9748 GB, free: 16.45 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001099/1.151, allocations: 84.28 kB / 0.9748 GB, free: 16.45 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001365/1.152, allocations: 0.9109 MB / 0.9757 GB, free: 16.39 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.275e-05/1.152, allocations: 0 / 0.9757 GB, free: 16.39 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.02e-05/1.152, allocations: 39.03 kB / 0.9758 GB, free: 16.39 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.501e-05/1.152, allocations: 29.09 kB / 0.9758 GB, free: 16.38 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001233/1.153, allocations: 0.8308 MB / 0.9766 GB, free: 16.38 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.004691/1.158, allocations: 3.513 MB / 0.98 GB, free: 15.07 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006498/1.159, allocations: 0.4967 MB / 0.9805 GB, free: 15.04 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000376/1.159, allocations: 292.3 kB / 0.9808 GB, free: 15.03 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001764/1.159, allocations: 98.14 kB / 0.9809 GB, free: 14.93 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.111e-05/1.159, allocations: 44.83 kB / 0.9809 GB, free: 14.89 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=47): time 3.236e-06/1.159, allocations: 4.125 kB / 0.9809 GB, free: 14.89 MB / 0.7325 GB Notification: Performance of matching and sorting (n=49): time 0.003927/1.163, allocations: 1.914 MB / 0.9828 GB, free: 14.24 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.423e-05/1.163, allocations: 55.62 kB / 0.9829 GB, free: 14.18 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008376/1.164, allocations: 0.8088 MB / 0.9837 GB, free: 14.04 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 5.588e-05/1.164, allocations: 35.3 kB / 0.9837 GB, free: 14.01 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002749/1.165, allocations: 475.6 kB / 0.9841 GB, free: 13.8 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001408/1.165, allocations: 179 kB / 0.9843 GB, free: 13.7 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001835/1.165, allocations: 109.8 kB / 0.9844 GB, free: 13.68 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001198/1.165, allocations: 331.9 kB / 0.9847 GB, free: 13.37 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003644/1.165, allocations: 245.2 kB / 0.985 GB, free: 13.37 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004481/1.166, allocations: 363.4 kB / 0.9853 GB, free: 13.27 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.003283/1.169, allocations: 1.532 MB / 0.9868 GB, free: 13.06 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/1.169, allocations: 0.7812 kB / 0.9868 GB, free: 13.06 MB / 0.7325 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001109/1.17, allocations: 0.7817 MB / 0.9876 GB, free: 12.96 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.641e-05/1.17, allocations: 7.625 kB / 0.9876 GB, free: 12.96 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.474e-06/1.17, allocations: 7.031 kB / 0.9876 GB, free: 12.96 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002689/1.171, allocations: 103.1 kB / 0.9877 GB, free: 12.95 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005913/1.171, allocations: 137.5 kB / 0.9878 GB, free: 12.95 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002633/1.174, allocations: 3.3 MB / 0.991 GB, free: 10.24 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007249/1.175, allocations: 30.45 kB / 0.9911 GB, free: 10.23 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.577e-05/1.175, allocations: 23.16 kB / 0.9911 GB, free: 10.23 MB / 0.7325 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.0003707/1.175, allocations: 308.1 kB / 0.9914 GB, free: 10.11 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001344/1.175, allocations: 87.38 kB / 0.9915 GB, free: 10.07 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001665/1.175, allocations: 104.5 kB / 0.9916 GB, free: 10.05 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.586e-06/1.175, allocations: 2.562 kB / 0.9916 GB, free: 10.05 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.953e-06/1.175, allocations: 1.094 kB / 0.9916 GB, free: 10.05 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009275/1.176, allocations: 0.8499 MB / 0.9924 GB, free: 9.594 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002441/1.179, allocations: 1.787 MB / 0.9942 GB, free: 9.176 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.118e-06/1.179, allocations: 4.781 kB / 0.9942 GB, free: 9.176 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005645/1.179, allocations: 127.7 kB / 0.9943 GB, free: 9.176 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001974/1.18, allocations: 70.47 kB / 0.9943 GB, free: 9.168 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.376e-05/1.18, allocations: 12.12 kB / 0.9944 GB, free: 9.168 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001434/1.181, allocations: 1.783 MB / 0.9961 GB, free: 7.82 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/1.181, allocations: 6.812 kB / 0.9961 GB, free: 7.82 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001324/1.182, allocations: 1.07 MB / 0.9972 GB, free: 7.523 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003732/1.183, allocations: 235.8 kB / 0.9974 GB, free: 7.383 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001002/1.183, allocations: 16.83 kB / 0.9974 GB, free: 7.383 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006605/1.184, allocations: 29.81 kB / 0.9974 GB, free: 7.383 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.03e-05/1.184, allocations: 46.16 kB / 0.9975 GB, free: 7.379 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.518e-05/1.184, allocations: 31.78 kB / 0.9975 GB, free: 7.379 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0005581/1.184, allocations: 0.5578 MB / 0.998 GB, free: 7.289 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.7e-07/1.184, allocations: 0.6875 kB / 0.998 GB, free: 7.289 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0007476/1.185, allocations: 282 kB / 0.9983 GB, free: 7.289 MB / 0.7325 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.0003831/1.185, allocations: 194.6 kB / 0.9985 GB, free: 7.188 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001115/1.187, allocations: 0.8105 MB / 0.9993 GB, free: 6.953 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/1.187, allocations: 0.7812 kB / 0.9993 GB, free: 6.953 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.000493/1.187, allocations: 407.7 kB / 0.9997 GB, free: 6.844 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002553/1.19, allocations: 0.6096 MB / 1 GB, free: 6.766 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002357/1.192, allocations: 1.808 MB / 1.002 GB, free: 6.004 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005849/1.193, allocations: 1.086 MB / 1.003 GB, free: 5.297 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0006006/1.193, allocations: 217 kB / 1.003 GB, free: 5.266 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001643/1.193, allocations: 70.94 kB / 1.003 GB, free: 5.254 MB / 0.7325 GB Notification: Performance of SimCode: time 6.01e-07/1.193, allocations: 0 / 1.003 GB, free: 5.254 MB / 0.7325 GB Notification: Performance of Templates: time 0.03326/1.227, allocations: 21.1 MB / 1.024 GB, free: 15.66 MB / 0.7481 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)