Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.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.MixingVolumeTraceSubstanceReverseFlow,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow") translateModel(IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008613/0.0008613, allocations: 183.5 kB / 16.08 MB, free: 5.48 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.4417/0.4417, allocations: 89.07 MB / 105.9 MB, free: 12.46 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.265/1.265, allocations: 225.7 MB / 353.3 MB, free: 1.098 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.0007553/0.0007553, allocations: 90.48 kB / 425.4 MB, free: 6.648 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003397/0.0003398, allocations: 8 kB / 0.4955 GB, free: 4.531 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.292/0.2924, allocations: 71.33 MB / 0.5652 GB, free: 42.35 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow): time 0.4257/0.7181, allocations: 181.5 MB / 0.7425 GB, free: 11.82 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.008456/0.7266, allocations: 7.677 MB / 0.75 GB, free: 9.062 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008682/0.7275, allocations: 36.03 kB / 0.75 GB, free: 9.059 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.001167/0.7287, allocations: 0.4946 MB / 0.7505 GB, free: 9.047 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.003537/0.7322, allocations: 1.723 MB / 0.7522 GB, free: 8.957 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.00229/0.7345, allocations: 1.068 MB / 0.7532 GB, free: 8.898 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.003229/0.7378, allocations: 4.073 MB / 0.7572 GB, free: 8.883 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009822/0.7388, allocations: 0.9288 MB / 0.7581 GB, free: 8.723 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001251/0.74, allocations: 0.892 MB / 0.759 GB, free: 8.723 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001634/0.7417, allocations: 0.947 MB / 0.7599 GB, free: 8.715 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.0001248/0.7418, allocations: 46.22 kB / 0.7599 GB, free: 8.715 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00259/0.7444, allocations: 1.603 MB / 0.7615 GB, free: 8.699 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.0004121/0.7448, allocations: 494.6 kB / 0.762 GB, free: 8.691 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.0006081/0.7454, allocations: 0.6497 MB / 0.7626 GB, free: 8.66 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.002359/0.7478, allocations: 2.326 MB / 0.7649 GB, free: 8.395 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.7478, allocations: 6.516 kB / 0.7649 GB, free: 8.391 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.333e-06/0.7478, allocations: 0 / 0.7649 GB, free: 8.391 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.898e-05/0.7479, allocations: 0 / 0.7649 GB, free: 8.391 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: 248 * Number of variables: 248 Notification: Performance of Generate backend data structure: time 0.001882/0.7497, allocations: 1.36 MB / 0.7662 GB, free: 7.457 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.866e-05/0.7498, allocations: 12.12 kB / 0.7662 GB, free: 7.457 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001682/0.7515, allocations: 331.8 kB / 0.7665 GB, free: 7.324 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001073/0.7526, allocations: 0.861 MB / 0.7674 GB, free: 6.859 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.967e-05/0.7526, allocations: 73.47 kB / 0.7674 GB, free: 6.859 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001253/0.7527, allocations: 99.94 kB / 0.7675 GB, free: 6.859 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001569/0.7543, allocations: 1.08 MB / 0.7686 GB, free: 6.598 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.211e-05/0.7544, allocations: 3.938 kB / 0.7686 GB, free: 6.594 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.728e-05/0.7544, allocations: 41.62 kB / 0.7686 GB, free: 6.594 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.978e-05/0.7545, allocations: 43.56 kB / 0.7687 GB, free: 6.586 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001386/0.7559, allocations: 0.9928 MB / 0.7696 GB, free: 6.41 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.005105/0.761, allocations: 4.243 MB / 0.7738 GB, free: 3.949 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007938/0.7618, allocations: 0.595 MB / 0.7744 GB, free: 3.848 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000447/0.7623, allocations: 354.5 kB / 0.7747 GB, free: 3.785 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001798/0.7625, allocations: 109.7 kB / 0.7748 GB, free: 3.684 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.122e-05/0.7625, allocations: 43.56 kB / 0.7749 GB, free: 3.645 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=53): time 2.866e-06/0.7625, allocations: 0 / 0.7749 GB, free: 3.645 MB / 0.5105 GB Notification: Performance of matching and sorting (n=55): time 0.003589/0.7661, allocations: 2.214 MB / 0.777 GB, free: 2.656 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.913e-05/0.7661, allocations: 60.81 kB / 0.7771 GB, free: 2.59 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009512/0.7671, allocations: 0.8687 MB / 0.7779 GB, free: 2.32 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 4.812e-05/0.7672, allocations: 40.45 kB / 0.778 GB, free: 2.289 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002948/0.7675, allocations: 0.5049 MB / 0.7785 GB, free: 2.012 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001574/0.7676, allocations: 199.2 kB / 0.7786 GB, free: 1.871 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.076e-05/0.7677, allocations: 16.59 kB / 0.7787 GB, free: 1.867 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001015/0.7678, allocations: 330.7 kB / 0.779 GB, free: 1.555 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004183/0.7682, allocations: 294.9 kB / 0.7793 GB, free: 1.504 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005057/0.7687, allocations: 449.3 kB / 0.7797 GB, free: 1.289 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.003592/0.7723, allocations: 1.759 MB / 0.7814 GB, free: 0.7656 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/0.7723, allocations: 0 / 0.7814 GB, free: 0.7656 MB / 0.5105 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.00157/0.7739, allocations: 0.9315 MB / 0.7823 GB, free: 0.5469 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.374e-05/0.7739, allocations: 6.312 kB / 0.7823 GB, free: 0.5469 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.153e-05/0.774, allocations: 4.469 kB / 0.7823 GB, free: 0.5469 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002309/0.7742, allocations: 94.3 kB / 0.7824 GB, free: 0.5078 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008037/0.775, allocations: 178.2 kB / 0.7826 GB, free: 488 kB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003413/0.7784, allocations: 4.288 MB / 0.7868 GB, free: 12.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009804/0.7794, allocations: 73.09 kB / 0.7868 GB, free: 12.14 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.861e-05/0.7795, allocations: 26.44 kB / 0.7869 GB, free: 12.12 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: 17 * 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 (80): * Single equations (assignments): 77 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 3 systems {(1,1), (1,1), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0005931/0.7801, allocations: 350.1 kB / 0.7872 GB, free: 11.86 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001986/0.7803, allocations: 98.88 kB / 0.7873 GB, free: 11.77 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002071/0.7805, allocations: 115 kB / 0.7874 GB, free: 11.7 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.42e-06/0.7805, allocations: 4 kB / 0.7874 GB, free: 11.7 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.13e-05/0.7806, allocations: 3.984 kB / 0.7874 GB, free: 11.7 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001045/0.7816, allocations: 0.7685 MB / 0.7882 GB, free: 11.05 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003206/0.7848, allocations: 2.005 MB / 0.7901 GB, free: 9.484 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.814e-06/0.7848, allocations: 4 kB / 0.7901 GB, free: 9.48 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006794/0.7855, allocations: 163 kB / 0.7903 GB, free: 9.332 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.601e-05/0.7856, allocations: 40.45 kB / 0.7903 GB, free: 9.297 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.026e-05/0.7857, allocations: 14.5 kB / 0.7903 GB, free: 9.289 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001099/0.7868, allocations: 1.487 MB / 0.7918 GB, free: 7.785 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.927e-06/0.7868, allocations: 2.438 kB / 0.7918 GB, free: 7.785 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001662/0.7885, allocations: 1.243 MB / 0.793 GB, free: 6.809 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004645/0.789, allocations: 254 kB / 0.7932 GB, free: 6.578 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001633/0.7891, allocations: 13.38 kB / 0.7933 GB, free: 6.574 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000808/0.79, allocations: 80.72 kB / 0.7933 GB, free: 6.504 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001182/0.7901, allocations: 41.55 kB / 0.7934 GB, free: 6.473 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.178e-05/0.7902, allocations: 31.05 kB / 0.7934 GB, free: 6.445 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0007919/0.791, allocations: 0.6013 MB / 0.794 GB, free: 6.004 MB / 0.5261 GB Notification: Performance of sort global known variables: time 3.91e-07/0.791, allocations: 0 / 0.794 GB, free: 6.004 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001004/0.792, allocations: 309.1 kB / 0.7943 GB, free: 5.723 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 3 (volDyn.dynBal.U,volDyn.dynBal.mXi[1],volDyn.dynBal.mC[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 (53): * Single equations (assignments): 52 * 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,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004696/0.7925, allocations: 198.3 kB / 0.7945 GB, free: 5.551 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.001523/0.794, allocations: 1.009 MB / 0.7955 GB, free: 4.719 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 5.009e-06/0.794, allocations: 0 / 0.7955 GB, free: 4.719 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0005909/0.7946, allocations: 453.5 kB / 0.7959 GB, free: 4.371 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003004/0.7976, allocations: 0.6315 MB / 0.7965 GB, free: 3.832 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003447/0.8011, allocations: 2.577 MB / 0.799 GB, free: 1.41 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008219/0.8019, allocations: 1.166 MB / 0.8002 GB, free: 260 kB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0009811/0.8029, allocations: 258.9 kB / 0.8004 GB, free: 0 / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002293/0.8031, allocations: 75.42 kB / 0.8005 GB, free: 15.93 MB / 0.5417 GB Notification: Performance of SimCode: time 5.11e-07/0.8032, allocations: 0 / 0.8005 GB, free: 15.93 MB / 0.5417 GB Notification: Performance of Templates: time 0.03282/0.836, allocations: 21.25 MB / 0.8212 GB, free: 11.08 MB / 0.5573 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.makefile (rm -f IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.sim & ./IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe 2>&1)