Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Sources.Examples.MassFlowSource_WeatherData.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Fluid.Sources.Examples.MassFlowSource_WeatherData,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sources.Examples.MassFlowSource_WeatherData") translateModel(BuildingSystems.Fluid.Sources.Examples.MassFlowSource_WeatherData,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sources.Examples.MassFlowSource_WeatherData") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8355/0.8355, allocations: 143.8 MB / 159.1 MB, free: 6.508 MB / 122.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001061/0.001062, allocations: 179.3 kB / 192 MB, free: 6.723 MB / 154.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.414/1.414, allocations: 225.7 MB / 450.4 MB, free: 6.676 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008722/0.0008723, allocations: 107.5 kB / 0.5211 GB, free: 3.336 MB / 410.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001703/0.001703, allocations: 279.7 kB / 0.6025 GB, free: 49.51 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005514/0.0005513, allocations: 20 kB / 0.6948 GB, free: 2.82 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3885/0.3891, allocations: 82.45 MB / 0.7753 GB, free: 26.95 MB / 458.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sources.Examples.MassFlowSource_WeatherData): time 0.5963/0.9854, allocations: 165.5 MB / 0.937 GB, free: 15.22 MB / 0.573 GB Notification: Performance of NFInst.instExpressions: time 0.01759/1.003, allocations: 16 MB / 0.9526 GB, free: 10.06 MB / 0.573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001728/1.005, allocations: 27.03 kB / 0.9526 GB, free: 10.06 MB / 0.573 GB Notification: Performance of NFTyping.typeComponents: time 0.001268/1.006, allocations: 362.5 kB / 0.953 GB, free: 10.05 MB / 0.573 GB Notification: Performance of NFTyping.typeBindings: time 0.00281/1.009, allocations: 0.83 MB / 0.9538 GB, free: 10.01 MB / 0.573 GB Notification: Performance of NFTyping.typeClassSections: time 0.004834/1.014, allocations: 1.626 MB / 0.9554 GB, free: 9.93 MB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 0.003247/1.017, allocations: 2.622 MB / 0.9579 GB, free: 9.918 MB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002014/1.019, allocations: 1.368 MB / 0.9593 GB, free: 9.688 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005071/1.024, allocations: 1.119 MB / 0.9604 GB, free: 9.645 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001063/1.025, allocations: 0.6641 MB / 0.961 GB, free: 9.645 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 0.0001246/1.025, allocations: 42.75 kB / 0.961 GB, free: 9.645 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002972/1.028, allocations: 1.375 MB / 0.9624 GB, free: 9.621 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 0.0003188/1.029, allocations: 324.7 kB / 0.9627 GB, free: 9.613 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 0.0007336/1.029, allocations: 0.666 MB / 0.9633 GB, free: 9.578 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.003634/1.033, allocations: 2.509 MB / 0.9658 GB, free: 9.371 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 6.412e-06/1.033, allocations: 3.25 kB / 0.9658 GB, free: 9.371 MB / 0.573 GB Notification: Performance of FrontEnd: time 1.873e-06/1.033, allocations: 0 / 0.9658 GB, free: 9.371 MB / 0.573 GB Notification: Performance of Transformations before backend: time 2.304e-05/1.033, allocations: 0 / 0.9658 GB, free: 9.371 MB / 0.573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 333 * Number of variables: 333 Notification: Performance of Generate backend data structure: time 0.002624/1.036, allocations: 1.59 MB / 0.9674 GB, free: 8.434 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 4.393e-05/1.036, allocations: 8.562 kB / 0.9674 GB, free: 8.434 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002321/1.038, allocations: 417.6 kB / 0.9678 GB, free: 8.336 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001338/1.039, allocations: 0.9538 MB / 0.9687 GB, free: 7.977 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.829e-05/1.04, allocations: 96.34 kB / 0.9688 GB, free: 7.973 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001467/1.04, allocations: 132.2 kB / 0.9689 GB, free: 7.973 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002235/1.042, allocations: 1.445 MB / 0.9703 GB, free: 7.742 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.446e-05/1.042, allocations: 5.406 kB / 0.9703 GB, free: 7.742 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001134/1.042, allocations: 54.88 kB / 0.9704 GB, free: 7.742 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.387e-05/1.042, allocations: 32.28 kB / 0.9704 GB, free: 7.742 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002228/1.044, allocations: 1.533 MB / 0.9719 GB, free: 7.723 MB / 0.573 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.006421/1.051, allocations: 4.928 MB / 0.9767 GB, free: 5.492 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002307/1.053, allocations: 1.434 MB / 0.9781 GB, free: 5.059 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007138/1.054, allocations: 460.6 kB / 0.9786 GB, free: 5.043 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007482/1.055, allocations: 439.5 kB / 0.979 GB, free: 4.664 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001058/1.056, allocations: 0.6201 MB / 0.9796 GB, free: 4.484 MB / 0.573 GB Notification: Performance of pre-optimization done (n=98): time 3.617e-06/1.056, allocations: 0 / 0.9796 GB, free: 4.484 MB / 0.573 GB Notification: Performance of matching and sorting (n=98): time 0.003638/1.059, allocations: 1.539 MB / 0.9811 GB, free: 4.059 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001093/1.059, allocations: 194.2 kB / 0.9813 GB, free: 3.836 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001043/1.061, allocations: 0.8411 MB / 0.9821 GB, free: 3.555 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 7.574e-05/1.061, allocations: 46.11 kB / 0.9821 GB, free: 3.523 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004393/1.061, allocations: 0.5716 MB / 0.9827 GB, free: 3.219 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002615/1.061, allocations: 333.6 kB / 0.983 GB, free: 2.98 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.846e-05/1.061, allocations: 17.12 kB / 0.983 GB, free: 2.98 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0001286/1.061, allocations: 341.9 kB / 0.9834 GB, free: 2.664 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006336/1.062, allocations: 365.9 kB / 0.9837 GB, free: 2.609 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007589/1.063, allocations: 0.5311 MB / 0.9842 GB, free: 2.395 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001394/1.064, allocations: 0.9029 MB / 0.9851 GB, free: 2.184 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/1.064, allocations: 0 / 0.9851 GB, free: 2.184 MB / 0.573 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.002249/1.067, allocations: 1.157 MB / 0.9862 GB, free: 1.926 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.957e-05/1.067, allocations: 10.22 kB / 0.9862 GB, free: 1.922 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.518e-06/1.067, allocations: 2.656 kB / 0.9862 GB, free: 1.922 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005422/1.067, allocations: 84.56 kB / 0.9863 GB, free: 1.891 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009817/1.068, allocations: 243.3 kB / 0.9866 GB, free: 1.852 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001993/1.07, allocations: 1.54 MB / 0.9881 GB, free: 492 kB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001042/1.071, allocations: 144.1 kB / 0.9882 GB, free: 420 kB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001001/1.071, allocations: 46.84 kB / 0.9882 GB, free: 412 kB / 0.573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.canRepeatWeatherFile) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (119): * Single equations (assignments): 118 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0006315/1.072, allocations: 329.9 kB / 0.9886 GB, free: 276 kB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001604/1.072, allocations: 120.4 kB / 0.9887 GB, free: 212 kB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002783/1.075, allocations: 1.329 MB / 0.99 GB, free: 15.86 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.287e-06/1.075, allocations: 11.22 kB / 0.99 GB, free: 15.86 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.076e-06/1.075, allocations: 0 / 0.99 GB, free: 15.86 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.385e-05/1.075, allocations: 7.969 kB / 0.99 GB, free: 15.86 MB / 0.5886 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 postOpt removeSimpleEquations (simulation): time 0.004156/1.079, allocations: 2.698 MB / 0.9926 GB, free: 14.84 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.801e-06/1.079, allocations: 3.312 kB / 0.9926 GB, free: 14.84 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008963/1.08, allocations: 215.9 kB / 0.9928 GB, free: 14.8 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004768/1.081, allocations: 85.5 kB / 0.9929 GB, free: 14.77 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.878e-05/1.081, allocations: 34.34 kB / 0.9929 GB, free: 14.76 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001699/1.082, allocations: 1.56 MB / 0.9945 GB, free: 13.39 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.422e-06/1.082, allocations: 0 / 0.9945 GB, free: 13.39 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002491/1.085, allocations: 1.237 MB / 0.9957 GB, free: 13.02 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006596/1.086, allocations: 350.8 kB / 0.996 GB, free: 12.8 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001376/1.086, allocations: 19.12 kB / 0.996 GB, free: 12.8 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008391/1.087, allocations: 109.6 kB / 0.9961 GB, free: 12.76 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001956/1.087, allocations: 75.23 kB / 0.9962 GB, free: 12.73 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001134/1.087, allocations: 46.91 kB / 0.9963 GB, free: 12.72 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0008247/1.088, allocations: 0.5775 MB / 0.9968 GB, free: 12.53 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.7e-07/1.088, allocations: 0 / 0.9968 GB, free: 12.53 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.001212/1.089, allocations: 465.3 kB / 0.9973 GB, free: 12.44 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (109): * Single equations (assignments): 106 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001662/1.091, allocations: 0.7832 MB / 0.998 GB, free: 12.06 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.002027/1.093, allocations: 1.064 MB / 0.9991 GB, free: 11.8 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 3.928e-06/1.093, allocations: 4 kB / 0.9991 GB, free: 11.8 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.001015/1.094, allocations: 0.6344 MB / 0.9997 GB, free: 11.61 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002186/1.096, allocations: 485.8 kB / 1 GB, free: 11.46 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005897/1.102, allocations: 2.979 MB / 1.003 GB, free: 8.93 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008745/1.103, allocations: 1.184 MB / 1.004 GB, free: 7.738 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.001747/1.104, allocations: 381.2 kB / 1.005 GB, free: 7.363 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003366/1.105, allocations: 125.4 kB / 1.005 GB, free: 7.25 MB / 0.5886 GB Notification: Performance of SimCode: time 8.32e-07/1.105, allocations: 4 kB / 1.005 GB, free: 7.246 MB / 0.5886 GB Notification: Performance of Templates: time 0.04004/1.145, allocations: 21.94 MB / 1.026 GB, free: 1.629 MB / 0.6042 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Sources.Examples.MassFlowSource_WeatherData.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sources.Examples.MassFlowSource_WeatherData.sim & ./BuildingSystems_BuildingSystems.Fluid.Sources.Examples.MassFlowSource_WeatherData -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe 2>&1)