Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.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/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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: translateModel(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate") translateModel(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009111/0.0009114, allocations: 100.5 kB / 15.71 MB, free: 452 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001211/0.001212, allocations: 178.1 kB / 16.58 MB, free: 6.879 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.44/1.44, allocations: 223.2 MB / 240.6 MB, free: 5.445 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.002/1.002, allocations: 135.3 MB / 427 MB, free: 14.37 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003643/0.0003645, allocations: 8 kB / 0.5076 GB, free: 5.277 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2049/0.2053, allocations: 82.32 MB / 0.588 GB, free: 3.129 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate): time 0.5985/0.8039, allocations: 173.3 MB / 0.7572 GB, free: 15.73 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01204/0.816, allocations: 5.375 MB / 0.7624 GB, free: 10.45 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001628/0.8177, allocations: 31.81 kB / 0.7625 GB, free: 10.42 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001363/0.8191, allocations: 393.5 kB / 0.7629 GB, free: 10.03 MB / 0.5762 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:784:36-785:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:782:36-783:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:784:36-785:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:782:36-783:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.003965/0.823, allocations: 1.205 MB / 0.764 GB, free: 8.82 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002909/0.826, allocations: 0.8972 MB / 0.7649 GB, free: 7.941 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.003679/0.8296, allocations: 2.975 MB / 0.7678 GB, free: 4.953 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001108/0.8308, allocations: 0.743 MB / 0.7685 GB, free: 4.199 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001756/0.8325, allocations: 0.8557 MB / 0.7694 GB, free: 3.34 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001095/0.8336, allocations: 0.8017 MB / 0.7702 GB, free: 2.535 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001003/0.8337, allocations: 44 kB / 0.7702 GB, free: 2.492 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002428/0.8362, allocations: 0.9198 MB / 0.7711 GB, free: 1.57 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0004542/0.8367, allocations: 438.7 kB / 0.7715 GB, free: 1.141 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0002934/0.837, allocations: 249.1 kB / 0.7718 GB, free: 0.8906 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001684/0.8386, allocations: 1.532 MB / 0.7732 GB, free: 15.36 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.8387, allocations: 0 / 0.7732 GB, free: 15.36 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.923e-06/0.8387, allocations: 0 / 0.7732 GB, free: 15.36 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.167e-05/0.8387, allocations: 0 / 0.7732 GB, free: 15.36 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: 216 * Number of variables: 216 Notification: Performance of Generate backend data structure: time 0.002114/0.8408, allocations: 1.309 MB / 0.7745 GB, free: 14 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.067e-05/0.8409, allocations: 8.031 kB / 0.7745 GB, free: 13.99 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002687/0.8436, allocations: 498.1 kB / 0.775 GB, free: 13.5 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001333/0.8449, allocations: 0.805 MB / 0.7758 GB, free: 12.66 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003089/0.8452, allocations: 129.9 kB / 0.7759 GB, free: 12.53 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000136/0.8454, allocations: 85.06 kB / 0.776 GB, free: 12.45 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002139/0.8475, allocations: 1.198 MB / 0.7772 GB, free: 11.23 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.398e-05/0.8475, allocations: 0 / 0.7772 GB, free: 11.23 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.065e-05/0.8476, allocations: 35.94 kB / 0.7772 GB, free: 11.19 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.069e-05/0.8477, allocations: 41.98 kB / 0.7772 GB, free: 11.15 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002186/0.8499, allocations: 1.101 MB / 0.7783 GB, free: 10.05 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.006633/0.8565, allocations: 4.356 MB / 0.7826 GB, free: 5.43 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001823/0.8584, allocations: 0.8049 MB / 0.7834 GB, free: 4.617 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008741/0.8593, allocations: 417.8 kB / 0.7838 GB, free: 4.207 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000206/0.8595, allocations: 97.09 kB / 0.7839 GB, free: 4.094 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.342e-05/0.8595, allocations: 51.33 kB / 0.7839 GB, free: 4.035 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=43): time 1.893e-06/0.8595, allocations: 4 kB / 0.7839 GB, free: 4.031 MB / 0.5919 GB Notification: Performance of matching and sorting (n=45): time 0.005783/0.8653, allocations: 2.28 MB / 0.7861 GB, free: 1.699 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.729e-05/0.8654, allocations: 59.41 kB / 0.7862 GB, free: 1.629 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00124/0.8667, allocations: 0.8568 MB / 0.787 GB, free: 0.7656 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 7.129e-05/0.8667, allocations: 37.7 kB / 0.7871 GB, free: 0.7227 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003915/0.8671, allocations: 495.3 kB / 0.7875 GB, free: 240 kB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001581/0.8673, allocations: 169.6 kB / 0.7877 GB, free: 68 kB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.094e-05/0.8674, allocations: 12 kB / 0.7877 GB, free: 56 kB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.000169/0.8675, allocations: 334 kB / 0.788 GB, free: 15.72 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008355/0.8684, allocations: 381 kB / 0.7884 GB, free: 15.35 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009648/0.8694, allocations: 0.5303 MB / 0.7889 GB, free: 14.77 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.003977/0.8733, allocations: 1.557 MB / 0.7904 GB, free: 13.2 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/0.8734, allocations: 0 / 0.7904 GB, free: 13.2 MB / 0.6075 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.002253/0.8756, allocations: 1.033 MB / 0.7914 GB, free: 12.15 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.978e-05/0.8757, allocations: 4 kB / 0.7914 GB, free: 12.15 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.177e-05/0.8757, allocations: 4 kB / 0.7914 GB, free: 12.14 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.721e-05/0.8757, allocations: 8 kB / 0.7914 GB, free: 12.14 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000882/0.8766, allocations: 209.2 kB / 0.7916 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.29e-05/0.8766, allocations: 11.98 kB / 0.7917 GB, free: 11.92 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001173/0.8778, allocations: 111.8 kB / 0.7918 GB, free: 11.81 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.57e-05/0.8779, allocations: 23.98 kB / 0.7918 GB, free: 11.79 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 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 (73): * Single equations (assignments): 73 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000743/0.8787, allocations: 309.6 kB / 0.7921 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001851/0.8789, allocations: 98.83 kB / 0.7922 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002447/0.8791, allocations: 104.8 kB / 0.7923 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.102e-05/0.8791, allocations: 4 kB / 0.7923 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.423e-05/0.8792, allocations: 7.938 kB / 0.7923 GB, free: 11.26 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002011/0.8812, allocations: 1.065 MB / 0.7933 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004514/0.8857, allocations: 2.204 MB / 0.7955 GB, free: 7.805 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.202e-06/0.8857, allocations: 7.984 kB / 0.7955 GB, free: 7.797 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008163/0.8865, allocations: 185.1 kB / 0.7957 GB, free: 7.617 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.596e-06/0.8866, allocations: 8 kB / 0.7957 GB, free: 7.609 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.461e-05/0.8866, allocations: 19.94 kB / 0.7957 GB, free: 7.59 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.734e-06/0.8866, allocations: 7.75 kB / 0.7957 GB, free: 7.586 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.562e-06/0.8866, allocations: 7.938 kB / 0.7957 GB, free: 7.578 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002794/0.8894, allocations: 1.499 MB / 0.7972 GB, free: 6.023 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004593/0.8899, allocations: 252 kB / 0.7974 GB, free: 5.758 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001603/0.8901, allocations: 20.69 kB / 0.7974 GB, free: 5.738 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009195/0.891, allocations: 113.8 kB / 0.7975 GB, free: 5.629 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.781e-05/0.8911, allocations: 35.89 kB / 0.7976 GB, free: 5.594 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.527e-05/0.8912, allocations: 27.98 kB / 0.7976 GB, free: 5.566 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0008518/0.8921, allocations: 0.5927 MB / 0.7982 GB, free: 4.98 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.21e-07/0.8921, allocations: 3.938 kB / 0.7982 GB, free: 4.977 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001046/0.8931, allocations: 272 kB / 0.7984 GB, free: 4.711 MB / 0.6075 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 (45): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005762/0.8937, allocations: 203.5 kB / 0.7986 GB, free: 4.516 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.00197/0.8957, allocations: 0.8469 MB / 0.7995 GB, free: 3.672 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 5.04e-06/0.8957, allocations: 4 kB / 0.7995 GB, free: 3.668 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0009046/0.8966, allocations: 417 kB / 0.7999 GB, free: 3.262 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0025/0.8991, allocations: 0.561 MB / 0.8004 GB, free: 2.707 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005275/0.9044, allocations: 2.621 MB / 0.803 GB, free: 8 kB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008459/0.9053, allocations: 1.107 MB / 0.8041 GB, free: 14.88 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003744/0.9057, allocations: 83.41 kB / 0.8041 GB, free: 14.79 MB / 0.6231 GB Notification: Performance of SimCode: time 1.252e-06/0.9057, allocations: 0 / 0.8041 GB, free: 14.79 MB / 0.6231 GB Notification: Performance of Templates: time 0.0298/0.9355, allocations: 16.87 MB / 0.8206 GB, free: 14.11 MB / 0.6387 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.makefile make -j1 -f IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.makefile clang++ NOTFOUND -Winvalid-pch -O0 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DUSE_THREAD -DSUNDIALS_MAJOR_VERSION=5 -DSUNDIALS_MINOR_VERSION=4 -DPMC_USE_SUNDIALS -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppIDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRateCalcHelperMain.o OMCppIDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRateCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRateCalcHelperMain.o] Error 1