Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IBPSA with version 3.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow") translateModel(IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009869/0.000987, allocations: 174 kB / 16.07 MB, free: 5.598 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 0.4386/0.4386, allocations: 89.07 MB / 105.9 MB, free: 12.45 MB / 90.72 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.275/1.275, allocations: 225.7 MB / 353.2 MB, free: 1.105 MB / 282.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007343/0.0007343, allocations: 97.5 kB / 425.4 MB, free: 6.672 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002922/0.000292, allocations: 12 kB / 0.4955 GB, free: 4.562 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2809/0.2812, allocations: 71.33 MB / 0.5652 GB, free: 42.38 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow): time 0.4215/0.7027, allocations: 181.6 MB / 0.7426 GB, free: 11.84 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.008528/0.7113, allocations: 7.716 MB / 0.7501 GB, free: 9.07 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001129/0.7124, allocations: 29.03 kB / 0.7501 GB, free: 9.07 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.001276/0.7137, allocations: 0.4934 MB / 0.7506 GB, free: 9.059 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.004015/0.7178, allocations: 1.735 MB / 0.7523 GB, free: 8.969 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.002552/0.7203, allocations: 1.07 MB / 0.7533 GB, free: 8.918 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.003665/0.724, allocations: 4.065 MB / 0.7573 GB, free: 8.906 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009988/0.725, allocations: 0.7801 MB / 0.7581 GB, free: 8.793 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00149/0.7265, allocations: 0.8947 MB / 0.7589 GB, free: 8.793 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00184/0.7284, allocations: 0.907 MB / 0.7598 GB, free: 8.781 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.0001331/0.7285, allocations: 42.73 kB / 0.7599 GB, free: 8.781 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002879/0.7314, allocations: 1.603 MB / 0.7614 GB, free: 8.762 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.0003749/0.7318, allocations: 380.7 kB / 0.7618 GB, free: 8.758 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.0006692/0.7325, allocations: 0.5913 MB / 0.7624 GB, free: 8.727 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.002811/0.7353, allocations: 2.141 MB / 0.7645 GB, free: 8.602 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.7353, allocations: 0 / 0.7645 GB, free: 8.602 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.503e-06/0.7353, allocations: 0 / 0.7645 GB, free: 8.602 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.8e-05/0.7353, allocations: 2.938 kB / 0.7645 GB, free: 8.602 MB / 0.5105 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.002194/0.7375, allocations: 1.286 MB / 0.7657 GB, free: 7.715 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.308e-05/0.7376, allocations: 9.375 kB / 0.7657 GB, free: 7.715 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001736/0.7393, allocations: 315.7 kB / 0.766 GB, free: 7.594 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001063/0.7404, allocations: 0.7951 MB / 0.7668 GB, free: 7.156 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.63e-05/0.7405, allocations: 64.78 kB / 0.7669 GB, free: 7.152 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001241/0.7406, allocations: 87.06 kB / 0.767 GB, free: 7.148 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001468/0.7421, allocations: 0.9167 MB / 0.7679 GB, free: 6.918 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.136e-05/0.7421, allocations: 0 / 0.7679 GB, free: 6.918 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.771e-05/0.7422, allocations: 39.62 kB / 0.7679 GB, free: 6.918 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.199e-05/0.7422, allocations: 31.28 kB / 0.7679 GB, free: 6.918 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001224/0.7435, allocations: 0.8338 MB / 0.7687 GB, free: 6.766 MB / 0.5105 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.004637/0.7481, allocations: 3.524 MB / 0.7722 GB, free: 4.816 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006658/0.7488, allocations: 0.5022 MB / 0.7727 GB, free: 4.727 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004065/0.7492, allocations: 301.5 kB / 0.773 GB, free: 4.676 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001751/0.7494, allocations: 102.1 kB / 0.7731 GB, free: 4.578 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.772e-05/0.7494, allocations: 39.91 kB / 0.7731 GB, free: 4.539 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=47): time 3.356e-06/0.7494, allocations: 3.984 kB / 0.7731 GB, free: 4.535 MB / 0.5105 GB Notification: Performance of matching and sorting (n=49): time 0.003866/0.7533, allocations: 1.935 MB / 0.775 GB, free: 3.68 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.543e-05/0.7534, allocations: 60.97 kB / 0.775 GB, free: 3.617 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001039/0.7544, allocations: 0.7924 MB / 0.7758 GB, free: 3.363 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 6.035e-05/0.7545, allocations: 39.7 kB / 0.7759 GB, free: 3.332 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003618/0.7549, allocations: 474.6 kB / 0.7763 GB, free: 3.074 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001813/0.755, allocations: 176.7 kB / 0.7765 GB, free: 2.949 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.091e-05/0.7551, allocations: 12.47 kB / 0.7765 GB, free: 2.949 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001786/0.7553, allocations: 332 kB / 0.7768 GB, free: 2.633 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004293/0.7557, allocations: 240.3 kB / 0.777 GB, free: 2.598 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005695/0.7563, allocations: 368.4 kB / 0.7774 GB, free: 2.43 MB / 0.5105 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.003532/0.7598, allocations: 1.552 MB / 0.7789 GB, free: 1.977 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.018e-06/0.7598, allocations: 0 / 0.7789 GB, free: 1.977 MB / 0.5105 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001209/0.7611, allocations: 0.7904 MB / 0.7797 GB, free: 1.785 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.903e-05/0.7611, allocations: 8.031 kB / 0.7797 GB, free: 1.785 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.086e-05/0.7611, allocations: 7.156 kB / 0.7797 GB, free: 1.781 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000273/0.7614, allocations: 98.8 kB / 0.7798 GB, free: 1.742 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006211/0.762, allocations: 150.5 kB / 0.7799 GB, free: 1.723 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002695/0.7647, allocations: 3.058 MB / 0.7829 GB, free: 15.04 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009054/0.7656, allocations: 61.61 kB / 0.783 GB, free: 15.02 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.925e-05/0.7657, allocations: 27.25 kB / 0.783 GB, free: 15.02 MB / 0.5261 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: 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.0004467/0.7662, allocations: 302.8 kB / 0.7833 GB, free: 14.88 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001232/0.7663, allocations: 92.84 kB / 0.7834 GB, free: 14.83 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001586/0.7665, allocations: 99.12 kB / 0.7835 GB, free: 14.8 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.7665, allocations: 3.531 kB / 0.7835 GB, free: 14.8 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.113e-06/0.7665, allocations: 1.781 kB / 0.7835 GB, free: 14.8 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001004/0.7675, allocations: 0.8524 MB / 0.7843 GB, free: 14.28 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002728/0.7702, allocations: 1.793 MB / 0.7861 GB, free: 13.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.22e-06/0.7702, allocations: 4 kB / 0.7861 GB, free: 13.3 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006126/0.7709, allocations: 144.5 kB / 0.7862 GB, free: 13.17 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000212/0.7711, allocations: 67.16 kB / 0.7863 GB, free: 13.11 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.629e-05/0.7712, allocations: 18.44 kB / 0.7863 GB, free: 13.1 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001448/0.7726, allocations: 1.655 MB / 0.7879 GB, free: 11.5 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.24e-06/0.7726, allocations: 6.531 kB / 0.7879 GB, free: 11.5 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001528/0.7742, allocations: 1.11 MB / 0.789 GB, free: 10.62 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003679/0.7745, allocations: 230 kB / 0.7892 GB, free: 10.41 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001074/0.7747, allocations: 18.72 kB / 0.7892 GB, free: 10.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007347/0.7754, allocations: 65.41 kB / 0.7893 GB, free: 10.34 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001079/0.7755, allocations: 52.91 kB / 0.7893 GB, free: 10.3 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.119e-05/0.7756, allocations: 34.42 kB / 0.7894 GB, free: 10.27 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0006619/0.7763, allocations: 0.5439 MB / 0.7899 GB, free: 9.867 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.283e-06/0.7763, allocations: 0 / 0.7899 GB, free: 9.867 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0008644/0.7771, allocations: 291.3 kB / 0.7902 GB, free: 9.605 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 2 (volDyn.dynBal.U,volDyn.dynBal.mXi[1]) * 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.0004644/0.7776, allocations: 197.1 kB / 0.7904 GB, free: 9.426 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.001286/0.7789, allocations: 0.8038 MB / 0.7912 GB, free: 8.781 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.7789, allocations: 0 / 0.7912 GB, free: 8.781 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0005724/0.7795, allocations: 413.9 kB / 0.7915 GB, free: 8.465 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002723/0.7822, allocations: 0.5858 MB / 0.7921 GB, free: 7.973 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002882/0.7851, allocations: 2.232 MB / 0.7943 GB, free: 5.859 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006403/0.7858, allocations: 1.088 MB / 0.7954 GB, free: 4.777 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0008905/0.7867, allocations: 207.5 kB / 0.7956 GB, free: 4.57 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001746/0.7869, allocations: 63.44 kB / 0.7956 GB, free: 4.508 MB / 0.5261 GB Notification: Performance of SimCode: time 7.31e-07/0.7869, allocations: 0 / 0.7956 GB, free: 4.508 MB / 0.5261 GB Notification: Performance of Templates: time 0.03256/0.8194, allocations: 19.57 MB / 0.8147 GB, free: 1.32 MB / 0.5417 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.makefile (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 & ./IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe 2>&1)