Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData") translateModel(Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009992/0.0009991, allocations: 99.55 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009858/0.0009859, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.287/1.287, allocations: 205.4 MB / 222.1 MB, free: 5.656 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.582/1.582, allocations: 292.5 MB / 0.5497 GB, free: 14.61 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005922/0.0005923, allocations: 14.66 kB / 0.6735 GB, free: 26.25 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2198/0.2204, allocations: 116.3 MB / 0.7871 GB, free: 11.97 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData): time 0.5852/0.8057, allocations: 146.9 MB / 0.9306 GB, free: 5.594 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.011/0.8167, allocations: 10.44 MB / 0.9408 GB, free: 5.418 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008928/0.8176, allocations: 27.12 kB / 0.9408 GB, free: 5.418 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0008249/0.8185, allocations: 271.5 kB / 0.9411 GB, free: 5.418 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.001977/0.8204, allocations: 0.7463 MB / 0.9418 GB, free: 5.402 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.003197/0.8236, allocations: 1.189 MB / 0.943 GB, free: 5.387 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.002048/0.8257, allocations: 1.351 MB / 0.9443 GB, free: 5.375 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002058/0.8278, allocations: 1.145 MB / 0.9454 GB, free: 5.242 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002674/0.8305, allocations: 1.078 MB / 0.9464 GB, free: 5.238 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007049/0.8312, allocations: 0.5091 MB / 0.9469 GB, free: 5.23 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001172/0.8313, allocations: 41.12 kB / 0.947 GB, free: 5.23 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001844/0.8332, allocations: 0.6773 MB / 0.9476 GB, free: 5.23 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.000337/0.8335, allocations: 297.7 kB / 0.9479 GB, free: 5.23 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0003053/0.8338, allocations: 283.3 kB / 0.9482 GB, free: 5.199 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.00175/0.8356, allocations: 1.704 MB / 0.9499 GB, free: 5.07 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.515e-06/0.8356, allocations: 0 / 0.9499 GB, free: 5.07 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.532e-06/0.8356, allocations: 4 kB / 0.9499 GB, free: 5.066 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 2.021e-05/0.8356, allocations: 1.156 kB / 0.9499 GB, free: 5.066 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 328 * Number of variables: 328 Notification: Performance of Generate backend data structure: time 0.002669/0.8383, allocations: 1.554 MB / 0.9514 GB, free: 20.18 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.603e-05/0.8383, allocations: 8.781 kB / 0.9514 GB, free: 20.18 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002391/0.8407, allocations: 414.3 kB / 0.9518 GB, free: 20.09 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001377/0.8421, allocations: 0.9127 MB / 0.9527 GB, free: 19.77 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.02e-05/0.8422, allocations: 97.95 kB / 0.9528 GB, free: 19.77 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001484/0.8424, allocations: 125.1 kB / 0.9529 GB, free: 19.77 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002136/0.8445, allocations: 1.426 MB / 0.9543 GB, free: 19.53 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.428e-05/0.8445, allocations: 4.125 kB / 0.9543 GB, free: 19.53 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001172/0.8447, allocations: 60.55 kB / 0.9543 GB, free: 19.53 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.564e-05/0.8447, allocations: 31.12 kB / 0.9544 GB, free: 19.53 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002358/0.8471, allocations: 1.521 MB / 0.9559 GB, free: 19.51 MB / 0.7325 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.006589/0.8537, allocations: 4.904 MB / 0.9606 GB, free: 17.27 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002109/0.8558, allocations: 1.299 MB / 0.9619 GB, free: 17.04 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005231/0.8563, allocations: 257.3 kB / 0.9622 GB, free: 16.85 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000983/0.8573, allocations: 0.614 MB / 0.9628 GB, free: 16.77 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=98): time 3.306e-06/0.8573, allocations: 2.906 kB / 0.9628 GB, free: 16.77 MB / 0.7325 GB Notification: Performance of matching and sorting (n=98): time 0.003443/0.8608, allocations: 1.541 MB / 0.9643 GB, free: 16.54 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.843e-05/0.8609, allocations: 192.1 kB / 0.9645 GB, free: 16.32 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008442/0.8617, allocations: 0.8264 MB / 0.9653 GB, free: 16.16 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 8.338e-05/0.8618, allocations: 43.7 kB / 0.9653 GB, free: 16.13 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.000304/0.8621, allocations: 0.5635 MB / 0.9659 GB, free: 15.88 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001847/0.8623, allocations: 332.1 kB / 0.9662 GB, free: 15.67 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.574e-05/0.8624, allocations: 16.19 kB / 0.9662 GB, free: 15.67 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001166/0.8625, allocations: 346.1 kB / 0.9665 GB, free: 15.36 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005674/0.8631, allocations: 342.2 kB / 0.9668 GB, free: 15.36 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006691/0.8638, allocations: 0.5195 MB / 0.9673 GB, free: 15.18 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006506/0.8644, allocations: 415.4 kB / 0.9677 GB, free: 15.17 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.977e-06/0.8644, allocations: 0 / 0.9677 GB, free: 15.17 MB / 0.7325 GB Notification: Performance of matching and sorting (n=113) (initialization): time 0.002044/0.8665, allocations: 1.096 MB / 0.9688 GB, free: 15.05 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.823e-05/0.8665, allocations: 5.781 kB / 0.9688 GB, free: 15.05 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.666e-06/0.8665, allocations: 7.781 kB / 0.9688 GB, free: 15.04 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005267/0.8671, allocations: 89.11 kB / 0.9689 GB, free: 15.03 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009314/0.868, allocations: 232.4 kB / 0.9691 GB, free: 15.03 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001725/0.8697, allocations: 1.553 MB / 0.9706 GB, free: 13.73 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009209/0.8707, allocations: 139.6 kB / 0.9708 GB, free: 13.68 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.805e-05/0.8708, allocations: 40.42 kB / 0.9708 GB, free: 13.68 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (111): * Single equations (assignments): 110 * 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 2} Notification: Performance of prepare postOptimizeDAE: time 0.0005257/0.8713, allocations: 326.6 kB / 0.9711 GB, free: 13.56 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001466/0.8714, allocations: 113 kB / 0.9712 GB, free: 13.5 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002505/0.874, allocations: 1.347 MB / 0.9726 GB, free: 13.36 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.089e-05/0.874, allocations: 11.06 kB / 0.9726 GB, free: 13.36 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.874, allocations: 3.984 kB / 0.9726 GB, free: 13.35 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.251e-05/0.874, allocations: 9.25 kB / 0.9726 GB, free: 13.35 MB / 0.7325 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.004042/0.8781, allocations: 2.712 MB / 0.9752 GB, free: 12.31 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.633e-06/0.8781, allocations: 3.219 kB / 0.9752 GB, free: 12.31 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009032/0.879, allocations: 222.3 kB / 0.9754 GB, free: 12.27 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004519/0.8794, allocations: 85.98 kB / 0.9755 GB, free: 12.24 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.532e-05/0.8795, allocations: 38.28 kB / 0.9756 GB, free: 12.23 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001555/0.8811, allocations: 1.568 MB / 0.9771 GB, free: 10.86 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.8811, allocations: 2.688 kB / 0.9771 GB, free: 10.86 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002056/0.8832, allocations: 1.304 MB / 0.9784 GB, free: 10.39 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005306/0.8837, allocations: 348.6 kB / 0.9787 GB, free: 10.17 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000145/0.8839, allocations: 20.72 kB / 0.9787 GB, free: 10.17 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008548/0.8847, allocations: 105.6 kB / 0.9788 GB, free: 10.14 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001285/0.8849, allocations: 72.83 kB / 0.9789 GB, free: 10.11 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.77e-05/0.885, allocations: 48 kB / 0.9789 GB, free: 10.1 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0006234/0.8856, allocations: 0.5634 MB / 0.9795 GB, free: 9.91 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.3e-07/0.8856, allocations: 0 / 0.9795 GB, free: 9.91 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.00113/0.8867, allocations: 439.1 kB / 0.9799 GB, free: 9.828 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (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 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.001349/0.8881, allocations: 0.6537 MB / 0.9805 GB, free: 9.562 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001805/0.8899, allocations: 1.036 MB / 0.9816 GB, free: 9.301 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 4.839e-06/0.8899, allocations: 0 / 0.9816 GB, free: 9.301 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.001016/0.8909, allocations: 0.6416 MB / 0.9822 GB, free: 9.109 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001977/0.8929, allocations: 465.4 kB / 0.9826 GB, free: 8.965 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00494/0.8979, allocations: 2.941 MB / 0.9855 GB, free: 7.324 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006645/0.8986, allocations: 1.198 MB / 0.9867 GB, free: 6.406 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.00136/0.8999, allocations: 381 kB / 0.987 GB, free: 6.211 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002967/0.9002, allocations: 129.3 kB / 0.9872 GB, free: 6.188 MB / 0.7325 GB Notification: Performance of SimCode: time 6.01e-07/0.9002, allocations: 0 / 0.9872 GB, free: 6.188 MB / 0.7325 GB Notification: Performance of Templates: time 0.03099/0.9312, allocations: 20.82 MB / 1.007 GB, free: 10.23 MB / 0.7481 GB make -j1 -f Buildings_8_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe ; mkfifo Buildings_8_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe >> ../files/Buildings_8_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.sim & ./Buildings_8_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe 2>&1) Environment - environmentSimulation: