Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Sources.Examples.MassFlowSource_WeatherData.conf.json 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/IBPSA 3.0.0-master/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) 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 IBPSA with version 3.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/IBPSA 3.0.0-master/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) Running command: translateModel(IBPSA.Fluid.Sources.Examples.MassFlowSource_WeatherData,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Sources.Examples.MassFlowSource_WeatherData") translateModel(IBPSA.Fluid.Sources.Examples.MassFlowSource_WeatherData,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Sources.Examples.MassFlowSource_WeatherData") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008918/0.0008922, allocations: 182 kB / 16.08 MB, free: 5.527 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 0.4443/0.4443, allocations: 89.07 MB / 105.9 MB, free: 12.45 MB / 90.72 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.261/1.261, allocations: 225.7 MB / 353.3 MB, free: 1.066 MB / 282.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.0007622/0.0007622, allocations: 93.47 kB / 425.4 MB, free: 6.629 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003089/0.0003089, allocations: 8 kB / 0.4955 GB, free: 4.516 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3133/0.3136, allocations: 71.34 MB / 0.5652 GB, free: 42.32 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sources.Examples.MassFlowSource_WeatherData): time 0.4363/0.7499, allocations: 165.5 MB / 0.7268 GB, free: 14.77 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.01527/0.7652, allocations: 15.99 MB / 0.7425 GB, free: 9.625 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001508/0.7668, allocations: 29.81 kB / 0.7425 GB, free: 9.625 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.001349/0.7682, allocations: 360.1 kB / 0.7428 GB, free: 9.617 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.002931/0.7711, allocations: 0.8321 MB / 0.7437 GB, free: 9.566 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.004448/0.7756, allocations: 1.622 MB / 0.7452 GB, free: 9.496 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.003001/0.7786, allocations: 2.628 MB / 0.7478 GB, free: 9.48 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001809/0.7804, allocations: 1.363 MB / 0.7491 GB, free: 9.254 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00458/0.785, allocations: 1.123 MB / 0.7502 GB, free: 9.207 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009243/0.7859, allocations: 0.6658 MB / 0.7509 GB, free: 9.203 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.0001271/0.7861, allocations: 40.5 kB / 0.7509 GB, free: 9.203 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002524/0.7886, allocations: 1.38 MB / 0.7523 GB, free: 9.18 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.0002742/0.7889, allocations: 314 kB / 0.7526 GB, free: 9.18 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.0006502/0.7896, allocations: 0.6676 MB / 0.7532 GB, free: 9.148 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.002872/0.7924, allocations: 2.513 MB / 0.7557 GB, free: 8.93 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.7925, allocations: 4 kB / 0.7557 GB, free: 8.926 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.723e-06/0.7925, allocations: 0 / 0.7557 GB, free: 8.926 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 2.032e-05/0.7925, allocations: 0 / 0.7557 GB, free: 8.926 MB / 0.5105 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.002473/0.795, allocations: 1.588 MB / 0.7572 GB, free: 7.992 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.593e-05/0.795, allocations: 8.031 kB / 0.7572 GB, free: 7.992 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0022/0.7972, allocations: 414.2 kB / 0.7576 GB, free: 7.895 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001189/0.7984, allocations: 0.9551 MB / 0.7586 GB, free: 7.535 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.112e-05/0.7985, allocations: 98.06 kB / 0.7587 GB, free: 7.531 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001386/0.7986, allocations: 126.2 kB / 0.7588 GB, free: 7.531 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002055/0.8007, allocations: 1.449 MB / 0.7602 GB, free: 7.301 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.522e-05/0.8007, allocations: 2.906 kB / 0.7602 GB, free: 7.301 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000109/0.8009, allocations: 57.66 kB / 0.7602 GB, free: 7.301 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.036e-05/0.8009, allocations: 31.62 kB / 0.7603 GB, free: 7.301 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00235/0.8032, allocations: 1.528 MB / 0.7618 GB, free: 7.281 MB / 0.5105 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.005784/0.809, allocations: 4.953 MB / 0.7666 GB, free: 4.277 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002037/0.8111, allocations: 1.413 MB / 0.768 GB, free: 3.715 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006808/0.8118, allocations: 462 kB / 0.7684 GB, free: 3.641 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006914/0.8125, allocations: 434.3 kB / 0.7688 GB, free: 3.23 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009638/0.8135, allocations: 0.6173 MB / 0.7694 GB, free: 3.012 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=98): time 2.554e-06/0.8135, allocations: 4 kB / 0.7695 GB, free: 3.008 MB / 0.5105 GB Notification: Performance of matching and sorting (n=98): time 0.003538/0.817, allocations: 1.547 MB / 0.771 GB, free: 2.582 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.065e-05/0.8171, allocations: 189.8 kB / 0.7711 GB, free: 2.363 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00093/0.8181, allocations: 0.8424 MB / 0.772 GB, free: 2.082 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 7.351e-05/0.8181, allocations: 50.33 kB / 0.772 GB, free: 2.047 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.000382/0.8185, allocations: 0.5679 MB / 0.7726 GB, free: 1.742 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002243/0.8188, allocations: 324.6 kB / 0.7729 GB, free: 1.508 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.89e-05/0.8188, allocations: 19.03 kB / 0.7729 GB, free: 1.508 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001242/0.8189, allocations: 348.2 kB / 0.7732 GB, free: 1.188 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006249/0.8196, allocations: 370.4 kB / 0.7736 GB, free: 1.125 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007408/0.8203, allocations: 0.5297 MB / 0.7741 GB, free: 0.9102 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001411/0.8218, allocations: 0.9048 MB / 0.775 GB, free: 0.7031 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.536e-06/0.8218, allocations: 0 / 0.775 GB, free: 0.7031 MB / 0.5105 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.002298/0.8241, allocations: 1.156 MB / 0.7761 GB, free: 452 kB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.023e-05/0.8241, allocations: 9.219 kB / 0.7761 GB, free: 448 kB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.849e-06/0.8241, allocations: 3.344 kB / 0.7761 GB, free: 448 kB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005789/0.8247, allocations: 88.41 kB / 0.7762 GB, free: 416 kB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009916/0.8257, allocations: 249 kB / 0.7764 GB, free: 372 kB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001942/0.8277, allocations: 1.531 MB / 0.7779 GB, free: 15 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009765/0.8287, allocations: 144.6 kB / 0.7781 GB, free: 14.93 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001076/0.8288, allocations: 50.97 kB / 0.7781 GB, free: 14.92 MB / 0.5261 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.0007028/0.8295, allocations: 330.7 kB / 0.7784 GB, free: 14.79 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002165/0.8297, allocations: 120.4 kB / 0.7786 GB, free: 14.73 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00284/0.8326, allocations: 1.333 MB / 0.7799 GB, free: 14.37 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.018e-05/0.8326, allocations: 14.34 kB / 0.7799 GB, free: 14.36 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.8326, allocations: 0.5625 kB / 0.7799 GB, free: 14.36 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.198e-05/0.8326, allocations: 5.359 kB / 0.7799 GB, free: 14.36 MB / 0.5261 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.004645/0.8373, allocations: 2.701 MB / 0.7825 GB, free: 13.03 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.079e-06/0.8373, allocations: 0 / 0.7825 GB, free: 13.03 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009295/0.8382, allocations: 211.7 kB / 0.7827 GB, free: 12.84 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005257/0.8388, allocations: 87.02 kB / 0.7828 GB, free: 12.75 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.858e-05/0.8389, allocations: 26.86 kB / 0.7828 GB, free: 12.74 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001696/0.8406, allocations: 1.573 MB / 0.7844 GB, free: 11.19 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.8406, allocations: 0 / 0.7844 GB, free: 11.19 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002336/0.8429, allocations: 1.222 MB / 0.7856 GB, free: 10.26 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005858/0.8435, allocations: 351.6 kB / 0.7859 GB, free: 9.973 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002154/0.8437, allocations: 24.88 kB / 0.7859 GB, free: 9.961 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009853/0.8447, allocations: 111.6 kB / 0.786 GB, free: 9.867 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001779/0.8449, allocations: 74.89 kB / 0.7861 GB, free: 9.801 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001071/0.845, allocations: 43.72 kB / 0.7861 GB, free: 9.766 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0009243/0.846, allocations: 0.581 MB / 0.7867 GB, free: 9.32 MB / 0.5261 GB Notification: Performance of sort global known variables: time 3.11e-07/0.846, allocations: 0 / 0.7867 GB, free: 9.32 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001288/0.8473, allocations: 459.4 kB / 0.7871 GB, free: 8.914 MB / 0.5261 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.001717/0.849, allocations: 0.7882 MB / 0.7879 GB, free: 8.348 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.00204/0.8511, allocations: 1.064 MB / 0.7889 GB, free: 7.562 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.8511, allocations: 0 / 0.7889 GB, free: 7.562 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001057/0.8521, allocations: 0.6377 MB / 0.7896 GB, free: 7.07 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002044/0.8542, allocations: 484.9 kB / 0.79 GB, free: 6.699 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004928/0.8591, allocations: 2.977 MB / 0.7929 GB, free: 3.953 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007615/0.8599, allocations: 1.178 MB / 0.7941 GB, free: 2.762 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.001418/0.8613, allocations: 372.2 kB / 0.7944 GB, free: 2.398 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003384/0.8617, allocations: 134.9 kB / 0.7946 GB, free: 2.281 MB / 0.5261 GB Notification: Performance of SimCode: time 6.22e-07/0.8617, allocations: 0 / 0.7946 GB, free: 2.281 MB / 0.5261 GB Notification: Performance of Templates: time 0.03643/0.8981, allocations: 21.91 MB / 0.816 GB, free: 12.68 MB / 0.5573 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Sources.Examples.MassFlowSource_WeatherData.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Sources.Examples.MassFlowSource_WeatherData.sim & ./IBPSA_latest_IBPSA.Fluid.Sources.Examples.MassFlowSource_WeatherData -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe 2>&1)