Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.FlowJunction.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.FixedResistances.Examples.FlowJunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.FlowJunction") translateModel(IDEAS.Fluid.FixedResistances.Examples.FlowJunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.FlowJunction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008402/0.0008405, 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.0009117/0.0009117, allocations: 174.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.37/1.37, allocations: 223.2 MB / 240.6 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8943/0.8943, allocations: 135.3 MB / 427 MB, free: 14.2 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003144/0.0003147, allocations: 13.19 kB / 0.5076 GB, free: 5.129 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1583/0.1586, allocations: 82.32 MB / 0.588 GB, free: 2.988 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Examples.FlowJunction): time 0.5186/0.6773, allocations: 218.8 MB / 0.8017 GB, free: 2.102 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.01076/0.6881, allocations: 6.789 MB / 0.8083 GB, free: 11.3 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001443/0.6896, allocations: 47.69 kB / 0.8083 GB, free: 11.26 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.001419/0.691, allocations: 464.9 kB / 0.8088 GB, free: 10.8 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.004226/0.6953, allocations: 1.525 MB / 0.8103 GB, free: 9.27 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.003851/0.6991, allocations: 1.458 MB / 0.8117 GB, free: 7.828 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.004526/0.7037, allocations: 3.774 MB / 0.8154 GB, free: 4.047 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001271/0.7049, allocations: 0.813 MB / 0.8162 GB, free: 3.227 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003225/0.7082, allocations: 1.431 MB / 0.8176 GB, free: 1.789 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001319/0.7095, allocations: 0.9105 MB / 0.8185 GB, free: 0.875 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0001161/0.7097, allocations: 48 kB / 0.8185 GB, free: 0.8281 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003202/0.7129, allocations: 1.387 MB / 0.8199 GB, free: 15.44 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0003865/0.7133, allocations: 386.7 kB / 0.8202 GB, free: 15.06 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0003637/0.7137, allocations: 289 kB / 0.8205 GB, free: 14.77 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.001986/0.7156, allocations: 1.789 MB / 0.8222 GB, free: 12.98 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 5.69e-06/0.7157, allocations: 4 kB / 0.8223 GB, free: 12.97 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.553e-06/0.7157, allocations: 0 / 0.8223 GB, free: 12.97 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.769e-05/0.7157, allocations: 0 / 0.8223 GB, free: 12.97 MB / 0.6387 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 197 * Number of variables: 197 Notification: Performance of Generate backend data structure: time 0.002231/0.7179, allocations: 1.485 MB / 0.8237 GB, free: 11.44 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.351e-05/0.718, allocations: 8.031 kB / 0.8237 GB, free: 11.43 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002254/0.7202, allocations: 429.9 kB / 0.8241 GB, free: 11.01 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001398/0.7216, allocations: 0.9218 MB / 0.825 GB, free: 10.04 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.183e-05/0.7217, allocations: 62 kB / 0.8251 GB, free: 9.98 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001173/0.7218, allocations: 83.98 kB / 0.8252 GB, free: 9.898 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00146/0.7233, allocations: 0.8702 MB / 0.826 GB, free: 9.02 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.975e-05/0.7233, allocations: 3.938 kB / 0.826 GB, free: 9.016 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.069e-05/0.7234, allocations: 32 kB / 0.826 GB, free: 8.984 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.412e-05/0.7235, allocations: 26 kB / 0.8261 GB, free: 8.961 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001333/0.7248, allocations: 0.8276 MB / 0.8269 GB, free: 8.133 MB / 0.6387 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.004112/0.7289, allocations: 3.643 MB / 0.8304 GB, free: 4.199 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001411/0.7303, allocations: 1.097 MB / 0.8315 GB, free: 2.988 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005666/0.7309, allocations: 379.2 kB / 0.8319 GB, free: 2.617 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006438/0.7316, allocations: 416.9 kB / 0.8323 GB, free: 2.137 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.266e-05/0.7316, allocations: 43.12 kB / 0.8323 GB, free: 2.082 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=60): time 2.285e-06/0.7316, allocations: 4 kB / 0.8323 GB, free: 2.078 MB / 0.6387 GB Notification: Performance of matching and sorting (n=60): time 0.001922/0.7335, allocations: 0.978 MB / 0.8333 GB, free: 1.098 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.348e-05/0.7336, allocations: 67.91 kB / 0.8333 GB, free: 1.02 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009517/0.7346, allocations: 0.8243 MB / 0.8341 GB, free: 176 kB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 4.99e-05/0.7346, allocations: 37.7 kB / 0.8342 GB, free: 132 kB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003622/0.735, allocations: 488.1 kB / 0.8346 GB, free: 15.64 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001666/0.7352, allocations: 212.8 kB / 0.8348 GB, free: 15.43 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.012e-05/0.7352, allocations: 12 kB / 0.8349 GB, free: 15.42 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001482/0.7354, allocations: 326 kB / 0.8352 GB, free: 15.1 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004433/0.7358, allocations: 253 kB / 0.8354 GB, free: 14.85 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005302/0.7363, allocations: 382.6 kB / 0.8358 GB, free: 14.44 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005062/0.7369, allocations: 310 kB / 0.8361 GB, free: 14.14 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.7369, allocations: 0 / 0.8361 GB, free: 14.14 MB / 0.6544 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001192/0.7381, allocations: 0.7399 MB / 0.8368 GB, free: 13.39 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 6.99e-05/0.7381, allocations: 122.8 kB / 0.8369 GB, free: 13.26 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.646e-06/0.7382, allocations: 4 kB / 0.8369 GB, free: 13.25 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.642e-05/0.7382, allocations: 4 kB / 0.8369 GB, free: 13.25 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005242/0.7387, allocations: 127.9 kB / 0.837 GB, free: 13.12 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.23e-05/0.7387, allocations: 11.92 kB / 0.837 GB, free: 13.11 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000759/0.7395, allocations: 123.3 kB / 0.8372 GB, free: 12.99 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.638e-05/0.7396, allocations: 24 kB / 0.8372 GB, free: 12.97 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 7.353e-06/0.7396, allocations: 6.188 kB / 0.8372 GB, free: 12.96 MB / 0.6544 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001023/0.7406, allocations: 0.6222 MB / 0.8378 GB, free: 12.34 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.008e-06/0.7406, allocations: 7.062 kB / 0.8378 GB, free: 12.34 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.658e-06/0.7406, allocations: 4 kB / 0.8378 GB, free: 12.33 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004885/0.7411, allocations: 135.8 kB / 0.8379 GB, free: 12.2 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.831e-06/0.7411, allocations: 4.094 kB / 0.8379 GB, free: 12.2 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006504/0.7418, allocations: 119.4 kB / 0.8381 GB, free: 12.08 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.937e-05/0.7418, allocations: 23.94 kB / 0.8381 GB, free: 12.05 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (69): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004084/0.7423, allocations: 380.9 kB / 0.8384 GB, free: 11.67 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001318/0.7424, allocations: 102.8 kB / 0.8385 GB, free: 11.57 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001274/0.7437, allocations: 0.7665 MB / 0.8393 GB, free: 10.8 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.246e-06/0.7437, allocations: 7.953 kB / 0.8393 GB, free: 10.79 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.7437, allocations: 0 / 0.8393 GB, free: 10.79 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00109/0.7448, allocations: 0.919 MB / 0.8402 GB, free: 9.785 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002999/0.7478, allocations: 2.272 MB / 0.8424 GB, free: 7.379 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.859e-06/0.7478, allocations: 0 / 0.8424 GB, free: 7.379 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005865/0.7484, allocations: 143.8 kB / 0.8425 GB, free: 7.238 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.133e-06/0.7484, allocations: 11.94 kB / 0.8426 GB, free: 7.227 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.13e-05/0.7485, allocations: 16.38 kB / 0.8426 GB, free: 7.211 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.564e-06/0.7485, allocations: 11.94 kB / 0.8426 GB, free: 7.199 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.789e-06/0.7485, allocations: 4 kB / 0.8426 GB, free: 7.195 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001752/0.7503, allocations: 1.292 MB / 0.8439 GB, free: 5.848 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003191/0.7506, allocations: 259.8 kB / 0.8441 GB, free: 5.574 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001085/0.7507, allocations: 12.88 kB / 0.8441 GB, free: 5.562 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006666/0.7514, allocations: 99.84 kB / 0.8442 GB, free: 5.465 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001042/0.7515, allocations: 52.27 kB / 0.8443 GB, free: 5.414 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.125e-05/0.7515, allocations: 24 kB / 0.8443 GB, free: 5.391 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0006753/0.7522, allocations: 0.5744 MB / 0.8448 GB, free: 4.805 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.6e-07/0.7522, allocations: 3.938 kB / 0.8448 GB, free: 4.801 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001142/0.7534, allocations: 0.5415 MB / 0.8454 GB, free: 4.258 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 6 (spl.vol.dynBal.U,spl.vol.dynBal.m,spl.vol.dynBal.mXi[1],senTem1.T,senTem2.T,senTem3.T) * 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 (60): * Single equations (assignments): 60 * 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.0004669/0.7538, allocations: 235.7 kB / 0.8456 GB, free: 4.031 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.00155/0.7554, allocations: 0.9547 MB / 0.8465 GB, free: 3.078 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 5.601e-06/0.7554, allocations: 4 kB / 0.8465 GB, free: 3.074 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0005347/0.756, allocations: 354.6 kB / 0.8469 GB, free: 2.727 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002422/0.7584, allocations: 0.6176 MB / 0.8475 GB, free: 2.117 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00315/0.7616, allocations: 2.688 MB / 0.8501 GB, free: 15.36 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000672/0.7622, allocations: 1.128 MB / 0.8512 GB, free: 14.2 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002298/0.7625, allocations: 83.42 kB / 0.8513 GB, free: 14.12 MB / 0.67 GB Notification: Performance of SimCode: time 2.51e-07/0.7625, allocations: 0 / 0.8513 GB, free: 14.12 MB / 0.67 GB Notification: Performance of Templates: time 0.3074/1.07, allocations: 17.09 MB / 0.868 GB, free: 217.4 MB / 0.67 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.FlowJunction.makefile make -j1 -f IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.FlowJunction.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.FixedResistances.Examples.FlowJunctionCalcHelperMain.o OMCppIDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.FlowJunctionCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.FlowJunctionCalcHelperMain.o] Error 1