Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.Boundaries.Tests.DynamicBoundaries.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/ThermofluidStream 1.1.0-main/package.mo", uses=false) Using package ThermofluidStream with version 1.1.0 dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/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(ThermofluidStream.Boundaries.Tests.DynamicBoundaries,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|source.outlet.m_flow|source1.outlet.m_flow|source2.outlet.m_flow|source3.outlet.m_flow|source4.outlet.m_flow|source5.outlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.Boundaries.Tests.DynamicBoundaries") translateModel(ThermofluidStream.Boundaries.Tests.DynamicBoundaries,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|source.outlet.m_flow|source1.outlet.m_flow|source2.outlet.m_flow|source3.outlet.m_flow|source4.outlet.m_flow|source5.outlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.Boundaries.Tests.DynamicBoundaries") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00103/0.00103, allocations: 103 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.001319/0.001319, allocations: 179.5 kB / 16.59 MB, free: 6.145 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.573/1.573, allocations: 223.3 MB / 240.6 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.8907/0.8907, allocations: 89.62 MB / 381.3 MB, free: 11.44 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005224/0.0005224, allocations: 11.88 kB / 460.6 MB, free: 24.43 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.168/0.1685, allocations: 68.83 MB / 0.517 GB, free: 11.76 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Boundaries.Tests.DynamicBoundaries): time 0.6036/0.7722, allocations: 172.3 MB / 0.6854 GB, free: 15.87 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.05624/0.8285, allocations: 41.7 MB / 0.7261 GB, free: 6.066 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007064/0.8356, allocations: 39.75 kB / 0.7261 GB, free: 6.027 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.007826/0.8435, allocations: 1.713 MB / 0.7278 GB, free: 4.305 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.01731/0.8608, allocations: 3.498 MB / 0.7312 GB, free: 0.7812 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.02058/0.8815, allocations: 5.554 MB / 0.7366 GB, free: 11.23 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.00768/0.8892, allocations: 4.403 MB / 0.7409 GB, free: 6.805 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001588/0.8908, allocations: 0.722 MB / 0.7416 GB, free: 6.055 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03223/0.9231, allocations: 18.04 MB / 0.7592 GB, free: 4.004 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004232/0.9274, allocations: 1.412 MB / 0.7606 GB, free: 2.586 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0007657/0.9282, allocations: 100 kB / 0.7607 GB, free: 2.488 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02813/0.9564, allocations: 9.096 MB / 0.7696 GB, free: 9.383 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.001609/0.958, allocations: 397.9 kB / 0.77 GB, free: 8.992 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001819/0.9599, allocations: 0.5354 MB / 0.7705 GB, free: 8.449 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.01587/0.9757, allocations: 5.862 MB / 0.7762 GB, free: 2.574 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 9.508e-06/0.9758, allocations: 4 kB / 0.7762 GB, free: 2.57 MB / 0.5762 GB Notification: Performance of FrontEnd: time 3.066e-06/0.9758, allocations: 0 / 0.7762 GB, free: 2.57 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.0001004/0.9759, allocations: 0 / 0.7762 GB, free: 2.57 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 602 * Number of variables: 602 Notification: Performance of Generate backend data structure: time 0.01422/0.9902, allocations: 3.968 MB / 0.7801 GB, free: 14.54 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 5.76e-05/0.9902, allocations: 12.03 kB / 0.7801 GB, free: 14.52 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00338/0.9936, allocations: 0.5586 MB / 0.7807 GB, free: 13.96 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003363/0.997, allocations: 1.226 MB / 0.7819 GB, free: 12.68 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001422/0.9972, allocations: 176.7 kB / 0.782 GB, free: 12.51 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000347/0.9975, allocations: 247.8 kB / 0.7823 GB, free: 12.27 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006409/1.004, allocations: 2.815 MB / 0.785 GB, free: 9.309 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.306e-05/1.004, allocations: 11.89 kB / 0.785 GB, free: 9.297 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000196/1.004, allocations: 96 kB / 0.7851 GB, free: 9.203 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.528e-05/1.004, allocations: 60 kB / 0.7852 GB, free: 9.145 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00558/1.01, allocations: 2.377 MB / 0.7875 GB, free: 6.762 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01902/1.029, allocations: 12.82 MB / 0.8 GB, free: 8.723 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005266/1.034, allocations: 2.133 MB / 0.8021 GB, free: 6.539 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001975/1.036, allocations: 1.079 MB / 0.8032 GB, free: 5.445 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.5661/1.602, allocations: 48.03 MB / 0.8501 GB, free: 192.3 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.674e-05/1.603, allocations: 60.88 kB / 0.8501 GB, free: 192.3 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=208): time 5.671e-06/1.603, allocations: 0 / 0.8501 GB, free: 192.3 MB / 0.6075 GB Notification: Performance of matching and sorting (n=208): time 0.01152/1.614, allocations: 4.355 MB / 0.8544 GB, free: 190.4 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001379/1.614, allocations: 210.9 kB / 0.8546 GB, free: 190.2 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002328/1.617, allocations: 1.444 MB / 0.856 GB, free: 189.5 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0001215/1.617, allocations: 57.64 kB / 0.856 GB, free: 189.4 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009003/1.618, allocations: 0.948 MB / 0.857 GB, free: 188.7 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006475/1.618, allocations: 0.6999 MB / 0.8576 GB, free: 188.1 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.624e-05/1.618, allocations: 39.91 kB / 0.8577 GB, free: 188.1 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001458/1.619, allocations: 377.7 kB / 0.858 GB, free: 187.7 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00122/1.62, allocations: 0.6665 MB / 0.8587 GB, free: 187.4 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001438/1.621, allocations: 0.9538 MB / 0.8596 GB, free: 186.7 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001486/1.623, allocations: 0.7952 MB / 0.8604 GB, free: 186.3 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.398e-06/1.623, allocations: 0 / 0.8604 GB, free: 186.3 MB / 0.6075 GB Notification: Performance of matching and sorting (n=238) (initialization): time 0.004623/1.627, allocations: 2.333 MB / 0.8627 GB, free: 185.1 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.926e-05/1.628, allocations: 7.75 kB / 0.8627 GB, free: 185.1 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.625e-05/1.628, allocations: 8.125 kB / 0.8627 GB, free: 185.1 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009291/1.628, allocations: 317.1 kB / 0.863 GB, free: 184.9 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001315/1.63, allocations: 406 kB / 0.8634 GB, free: 184.8 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005728/1.636, allocations: 8.937 MB / 0.8721 GB, free: 175.8 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001902/1.637, allocations: 230 kB / 0.8723 GB, free: 175.6 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001422/1.638, allocations: 87.92 kB / 0.8724 GB, free: 175.5 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * Number of states: 0 () * Number of discrete variables: 24 (dynamicPressureInflow5.outlet.state.phase,dynamicPressureInflow4.outlet.state.phase,dynamicPressureInflow3.outlet.state.phase,dynamicPressureInflow2.outlet.state.phase,dynamicPressureInflow1.outlet.state.phase,dynamicPressureInflow.outlet.state.phase,flowResistance5.outlet.state.phase,dynamicPressureOutflow5.outlet.state.phase,source5.outlet.state.phase,flowResistance4.outlet.state.phase,dynamicPressureOutflow4.outlet.state.phase,source4.outlet.state.phase,flowResistance3.outlet.state.phase,dynamicPressureOutflow3.outlet.state.phase,source3.outlet.state.phase,flowResistance2.outlet.state.phase,dynamicPressureOutflow2.outlet.state.phase,source2.outlet.state.phase,flowResistance1.outlet.state.phase,dynamicPressureOutflow1.outlet.state.phase,source1.outlet.state.phase,flowResistance.outlet.state.phase,dynamicPressureOutflow.outlet.state.phase,source.outlet.state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (214): * Single equations (assignments): 208 * 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: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(1,100.0%) 4,(1,100.0%) 4,(1,100.0%) 4,(1,100.0%) 4,(1,100.0%) 4,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0009775/1.639, allocations: 409.2 kB / 0.8728 GB, free: 175.1 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006306/1.639, allocations: 213.4 kB / 0.873 GB, free: 174.9 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007083/1.646, allocations: 6.488 MB / 0.8793 GB, free: 168.4 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.08e-05/1.646, allocations: 79.89 kB / 0.8794 GB, free: 168.3 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.372e-05/1.646, allocations: 12 kB / 0.8794 GB, free: 168.3 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.258e-05/1.646, allocations: 11.95 kB / 0.8794 GB, free: 168.3 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01144/1.658, allocations: 10.01 MB / 0.8892 GB, free: 158.2 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.891e-05/1.658, allocations: 4 kB / 0.8892 GB, free: 158.2 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001177/1.659, allocations: 339.8 kB / 0.8895 GB, free: 157.9 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000934/1.66, allocations: 325.6 kB / 0.8899 GB, free: 157.5 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001125/1.66, allocations: 71.92 kB / 0.8899 GB, free: 157.4 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005612/1.666, allocations: 8.935 MB / 0.8987 GB, free: 147.7 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.63e-06/1.666, allocations: 7.938 kB / 0.8987 GB, free: 147.7 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00738/1.673, allocations: 5.712 MB / 0.9042 GB, free: 141.9 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001276/1.675, allocations: 0.5386 MB / 0.9048 GB, free: 141.4 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002761/1.675, allocations: 48 kB / 0.9048 GB, free: 141.3 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001305/1.676, allocations: 135.4 kB / 0.9049 GB, free: 141.2 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003881/1.677, allocations: 171.5 kB / 0.9051 GB, free: 141 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001169/1.677, allocations: 75.91 kB / 0.9052 GB, free: 141 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.001554/1.678, allocations: 1.244 MB / 0.9064 GB, free: 139.7 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/1.678, allocations: 0 / 0.9064 GB, free: 139.7 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.006758/1.685, allocations: 1.774 MB / 0.9081 GB, free: 138 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 6 (flowResistance5.inlet.m_flow,flowResistance4.inlet.m_flow,flowResistance3.inlet.m_flow,flowResistance2.inlet.m_flow,flowResistance1.inlet.m_flow,flowResistance.inlet.m_flow) * Number of discrete variables: 36 ($cse26.phase,$cse26.region,$cse28.phase,$cse28.region,$cse29.phase,$cse29.region,$cse21.phase,$cse21.region,$cse23.phase,$cse23.region,$cse24.phase,$cse24.region,$cse16.phase,$cse16.region,$cse18.phase,$cse18.region,$cse19.phase,$cse19.region,$cse11.phase,$cse11.region,$cse13.phase,$cse13.region,$cse14.phase,$cse14.region,$cse6.phase,$cse6.region,$cse8.phase,$cse8.region,$cse9.phase,$cse9.region,$cse1.phase,$cse1.region,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (208): * Single equations (assignments): 184 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 18 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(1,100.0%) 4,(1,100.0%) 4,(1,100.0%) 4,(1,100.0%) 4,(1,100.0%) 4,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.006699/1.692, allocations: 1.878 MB / 0.91 GB, free: 136.4 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.005173/1.697, allocations: 3.13 MB / 0.913 GB, free: 133.2 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 7.744e-06/1.697, allocations: 4 kB / 0.913 GB, free: 133.2 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.00319/1.7, allocations: 2.51 MB / 0.9155 GB, free: 130.6 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005421/1.706, allocations: 0.8369 MB / 0.9163 GB, free: 129.8 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01289/1.719, allocations: 8.093 MB / 0.9242 GB, free: 121.6 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001358/1.72, allocations: 1.908 MB / 0.9261 GB, free: 119.7 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009837/1.721, allocations: 191.4 kB / 0.9262 GB, free: 119.5 MB / 0.6075 GB Notification: Performance of SimCode: time 2.254e-06/1.721, allocations: 0 / 0.9262 GB, free: 119.5 MB / 0.6075 GB Notification: Performance of Templates: time 0.5362/2.257, allocations: 131.4 MB / 1.055 GB, free: 206.9 MB / 0.6075 GB make -j1 -f ThermofluidStream_ThermofluidStream.Boundaries.Tests.DynamicBoundaries.makefile make -j1 -f ThermofluidStream_ThermofluidStream.Boundaries.Tests.DynamicBoundaries.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"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppThermofluidStream_ThermofluidStream.Boundaries.Tests.DynamicBoundariesCalcHelperMain.o OMCppThermofluidStream_ThermofluidStream.Boundaries.Tests.DynamicBoundariesCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppThermofluidStream_ThermofluidStream.Boundaries.Tests.DynamicBoundariesCalcHelperMain.o] Error 1