Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.IO.SignalExchange.Examples.WeatherStation.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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(BuildingSystems.Utilities.IO.SignalExchange.Examples.WeatherStation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.IO.SignalExchange.Examples.WeatherStation") translateModel(BuildingSystems.Utilities.IO.SignalExchange.Examples.WeatherStation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.IO.SignalExchange.Examples.WeatherStation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001195/0.001196, allocations: 114.2 kB / 16.42 MB, free: 6.012 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.001225/0.001225, allocations: 183.8 kB / 17.35 MB, free: 5.629 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.229/1.229, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001996/0.001996, allocations: 298.3 kB / 291.5 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8913/0.8913, allocations: 169.3 MB / 0.499 GB, free: 4.426 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001663/0.001663, allocations: 95.84 kB / 0.6821 GB, free: 6.973 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.355/0.3566, allocations: 86.97 MB / 0.767 GB, free: 3.922 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.IO.SignalExchange.Examples.WeatherStation): time 0.006509/0.3632, allocations: 5.112 MB / 0.772 GB, free: 14.79 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.1443/0.5075, allocations: 150.8 MB / 0.9193 GB, free: 7.348 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008507/0.5084, allocations: 19.88 kB / 0.9193 GB, free: 7.328 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.0009249/0.5094, allocations: 345.4 kB / 0.9197 GB, free: 6.988 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.001726/0.5111, allocations: 0.5259 MB / 0.9202 GB, free: 6.465 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.001839/0.513, allocations: 0.8561 MB / 0.921 GB, free: 5.613 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.001612/0.5146, allocations: 1.477 MB / 0.9225 GB, free: 4.129 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0011/0.5157, allocations: 0.8178 MB / 0.9233 GB, free: 3.277 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006778/0.5164, allocations: 0.5292 MB / 0.9238 GB, free: 2.746 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006853/0.5171, allocations: 0.5597 MB / 0.9243 GB, free: 2.184 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0002255/0.5173, allocations: 132 kB / 0.9245 GB, free: 2.055 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008108/0.5181, allocations: 0.4918 MB / 0.9249 GB, free: 1.562 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0002535/0.5184, allocations: 330.9 kB / 0.9253 GB, free: 1.238 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0004786/0.5189, allocations: 0.6487 MB / 0.9259 GB, free: 0.5859 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.001648/0.5205, allocations: 1.891 MB / 0.9277 GB, free: 14.69 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 2.695e-06/0.5206, allocations: 4 kB / 0.9277 GB, free: 14.69 MB / 0.7012 GB Notification: Performance of FrontEnd: time 8.52e-07/0.5206, allocations: 0 / 0.9277 GB, free: 14.69 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 1.157e-05/0.5206, allocations: 0 / 0.9277 GB, free: 14.69 MB / 0.7012 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 252 * Number of variables: 252 Notification: Performance of Generate backend data structure: time 0.002316/0.5229, allocations: 1.663 MB / 0.9294 GB, free: 12.97 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 3.339e-05/0.5229, allocations: 12.03 kB / 0.9294 GB, free: 12.96 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008825/0.5238, allocations: 215 kB / 0.9296 GB, free: 12.75 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001165/0.525, allocations: 0.914 MB / 0.9305 GB, free: 11.79 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.506e-05/0.5251, allocations: 74 kB / 0.9305 GB, free: 11.72 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001122/0.5252, allocations: 96 kB / 0.9306 GB, free: 11.62 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001598/0.5268, allocations: 1.032 MB / 0.9316 GB, free: 10.55 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.815e-05/0.5268, allocations: 0 / 0.9316 GB, free: 10.55 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.079e-05/0.5269, allocations: 40 kB / 0.9317 GB, free: 10.51 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.932e-05/0.5269, allocations: 24 kB / 0.9317 GB, free: 10.48 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001721/0.5287, allocations: 1.171 MB / 0.9328 GB, free: 9.312 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003674/0.5324, allocations: 2.804 MB / 0.9356 GB, free: 6.438 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001369/0.5337, allocations: 0.7922 MB / 0.9364 GB, free: 5.641 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004937/0.5342, allocations: 302.7 kB / 0.9366 GB, free: 5.344 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 6.542e-05/0.5343, allocations: 32.55 kB / 0.9367 GB, free: 5.312 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007912/0.5351, allocations: 498.6 kB / 0.9372 GB, free: 4.809 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=78): time 2.204e-06/0.5351, allocations: 0 / 0.9372 GB, free: 4.809 MB / 0.7012 GB Notification: Performance of matching and sorting (n=78): time 0.002923/0.5381, allocations: 1.209 MB / 0.9383 GB, free: 3.57 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.642e-05/0.5382, allocations: 192.6 kB / 0.9385 GB, free: 3.34 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008823/0.539, allocations: 0.7913 MB / 0.9393 GB, free: 2.523 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 6.188e-05/0.5391, allocations: 45.64 kB / 0.9393 GB, free: 2.473 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003404/0.5395, allocations: 0.5077 MB / 0.9398 GB, free: 1.957 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001748/0.5396, allocations: 256.4 kB / 0.9401 GB, free: 1.703 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002184/0.5399, allocations: 162.5 kB / 0.9402 GB, free: 1.539 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001054/0.54, allocations: 337.9 kB / 0.9405 GB, free: 1.203 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005029/0.5405, allocations: 265.8 kB / 0.9408 GB, free: 0.9453 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005979/0.5411, allocations: 363.1 kB / 0.9411 GB, free: 0.5781 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001055/0.5422, allocations: 0.5995 MB / 0.9417 GB, free: 15.96 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.5422, allocations: 0 / 0.9417 GB, free: 15.96 MB / 0.7169 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.001836/0.544, allocations: 0.8642 MB / 0.9426 GB, free: 15.09 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.558e-05/0.544, allocations: 8 kB / 0.9426 GB, free: 15.08 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.293e-06/0.5441, allocations: 4 kB / 0.9426 GB, free: 15.07 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005708/0.5446, allocations: 84.86 kB / 0.9427 GB, free: 14.99 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000616/0.5453, allocations: 159.7 kB / 0.9428 GB, free: 14.83 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001956/0.5472, allocations: 1.642 MB / 0.9444 GB, free: 13.05 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006637/0.5479, allocations: 87.33 kB / 0.9445 GB, free: 12.96 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.762e-05/0.548, allocations: 35.97 kB / 0.9445 GB, free: 12.93 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 17 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (92): * Single equations (assignments): 91 * 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.0003817/0.5484, allocations: 297.8 kB / 0.9448 GB, free: 12.63 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000163/0.5485, allocations: 110.7 kB / 0.9449 GB, free: 12.52 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002232/0.5508, allocations: 1.062 MB / 0.946 GB, free: 11.45 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.064e-05/0.5508, allocations: 3.984 kB / 0.946 GB, free: 11.44 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.364e-06/0.5508, allocations: 4 kB / 0.946 GB, free: 11.44 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003345/0.5511, allocations: 299.4 kB / 0.9463 GB, free: 11.12 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001263/0.5513, allocations: 16 kB / 0.9463 GB, free: 11.11 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006194/0.5519, allocations: 74.73 kB / 0.9464 GB, free: 11.04 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001322/0.552, allocations: 64.91 kB / 0.9464 GB, free: 10.98 MB / 0.7169 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00195/0.554, allocations: 0.9474 MB / 0.9473 GB, free: 10.02 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002138/0.5561, allocations: 1.411 MB / 0.9487 GB, free: 8.594 MB / 0.7169 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005629/0.5567, allocations: 359.8 kB / 0.9491 GB, free: 8.238 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0006507/0.5574, allocations: 0.5542 MB / 0.9496 GB, free: 7.672 MB / 0.7169 GB Notification: Performance of Backend: time 5.21e-07/0.5574, allocations: 3.938 kB / 0.9496 GB, free: 7.668 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.002982/0.5604, allocations: 1.249 MB / 0.9508 GB, free: 6.637 MB / 0.7169 GB Notification: Performance of SimCode: time 0.003542/0.5639, allocations: 2.473 MB / 0.9532 GB, free: 4.148 MB / 0.7169 GB Notification: Performance of Templates: time 0.3066/0.8705, allocations: 18.45 MB / 0.9713 GB, free: 183.2 MB / 0.7169 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.IO.SignalExchange.Examples.WeatherStation.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.IO.SignalExchange.Examples.WeatherStation.sim & ./BuildingSystems_BuildingSystems.Utilities.IO.SignalExchange.Examples.WeatherStation -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe 2>&1)