Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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.Examples.MixingVolumeMoistAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir") translateModel(IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007679/0.0007676, allocations: 102.7 kB / 15.71 MB, free: 460 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.0008754/0.0008754, allocations: 173.8 kB / 16.58 MB, free: 6.402 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.41/1.41, allocations: 223.3 MB / 240.6 MB, free: 5.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7773/0.7773, allocations: 132.3 MB / 424 MB, free: 2.105 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003362/0.0003363, allocations: 11.94 kB / 0.504 GB, free: 4.297 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5111/0.5114, allocations: 81.57 MB / 0.5837 GB, free: 4.25 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir): time 0.2182/0.7297, allocations: 180.9 MB / 0.7603 GB, free: 11.38 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01403/0.7438, allocations: 9.668 MB / 0.7698 GB, free: 1.695 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001832/0.7457, allocations: 51.69 kB / 0.7698 GB, free: 1.645 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001362/0.7471, allocations: 397.2 kB / 0.7702 GB, free: 1.254 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.004743/0.7518, allocations: 1.454 MB / 0.7716 GB, free: 15.79 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.00334/0.7552, allocations: 1.053 MB / 0.7727 GB, free: 14.75 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.004406/0.7596, allocations: 3.128 MB / 0.7757 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001585/0.7612, allocations: 0.8669 MB / 0.7766 GB, free: 10.72 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003325/0.7645, allocations: 1.307 MB / 0.7778 GB, free: 9.406 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001648/0.7662, allocations: 0.8674 MB / 0.7787 GB, free: 8.535 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001407/0.7664, allocations: 51.94 kB / 0.7787 GB, free: 8.484 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003507/0.7699, allocations: 1.325 MB / 0.78 GB, free: 7.156 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0004091/0.7703, allocations: 338.8 kB / 0.7803 GB, free: 6.824 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0004552/0.7708, allocations: 273 kB / 0.7806 GB, free: 6.551 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.002406/0.7732, allocations: 1.668 MB / 0.7822 GB, free: 4.879 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.342e-06/0.7732, allocations: 0 / 0.7822 GB, free: 4.879 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.874e-06/0.7732, allocations: 0 / 0.7822 GB, free: 4.879 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.961e-05/0.7732, allocations: 0 / 0.7822 GB, free: 4.879 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 253 * Number of variables: 253 Notification: Performance of Generate backend data structure: time 0.002665/0.7759, allocations: 1.581 MB / 0.7838 GB, free: 3.246 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.983e-05/0.776, allocations: 8.031 kB / 0.7838 GB, free: 3.238 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002013/0.778, allocations: 369.9 kB / 0.7841 GB, free: 2.875 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001536/0.7795, allocations: 0.8785 MB / 0.785 GB, free: 1.953 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.322e-05/0.7796, allocations: 85.95 kB / 0.7851 GB, free: 1.867 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001599/0.7798, allocations: 104 kB / 0.7852 GB, free: 1.766 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00177/0.7816, allocations: 1.099 MB / 0.7863 GB, free: 0.6094 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.635e-05/0.7816, allocations: 3.938 kB / 0.7863 GB, free: 0.6055 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.928e-05/0.7817, allocations: 44 kB / 0.7863 GB, free: 0.5625 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.678e-05/0.7817, allocations: 37.98 kB / 0.7863 GB, free: 0.5234 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001402/0.7831, allocations: 0.7924 MB / 0.7871 GB, free: 15.73 MB / 0.6231 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.00562/0.7888, allocations: 5.07 MB / 0.7921 GB, free: 10.3 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001184/0.79, allocations: 0.7086 MB / 0.7928 GB, free: 9.582 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005539/0.7905, allocations: 346.4 kB / 0.7931 GB, free: 9.242 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006007/0.7912, allocations: 331.9 kB / 0.7934 GB, free: 8.863 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.397e-05/0.7912, allocations: 43.12 kB / 0.7934 GB, free: 8.812 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=70): time 2.825e-06/0.7912, allocations: 0 / 0.7934 GB, free: 8.812 MB / 0.6231 GB Notification: Performance of matching and sorting (n=70): time 0.00184/0.7931, allocations: 0.9349 MB / 0.7944 GB, free: 7.875 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.626e-05/0.7931, allocations: 59.97 kB / 0.7944 GB, free: 7.805 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001014/0.7941, allocations: 0.8724 MB / 0.7953 GB, free: 6.914 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 5.323e-05/0.7942, allocations: 41.7 kB / 0.7953 GB, free: 6.867 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004314/0.7946, allocations: 0.5507 MB / 0.7958 GB, free: 6.309 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002106/0.7948, allocations: 248.4 kB / 0.7961 GB, free: 6.062 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.604e-05/0.7949, allocations: 12 kB / 0.7961 GB, free: 6.051 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001451/0.795, allocations: 341.9 kB / 0.7964 GB, free: 5.711 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004454/0.7955, allocations: 245.9 kB / 0.7967 GB, free: 5.473 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005961/0.7961, allocations: 451 kB / 0.7971 GB, free: 4.965 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005304/0.7966, allocations: 307.1 kB / 0.7974 GB, free: 4.668 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.506e-06/0.7967, allocations: 0 / 0.7974 GB, free: 4.668 MB / 0.6231 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.001339/0.798, allocations: 0.8276 MB / 0.7982 GB, free: 3.836 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001547/0.7982, allocations: 225.6 kB / 0.7984 GB, free: 3.551 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.055e-05/0.7982, allocations: 4 kB / 0.7984 GB, free: 3.547 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.937e-05/0.7982, allocations: 12 kB / 0.7984 GB, free: 3.535 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0014/0.7996, allocations: 251.7 kB / 0.7987 GB, free: 3.289 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001422/0.801, allocations: 1.397 MB / 0.8 GB, free: 1.754 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007681/0.8018, allocations: 111.2 kB / 0.8001 GB, free: 1.645 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.303e-05/0.8019, allocations: 35.98 kB / 0.8002 GB, free: 1.609 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 6.171e-06/0.8019, allocations: 4 kB / 0.8002 GB, free: 1.605 MB / 0.6231 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001187/0.8031, allocations: 0.7027 MB / 0.8008 GB, free: 0.9023 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.8031, allocations: 4 kB / 0.8009 GB, free: 0.8984 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.648e-06/0.8032, allocations: 12 kB / 0.8009 GB, free: 0.8867 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001268/0.8044, allocations: 251.7 kB / 0.8011 GB, free: 0.6406 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001249/0.8057, allocations: 1.401 MB / 0.8025 GB, free: 15.1 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007149/0.8064, allocations: 103.3 kB / 0.8026 GB, free: 15 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.528e-05/0.8065, allocations: 36 kB / 0.8026 GB, free: 14.96 MB / 0.6387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 4 (PI1.I.trigger_internal,PI.I.trigger_internal,QLat.local_reset,QSen.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (94): * Single equations (assignments): 93 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005544/0.807, allocations: 368.8 kB / 0.803 GB, free: 14.59 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001593/0.8072, allocations: 110.7 kB / 0.8031 GB, free: 14.48 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00161/0.8088, allocations: 0.7901 MB / 0.8038 GB, free: 13.68 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.324e-06/0.8088, allocations: 8 kB / 0.8038 GB, free: 13.68 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.154e-06/0.8089, allocations: 0 / 0.8038 GB, free: 13.68 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001253/0.8101, allocations: 0.7078 MB / 0.8045 GB, free: 12.93 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003093/0.8132, allocations: 1.922 MB / 0.8064 GB, free: 10.93 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.572e-06/0.8132, allocations: 4 kB / 0.8064 GB, free: 10.93 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006894/0.8139, allocations: 148 kB / 0.8066 GB, free: 10.79 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004038/0.8143, allocations: 40.83 kB / 0.8066 GB, free: 10.74 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.289e-05/0.8144, allocations: 23.98 kB / 0.8066 GB, free: 10.72 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001423/0.8158, allocations: 1.344 MB / 0.8079 GB, free: 9.23 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.122e-06/0.8159, allocations: 4.156 kB / 0.8079 GB, free: 9.227 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002083/0.818, allocations: 1.265 MB / 0.8092 GB, free: 7.926 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004107/0.8184, allocations: 251.6 kB / 0.8094 GB, free: 7.66 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001041/0.8185, allocations: 12 kB / 0.8094 GB, free: 7.648 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005634/0.8191, allocations: 59.8 kB / 0.8095 GB, free: 7.59 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.339e-05/0.8192, allocations: 56.45 kB / 0.8095 GB, free: 7.535 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.593e-05/0.8192, allocations: 27.92 kB / 0.8096 GB, free: 7.508 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0007816/0.82, allocations: 0.5811 MB / 0.8101 GB, free: 6.918 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.61e-07/0.82, allocations: 0 / 0.8101 GB, free: 6.918 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001487/0.8215, allocations: 0.5337 MB / 0.8106 GB, free: 6.383 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 7 (vol1.dynBal.U,vol1.dynBal.m,vol1.dynBal.mXi[1],QSen.y,QLat.y,PI.I.y,PI1.I.y) * 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 (70): * Single equations (assignments): 69 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005004/0.822, allocations: 218.8 kB / 0.8109 GB, free: 6.172 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.003208/0.8252, allocations: 1.166 MB / 0.812 GB, free: 5.008 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.8252, allocations: 0 / 0.812 GB, free: 5.008 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0007435/0.826, allocations: 453.6 kB / 0.8124 GB, free: 4.547 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002177/0.8282, allocations: 0.4959 MB / 0.8129 GB, free: 4.062 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004095/0.8323, allocations: 2.736 MB / 0.8156 GB, free: 1.273 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007595/0.8331, allocations: 1.14 MB / 0.8167 GB, free: 108 kB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002698/0.8333, allocations: 91.42 kB / 0.8168 GB, free: 16 kB / 0.6387 GB Notification: Performance of SimCode: time 6.41e-07/0.8334, allocations: 0 / 0.8168 GB, free: 16 kB / 0.6387 GB Notification: Performance of Templates: time 0.388/1.221, allocations: 21.33 MB / 0.8376 GB, free: 208.7 MB / 0.6387 GB make -j1 -f IDEAS_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.makefile make -j1 -f IDEAS_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.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_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeMoistAirCalcHelperMain.o OMCppIDEAS_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeMoistAirCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIDEAS_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeMoistAirCalcHelperMain.o] Error 1