Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData") translateModel(Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.595/2.595, allocations: 287.3 MB / 302.3 MB, free: 8.348 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00152/0.001519, allocations: 189.2 kB / 370.8 MB, free: 10.86 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.162/2.162, allocations: 205.4 MB / 0.6295 GB, free: 10.6 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001559/0.001559, allocations: 88.91 kB / 0.7428 GB, free: 6.613 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006401/0.0006402, allocations: 12.39 kB / 0.8656 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2213/0.222, allocations: 115.3 MB / 0.9782 GB, free: 28.4 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData): time 0.9169/1.139, allocations: 146.9 MB / 1.122 GB, free: 496 kB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.01969/1.159, allocations: 10.45 MB / 1.132 GB, free: 15.64 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001692/1.16, allocations: 27.62 kB / 1.132 GB, free: 15.63 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.001246/1.162, allocations: 276.8 kB / 1.132 GB, free: 15.56 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.003606/1.165, allocations: 0.7434 MB / 1.133 GB, free: 15.51 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.005242/1.171, allocations: 1.19 MB / 1.134 GB, free: 15.45 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.003438/1.174, allocations: 1.355 MB / 1.135 GB, free: 15.39 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00235/1.176, allocations: 1.147 MB / 1.136 GB, free: 15.23 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003683/1.18, allocations: 1.077 MB / 1.138 GB, free: 15.07 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001368/1.182, allocations: 0.5023 MB / 1.138 GB, free: 14.94 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0003409/1.182, allocations: 40.72 kB / 1.138 GB, free: 14.94 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003053/1.185, allocations: 0.6824 MB / 1.139 GB, free: 14.92 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0007484/1.186, allocations: 299.4 kB / 1.139 GB, free: 14.87 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0007351/1.187, allocations: 283.2 kB / 1.139 GB, free: 14.79 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.004266/1.191, allocations: 1.704 MB / 1.141 GB, free: 14.17 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.439e-06/1.191, allocations: 0 / 1.141 GB, free: 14.17 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.277e-06/1.191, allocations: 1.469 kB / 1.141 GB, free: 14.17 MB / 0.698 GB Notification: Performance of Transformations before backend: time 9.268e-05/1.191, allocations: 0 / 1.141 GB, free: 14.17 MB / 0.698 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.004997/1.196, allocations: 1.553 MB / 1.142 GB, free: 13.09 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.686e-05/1.196, allocations: 8.906 kB / 1.142 GB, free: 13.09 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00449/1.201, allocations: 411.8 kB / 1.143 GB, free: 12.92 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00275/1.203, allocations: 0.9178 MB / 1.144 GB, free: 12.41 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000112/1.204, allocations: 92.36 kB / 1.144 GB, free: 12.4 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003047/1.204, allocations: 131.4 kB / 1.144 GB, free: 12.4 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004247/1.208, allocations: 1.425 MB / 1.145 GB, free: 11.89 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.729e-05/1.208, allocations: 1.062 kB / 1.145 GB, free: 11.89 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002295/1.209, allocations: 54.88 kB / 1.145 GB, free: 11.89 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.932e-05/1.209, allocations: 33.33 kB / 1.145 GB, free: 11.89 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004915/1.214, allocations: 1.523 MB / 1.147 GB, free: 11.53 MB / 0.698 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.01206/1.226, allocations: 4.908 MB / 1.152 GB, free: 8.422 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004358/1.23, allocations: 1.299 MB / 1.153 GB, free: 8.031 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009365/1.231, allocations: 264.2 kB / 1.153 GB, free: 7.812 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002113/1.233, allocations: 0.6165 MB / 1.154 GB, free: 7.59 MB / 0.698 GB Notification: Performance of pre-optimization done (n=98): time 4.328e-06/1.233, allocations: 0 / 1.154 GB, free: 7.59 MB / 0.698 GB Notification: Performance of matching and sorting (n=98): time 0.007148/1.24, allocations: 1.542 MB / 1.155 GB, free: 7.156 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001383/1.241, allocations: 193 kB / 1.156 GB, free: 6.934 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001947/1.243, allocations: 0.8155 MB / 1.156 GB, free: 6.645 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0003384/1.243, allocations: 48.48 kB / 1.156 GB, free: 6.598 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007635/1.244, allocations: 0.5677 MB / 1.157 GB, free: 6.094 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005796/1.244, allocations: 335.1 kB / 1.157 GB, free: 5.812 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.46e-05/1.244, allocations: 14.81 kB / 1.157 GB, free: 5.801 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001598/1.245, allocations: 343.4 kB / 1.158 GB, free: 5.469 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001337/1.246, allocations: 343.5 kB / 1.158 GB, free: 5.301 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001571/1.248, allocations: 0.5175 MB / 1.158 GB, free: 4.922 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001594/1.249, allocations: 419.8 kB / 1.159 GB, free: 4.707 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.626e-06/1.249, allocations: 1.219 kB / 1.159 GB, free: 4.707 MB / 0.698 GB Notification: Performance of matching and sorting (n=113) (initialization): time 0.004809/1.254, allocations: 1.091 MB / 1.16 GB, free: 4.156 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.482e-05/1.254, allocations: 12.39 kB / 1.16 GB, free: 4.152 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.548e-05/1.254, allocations: 3.688 kB / 1.16 GB, free: 4.152 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009962/1.255, allocations: 88.92 kB / 1.16 GB, free: 4.109 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002238/1.257, allocations: 230.9 kB / 1.16 GB, free: 4.055 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003375/1.261, allocations: 1.547 MB / 1.162 GB, free: 2.543 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002037/1.263, allocations: 140.6 kB / 1.162 GB, free: 2.457 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002767/1.263, allocations: 43.97 kB / 1.162 GB, free: 2.441 MB / 0.698 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.001242/1.265, allocations: 332.8 kB / 1.162 GB, free: 2.188 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004699/1.265, allocations: 115.5 kB / 1.162 GB, free: 2.129 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005439/1.27, allocations: 1.334 MB / 1.164 GB, free: 1.371 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.187e-05/1.271, allocations: 13.25 kB / 1.164 GB, free: 1.371 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.627e-06/1.271, allocations: 0 / 1.164 GB, free: 1.371 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.941e-05/1.271, allocations: 11.92 kB / 1.164 GB, free: 1.359 MB / 0.698 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.008879/1.28, allocations: 2.714 MB / 1.166 GB, free: 15.54 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.215e-05/1.28, allocations: 4.953 kB / 1.166 GB, free: 15.54 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002067/1.282, allocations: 213.4 kB / 1.167 GB, free: 15.49 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009291/1.283, allocations: 91.7 kB / 1.167 GB, free: 15.44 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002406/1.283, allocations: 26.77 kB / 1.167 GB, free: 15.43 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002982/1.286, allocations: 1.581 MB / 1.168 GB, free: 13.89 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.232e-06/1.286, allocations: 3.938 kB / 1.168 GB, free: 13.89 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00465/1.291, allocations: 1.304 MB / 1.169 GB, free: 13.1 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001212/1.292, allocations: 357.3 kB / 1.17 GB, free: 12.8 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003534/1.292, allocations: 23.42 kB / 1.17 GB, free: 12.78 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001897/1.294, allocations: 95.95 kB / 1.17 GB, free: 12.74 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000283/1.295, allocations: 75.58 kB / 1.17 GB, free: 12.71 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001805/1.295, allocations: 52.25 kB / 1.17 GB, free: 12.68 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.001339/1.296, allocations: 0.5712 MB / 1.171 GB, free: 12.34 MB / 0.7136 GB Notification: Performance of sort global known variables: time 7.31e-07/1.296, allocations: 0 / 1.171 GB, free: 12.34 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.00227/1.298, allocations: 436.5 kB / 1.171 GB, free: 12.22 MB / 0.7136 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.002442/1.301, allocations: 0.651 MB / 1.172 GB, free: 11.93 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.003842/1.305, allocations: 1.032 MB / 1.173 GB, free: 11.39 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 8.977e-06/1.305, allocations: 3.25 kB / 1.173 GB, free: 11.39 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.003326/1.308, allocations: 0.6362 MB / 1.173 GB, free: 11.04 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003785/1.312, allocations: 462.8 kB / 1.174 GB, free: 10.81 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008753/1.321, allocations: 2.937 MB / 1.177 GB, free: 8.91 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001067/1.322, allocations: 1.201 MB / 1.178 GB, free: 7.973 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.003751/1.326, allocations: 373.1 kB / 1.178 GB, free: 7.785 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008671/1.327, allocations: 132.6 kB / 1.178 GB, free: 7.746 MB / 0.7136 GB Notification: Performance of SimCode: time 1.252e-06/1.327, allocations: 0 / 1.178 GB, free: 7.746 MB / 0.7136 GB Notification: Performance of Templates: time 0.07583/1.402, allocations: 20.8 MB / 1.199 GB, free: 6.527 MB / 0.7292 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.sim & ./Buildings_8.0.0_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe 2>&1)