Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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-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.Examples.MixingVolumeMoistAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir") translateModel(IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.0008182/0.000818, allocations: 102.1 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.0008584/0.0008583, allocations: 172.9 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.445/1.445, allocations: 223.3 MB / 240.6 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.029/1.029, allocations: 135.3 MB / 427 MB, free: 14.16 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003497/0.00035, allocations: 8.219 kB / 0.5076 GB, free: 5.172 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1921/0.1924, allocations: 82.32 MB / 0.588 GB, free: 3.023 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir): time 0.6223/0.8148, allocations: 180.9 MB / 0.7646 GB, free: 8.133 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01657/0.8314, allocations: 9.67 MB / 0.7741 GB, free: 14.44 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00241/0.8338, allocations: 51.69 kB / 0.7741 GB, free: 14.39 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001722/0.8356, allocations: 401.1 kB / 0.7745 GB, free: 13.99 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.005622/0.8412, allocations: 1.446 MB / 0.7759 GB, free: 12.54 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.004141/0.8454, allocations: 1.037 MB / 0.7769 GB, free: 11.52 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.005253/0.8506, allocations: 3.135 MB / 0.78 GB, free: 8.367 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001663/0.8523, allocations: 0.8717 MB / 0.7809 GB, free: 7.473 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003807/0.8561, allocations: 1.311 MB / 0.7821 GB, free: 6.156 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001839/0.858, allocations: 0.8635 MB / 0.783 GB, free: 5.289 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001519/0.8582, allocations: 48 kB / 0.783 GB, free: 5.242 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003724/0.8619, allocations: 1.318 MB / 0.7843 GB, free: 3.922 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0004505/0.8624, allocations: 338.8 kB / 0.7846 GB, free: 3.59 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0005651/0.8629, allocations: 273 kB / 0.7849 GB, free: 3.316 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.002794/0.8657, allocations: 1.672 MB / 0.7865 GB, free: 1.645 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.8658, allocations: 0 / 0.7865 GB, free: 1.645 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.303e-06/0.8658, allocations: 4 kB / 0.7865 GB, free: 1.641 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 2.242e-05/0.8658, allocations: 4 kB / 0.7865 GB, free: 1.637 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: 253 * Number of variables: 253 Notification: Performance of Generate backend data structure: time 0.002882/0.8687, allocations: 1.582 MB / 0.7881 GB, free: 8 kB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.753e-05/0.8687, allocations: 8.031 kB / 0.7881 GB, free: 0 / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002141/0.8709, allocations: 366 kB / 0.7884 GB, free: 15.64 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00168/0.8726, allocations: 0.8824 MB / 0.7893 GB, free: 14.71 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.511e-05/0.8727, allocations: 82 kB / 0.7894 GB, free: 14.63 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001532/0.8728, allocations: 110.8 kB / 0.7895 GB, free: 14.53 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001848/0.8747, allocations: 1.095 MB / 0.7906 GB, free: 13.38 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.622e-05/0.8747, allocations: 0 / 0.7906 GB, free: 13.38 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.176e-05/0.8748, allocations: 44 kB / 0.7906 GB, free: 13.33 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.679e-05/0.8749, allocations: 34 kB / 0.7906 GB, free: 13.3 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001429/0.8763, allocations: 0.8002 MB / 0.7914 GB, free: 12.5 MB / 0.6075 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.006731/0.8831, allocations: 5.082 MB / 0.7964 GB, free: 7.059 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001712/0.8848, allocations: 0.6911 MB / 0.797 GB, free: 6.363 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007707/0.8856, allocations: 346.4 kB / 0.7974 GB, free: 6.023 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007447/0.8864, allocations: 331.9 kB / 0.7977 GB, free: 5.641 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.971e-05/0.8864, allocations: 39.59 kB / 0.7977 GB, free: 5.594 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=70): time 3.216e-06/0.8864, allocations: 4 kB / 0.7977 GB, free: 5.59 MB / 0.6075 GB Notification: Performance of matching and sorting (n=70): time 0.002763/0.8892, allocations: 0.9349 MB / 0.7986 GB, free: 4.652 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.173e-05/0.8893, allocations: 59.97 kB / 0.7987 GB, free: 4.582 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001452/0.8907, allocations: 0.8685 MB / 0.7996 GB, free: 3.695 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 8.673e-05/0.8908, allocations: 37.7 kB / 0.7996 GB, free: 3.652 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006414/0.8915, allocations: 0.5585 MB / 0.8001 GB, free: 3.086 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003117/0.8918, allocations: 252.4 kB / 0.8004 GB, free: 2.836 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.216e-05/0.8919, allocations: 16 kB / 0.8004 GB, free: 2.82 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000315/0.8922, allocations: 337.9 kB / 0.8007 GB, free: 2.484 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006526/0.8929, allocations: 245.9 kB / 0.8009 GB, free: 2.242 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009993/0.8939, allocations: 439 kB / 0.8014 GB, free: 1.742 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008084/0.8947, allocations: 315.1 kB / 0.8017 GB, free: 1.438 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.612e-06/0.8947, allocations: 3.938 kB / 0.8017 GB, free: 1.434 MB / 0.6075 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.002147/0.8969, allocations: 0.8314 MB / 0.8025 GB, free: 0.5938 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002751/0.8972, allocations: 239.8 kB / 0.8027 GB, free: 304 kB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.884e-05/0.8972, allocations: 4 kB / 0.8027 GB, free: 300 kB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.067e-05/0.8972, allocations: 8 kB / 0.8027 GB, free: 292 kB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001926/0.8992, allocations: 243.7 kB / 0.803 GB, free: 48 kB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002235/0.9014, allocations: 1.401 MB / 0.8043 GB, free: 14.51 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001383/0.9028, allocations: 115.2 kB / 0.8044 GB, free: 14.4 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000151/0.903, allocations: 32 kB / 0.8045 GB, free: 14.37 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.343e-05/0.903, allocations: 4 kB / 0.8045 GB, free: 14.36 MB / 0.6231 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001829/0.9048, allocations: 0.7062 MB / 0.8052 GB, free: 13.66 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.245e-05/0.9049, allocations: 4 kB / 0.8052 GB, free: 13.65 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.565e-05/0.9049, allocations: 8 kB / 0.8052 GB, free: 13.64 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001847/0.9068, allocations: 253.3 kB / 0.8054 GB, free: 13.4 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001967/0.9087, allocations: 1.394 MB / 0.8068 GB, free: 11.86 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001293/0.91, allocations: 107 kB / 0.8069 GB, free: 11.76 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001054/0.9102, allocations: 35.94 kB / 0.8069 GB, free: 11.73 MB / 0.6231 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.001012/0.9112, allocations: 368.8 kB / 0.8073 GB, free: 11.36 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003964/0.9116, allocations: 110.7 kB / 0.8074 GB, free: 11.25 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002559/0.9142, allocations: 0.7883 MB / 0.8081 GB, free: 10.45 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.306e-05/0.9142, allocations: 8 kB / 0.8081 GB, free: 10.44 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.9142, allocations: 0 / 0.8081 GB, free: 10.44 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001856/0.9161, allocations: 0.7078 MB / 0.8088 GB, free: 9.699 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005168/0.9213, allocations: 1.926 MB / 0.8107 GB, free: 7.695 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.205e-05/0.9213, allocations: 5.281 kB / 0.8107 GB, free: 7.691 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009439/0.9223, allocations: 147.8 kB / 0.8109 GB, free: 7.547 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005067/0.9228, allocations: 40.83 kB / 0.8109 GB, free: 7.504 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.855e-05/0.9229, allocations: 23.98 kB / 0.8109 GB, free: 7.48 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001826/0.9247, allocations: 1.349 MB / 0.8122 GB, free: 5.992 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.284e-06/0.9248, allocations: 4.062 kB / 0.8122 GB, free: 5.988 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003052/0.9278, allocations: 1.261 MB / 0.8135 GB, free: 4.688 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007648/0.9286, allocations: 247.6 kB / 0.8137 GB, free: 4.426 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002522/0.9289, allocations: 20 kB / 0.8137 GB, free: 4.406 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00102/0.9299, allocations: 59.8 kB / 0.8138 GB, free: 4.348 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001323/0.93, allocations: 48.45 kB / 0.8138 GB, free: 4.301 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.248e-05/0.9301, allocations: 27.98 kB / 0.8139 GB, free: 4.273 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.00141/0.9316, allocations: 0.5849 MB / 0.8144 GB, free: 3.68 MB / 0.6231 GB Notification: Performance of sort global known variables: time 2.1e-07/0.9316, allocations: 0 / 0.8144 GB, free: 3.68 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.002793/0.9344, allocations: 0.5298 MB / 0.8149 GB, free: 3.148 MB / 0.6231 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.0008508/0.9352, allocations: 214.5 kB / 0.8152 GB, free: 2.945 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.004457/0.9397, allocations: 1.174 MB / 0.8163 GB, free: 1.777 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 6.012e-06/0.9398, allocations: 0 / 0.8163 GB, free: 1.777 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0008669/0.9406, allocations: 457.3 kB / 0.8167 GB, free: 1.324 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002867/0.9435, allocations: 0.4954 MB / 0.8172 GB, free: 0.8359 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004915/0.9484, allocations: 2.728 MB / 0.8199 GB, free: 14.05 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009642/0.9494, allocations: 1.144 MB / 0.821 GB, free: 12.87 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003418/0.9498, allocations: 91.42 kB / 0.8211 GB, free: 12.78 MB / 0.6387 GB Notification: Performance of SimCode: time 1.172e-06/0.9498, allocations: 0 / 0.8211 GB, free: 12.78 MB / 0.6387 GB Notification: Performance of Templates: time 0.0345/0.9843, allocations: 21.33 MB / 0.8419 GB, free: 7.582 MB / 0.6544 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.makefile make -j1 -f IDEAS_dev_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_dev_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeMoistAirCalcHelperMain.o OMCppIDEAS_dev_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeMoistAirCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIDEAS_dev_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeMoistAirCalcHelperMain.o] Error 1