Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance") translateModel(IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007226/0.0007227, allocations: 89.67 kB / 16.33 MB, free: 6.402 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.0008119/0.000812, allocations: 180.6 kB / 17.22 MB, free: 6.285 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.541/1.541, allocations: 223.2 MB / 241.2 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.796/0.796, allocations: 114.4 MB / 406.7 MB, free: 3.973 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003421/0.0003421, allocations: 12 kB / 494.5 MB, free: 8 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1975/0.1978, allocations: 77.26 MB / 0.5583 GB, free: 10.94 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance): time 0.6637/0.8616, allocations: 173.1 MB / 0.7274 GB, free: 12.65 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.008853/0.8705, allocations: 5.363 MB / 0.7326 GB, free: 7.277 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001395/0.872, allocations: 31.81 kB / 0.7327 GB, free: 7.246 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001337/0.8733, allocations: 389.5 kB / 0.733 GB, free: 6.863 MB / 0.545 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.003666/0.877, allocations: 1.213 MB / 0.7342 GB, free: 5.645 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002872/0.8799, allocations: 0.8961 MB / 0.7351 GB, free: 4.766 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.003746/0.8836, allocations: 2.94 MB / 0.738 GB, free: 1.82 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001153/0.8848, allocations: 0.6874 MB / 0.7386 GB, free: 1.121 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002131/0.8869, allocations: 0.8479 MB / 0.7395 GB, free: 276 kB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001582/0.8885, allocations: 0.7744 MB / 0.7402 GB, free: 15.49 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001115/0.8887, allocations: 40 kB / 0.7402 GB, free: 15.45 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002469/0.8911, allocations: 0.8964 MB / 0.7411 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0005162/0.8917, allocations: 434.8 kB / 0.7415 GB, free: 14.13 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003879/0.8921, allocations: 245.1 kB / 0.7418 GB, free: 13.88 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001873/0.8939, allocations: 1.481 MB / 0.7432 GB, free: 12.4 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.894, allocations: 0 / 0.7432 GB, free: 12.4 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.194e-06/0.894, allocations: 0 / 0.7432 GB, free: 12.4 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.204e-05/0.894, allocations: 0 / 0.7432 GB, free: 12.4 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 212 * Number of variables: 212 Notification: Performance of Generate backend data structure: time 0.002/0.896, allocations: 1.259 MB / 0.7444 GB, free: 11.09 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.903e-05/0.896, allocations: 12.02 kB / 0.7445 GB, free: 11.07 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001844/0.8979, allocations: 342.2 kB / 0.7448 GB, free: 10.74 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001186/0.8991, allocations: 0.7498 MB / 0.7455 GB, free: 9.945 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003264/0.8994, allocations: 141.9 kB / 0.7457 GB, free: 9.805 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001214/0.8995, allocations: 84 kB / 0.7457 GB, free: 9.723 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001827/0.9014, allocations: 1.064 MB / 0.7468 GB, free: 8.629 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.715e-05/0.9014, allocations: 7.938 kB / 0.7468 GB, free: 8.621 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.737e-05/0.9015, allocations: 36 kB / 0.7468 GB, free: 8.586 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.381e-05/0.9016, allocations: 37.98 kB / 0.7469 GB, free: 8.547 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001497/0.9031, allocations: 0.8353 MB / 0.7477 GB, free: 7.711 MB / 0.5606 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.005447/0.9085, allocations: 4.065 MB / 0.7516 GB, free: 3.387 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005873/0.9091, allocations: 366.7 kB / 0.752 GB, free: 3.02 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003041/0.9095, allocations: 208.8 kB / 0.7522 GB, free: 2.812 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001932/0.9097, allocations: 101.1 kB / 0.7523 GB, free: 2.695 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.765e-05/0.9097, allocations: 46.52 kB / 0.7523 GB, free: 2.641 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=36): time 3.597e-06/0.9097, allocations: 7.922 kB / 0.7523 GB, free: 2.633 MB / 0.5606 GB Notification: Performance of matching and sorting (n=38): time 0.00263/0.9124, allocations: 1.322 MB / 0.7536 GB, free: 1.258 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.155e-05/0.9124, allocations: 55.41 kB / 0.7537 GB, free: 1.191 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00131/0.9137, allocations: 0.9881 MB / 0.7546 GB, free: 184 kB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.138e-05/0.9138, allocations: 37.64 kB / 0.7547 GB, free: 140 kB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003964/0.9142, allocations: 0.4914 MB / 0.7552 GB, free: 15.64 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001317/0.9143, allocations: 146 kB / 0.7553 GB, free: 15.5 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.943e-05/0.9144, allocations: 11.94 kB / 0.7553 GB, free: 15.48 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001301/0.9145, allocations: 330 kB / 0.7556 GB, free: 15.16 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004533/0.915, allocations: 241.2 kB / 0.7559 GB, free: 14.92 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005593/0.9155, allocations: 405.2 kB / 0.7562 GB, free: 14.46 MB / 0.5762 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.001795/0.9173, allocations: 0.7436 MB / 0.757 GB, free: 13.7 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.678e-06/0.9173, allocations: 4 kB / 0.757 GB, free: 13.7 MB / 0.5762 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001322/0.9187, allocations: 0.7538 MB / 0.7577 GB, free: 12.93 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.127e-05/0.9187, allocations: 8.062 kB / 0.7577 GB, free: 12.93 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.21e-05/0.9187, allocations: 8 kB / 0.7577 GB, free: 12.92 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.102e-05/0.9187, allocations: 8 kB / 0.7577 GB, free: 12.91 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005425/0.9193, allocations: 139.8 kB / 0.7579 GB, free: 12.77 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.653e-05/0.9193, allocations: 11.94 kB / 0.7579 GB, free: 12.76 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000887/0.9202, allocations: 95.83 kB / 0.758 GB, free: 12.67 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.828e-05/0.9203, allocations: 28 kB / 0.758 GB, free: 12.64 MB / 0.5762 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: 22 * 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 (71): * Single equations (assignments): 71 * 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.0004761/0.9208, allocations: 309.5 kB / 0.7583 GB, free: 12.33 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001346/0.9209, allocations: 98.83 kB / 0.7584 GB, free: 12.23 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001791/0.9211, allocations: 105 kB / 0.7585 GB, free: 12.13 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.325e-05/0.9211, allocations: 4 kB / 0.7585 GB, free: 12.12 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.328e-06/0.9211, allocations: 0 / 0.7585 GB, free: 12.12 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007046/0.9218, allocations: 0.6791 MB / 0.7591 GB, free: 11.36 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002253/0.9241, allocations: 1.588 MB / 0.7607 GB, free: 9.664 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.929e-06/0.9241, allocations: 4 kB / 0.7607 GB, free: 9.66 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005124/0.9246, allocations: 87.83 kB / 0.7608 GB, free: 9.574 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.56e-05/0.9247, allocations: 8 kB / 0.7608 GB, free: 9.566 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.385e-05/0.9247, allocations: 12.5 kB / 0.7608 GB, free: 9.555 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.101e-05/0.9247, allocations: 7.953 kB / 0.7608 GB, free: 9.547 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.11e-05/0.9248, allocations: 15.94 kB / 0.7608 GB, free: 9.531 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001432/0.9262, allocations: 0.8173 MB / 0.7616 GB, free: 8.648 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004738/0.9267, allocations: 235.9 kB / 0.7619 GB, free: 8.398 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001602/0.9269, allocations: 12 kB / 0.7619 GB, free: 8.387 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009735/0.9278, allocations: 60.56 kB / 0.7619 GB, free: 8.328 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.486e-05/0.9279, allocations: 39.8 kB / 0.762 GB, free: 8.289 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.739e-05/0.928, allocations: 23.98 kB / 0.762 GB, free: 8.266 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.00146/0.9295, allocations: 0.7034 MB / 0.7627 GB, free: 7.551 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.1e-07/0.9295, allocations: 0 / 0.7627 GB, free: 7.551 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001274/0.9308, allocations: 256 kB / 0.7629 GB, free: 7.301 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 3 (volDyn.dynBal.medium.Xi[1],volDyn.dynBal.U,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 (38): * Single equations (assignments): 38 * 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.0005767/0.9314, allocations: 213.4 kB / 0.7631 GB, free: 7.094 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001309/0.9327, allocations: 496.3 kB / 0.7636 GB, free: 6.609 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 7.084e-06/0.9327, allocations: 4 kB / 0.7636 GB, free: 6.605 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0003737/0.9331, allocations: 191.2 kB / 0.7638 GB, free: 6.422 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003785/0.9369, allocations: 0.5926 MB / 0.7644 GB, free: 5.84 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004167/0.9411, allocations: 2.26 MB / 0.7666 GB, free: 3.496 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008855/0.942, allocations: 1.095 MB / 0.7676 GB, free: 2.367 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003208/0.9423, allocations: 79.42 kB / 0.7677 GB, free: 2.293 MB / 0.5762 GB Notification: Performance of SimCode: time 7.11e-07/0.9423, allocations: 0 / 0.7677 GB, free: 2.293 MB / 0.5762 GB Notification: Performance of Templates: time 0.03421/0.9766, allocations: 16.19 MB / 0.7835 GB, free: 2.254 MB / 0.5919 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.makefile make -j1 -f IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.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 OMCppIBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceCalcHelperMain.o OMCppIBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceCalcHelperMain.o] Error 1