Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.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/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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: "" <> buildModelFMU(Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation,fileNamePrefix="Buildings_9_Buildings_Utilities_IO_SignalExchange_Examples_WeatherStation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation,fileNamePrefix="Buildings_9_Buildings_Utilities_IO_SignalExchange_Examples_WeatherStation",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007205/0.007205, allocations: 103.2 kB / 15.73 MB, free: 6.059 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.00165/0.00165, allocations: 190.5 kB / 16.67 MB, free: 5.977 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.303/1.303, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.131/2.131, allocations: 390.3 MB / 0.6648 GB, free: 0.6211 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001142/0.001142, allocations: 63.91 kB / 0.9504 GB, free: 8.172 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6926/0.6938, allocations: 140.4 MB / 1.087 GB, free: 5.273 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation): time 0.007075/0.7009, allocations: 5.112 MB / 1.092 GB, free: 1.656 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.1651/0.866, allocations: 150.8 MB / 1.24 GB, free: 15.97 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001135/0.8672, allocations: 23.38 kB / 1.24 GB, free: 15.96 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0009918/0.8682, allocations: 345.8 kB / 1.24 GB, free: 15.66 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.001854/0.8701, allocations: 0.5195 MB / 1.241 GB, free: 15.27 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001977/0.8721, allocations: 0.8638 MB / 1.241 GB, free: 14.61 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001294/0.8734, allocations: 1.482 MB / 1.243 GB, free: 13.68 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009762/0.8744, allocations: 0.8145 MB / 1.244 GB, free: 13.17 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005399/0.8749, allocations: 0.5245 MB / 1.244 GB, free: 12.83 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005393/0.8755, allocations: 0.5625 MB / 1.245 GB, free: 12.41 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001608/0.8756, allocations: 130.9 kB / 1.245 GB, free: 12.41 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008285/0.8765, allocations: 0.4911 MB / 1.245 GB, free: 12.1 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0002865/0.8768, allocations: 330.9 kB / 1.246 GB, free: 11.78 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0005074/0.8773, allocations: 0.6449 MB / 1.246 GB, free: 11.13 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001752/0.879, allocations: 1.896 MB / 1.248 GB, free: 9.227 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.879, allocations: 0 / 1.248 GB, free: 9.227 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.383e-06/0.8791, allocations: 3.938 kB / 1.248 GB, free: 9.223 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.208e-05/0.8791, allocations: 0 / 1.248 GB, free: 9.223 MB / 0.9825 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.002489/0.8816, allocations: 1.671 MB / 1.25 GB, free: 7.504 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.245e-05/0.8816, allocations: 8.031 kB / 1.25 GB, free: 7.496 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001658/0.8818, allocations: 156.4 kB / 1.25 GB, free: 7.336 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008944/0.8827, allocations: 222.9 kB / 1.25 GB, free: 7.117 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001189/0.8839, allocations: 0.9138 MB / 1.251 GB, free: 6.16 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.561e-05/0.8839, allocations: 73.98 kB / 1.251 GB, free: 6.086 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000124/0.8841, allocations: 100 kB / 1.251 GB, free: 5.988 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001543/0.8856, allocations: 1.028 MB / 1.252 GB, free: 4.922 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.297e-05/0.8857, allocations: 4 kB / 1.252 GB, free: 4.918 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.337e-05/0.8858, allocations: 40 kB / 1.252 GB, free: 4.879 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.975e-05/0.8858, allocations: 24 kB / 1.252 GB, free: 4.855 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001777/0.8876, allocations: 1.171 MB / 1.253 GB, free: 3.68 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003849/0.8914, allocations: 2.792 MB / 1.256 GB, free: 0.8164 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001418/0.8929, allocations: 0.7938 MB / 1.257 GB, free: 16 kB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005234/0.8934, allocations: 302.6 kB / 1.257 GB, free: 15.72 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 6.684e-05/0.8935, allocations: 32.61 kB / 1.257 GB, free: 15.69 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007881/0.8943, allocations: 499.1 kB / 1.258 GB, free: 15.18 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=78): time 2.044e-06/0.8943, allocations: 0 / 1.258 GB, free: 15.18 MB / 0.9981 GB Notification: Performance of matching and sorting (n=78): time 0.002972/0.8973, allocations: 1.205 MB / 1.259 GB, free: 13.95 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.304e-05/0.8974, allocations: 196.6 kB / 1.259 GB, free: 13.71 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008933/0.8983, allocations: 0.7929 MB / 1.26 GB, free: 12.89 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 6.078e-05/0.8983, allocations: 41.7 kB / 1.26 GB, free: 12.84 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003524/0.8987, allocations: 0.5116 MB / 1.26 GB, free: 12.32 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001756/0.8989, allocations: 256.4 kB / 1.261 GB, free: 12.07 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002072/0.8991, allocations: 138.5 kB / 1.261 GB, free: 11.93 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001138/0.8992, allocations: 337.9 kB / 1.261 GB, free: 11.59 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004748/0.8997, allocations: 245.9 kB / 1.261 GB, free: 11.35 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005706/0.9003, allocations: 358.6 kB / 1.262 GB, free: 10.97 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009972/0.9013, allocations: 0.5721 MB / 1.262 GB, free: 10.39 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.9013, allocations: 0 / 1.262 GB, free: 10.39 MB / 0.9981 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001733/0.903, allocations: 0.8173 MB / 1.263 GB, free: 9.562 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.467e-05/0.903, allocations: 4 kB / 1.263 GB, free: 9.559 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/0.9031, allocations: 4 kB / 1.263 GB, free: 9.555 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005568/0.9036, allocations: 88.77 kB / 1.263 GB, free: 9.465 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005802/0.9042, allocations: 147.8 kB / 1.263 GB, free: 9.32 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001933/0.9062, allocations: 1.646 MB / 1.265 GB, free: 7.527 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005825/0.9067, allocations: 87.36 kB / 1.265 GB, free: 7.441 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.41e-05/0.9068, allocations: 31.92 kB / 1.265 GB, free: 7.41 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 15 (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 (84): * Single equations (assignments): 83 * 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.0003643/0.9072, allocations: 297.5 kB / 1.265 GB, free: 7.109 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001576/0.9073, allocations: 106.8 kB / 1.265 GB, free: 7.004 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002216/0.9096, allocations: 1.064 MB / 1.266 GB, free: 5.93 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.879e-06/0.9096, allocations: 11.94 kB / 1.266 GB, free: 5.918 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.184e-06/0.9096, allocations: 0 / 1.266 GB, free: 5.918 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.546e-06/0.9096, allocations: 3.984 kB / 1.266 GB, free: 5.914 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001028/0.9106, allocations: 1.013 MB / 1.267 GB, free: 4.852 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.9107, allocations: 0 / 1.267 GB, free: 4.852 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005395/0.9112, allocations: 139.8 kB / 1.268 GB, free: 4.715 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004171/0.9116, allocations: 72.78 kB / 1.268 GB, free: 4.641 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.082e-05/0.9117, allocations: 23.98 kB / 1.268 GB, free: 4.617 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001883/0.9136, allocations: 1.677 MB / 1.269 GB, free: 2.793 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.9136, allocations: 0 / 1.269 GB, free: 2.793 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001868/0.9155, allocations: 0.9433 MB / 1.27 GB, free: 1.828 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003814/0.9159, allocations: 287.5 kB / 1.27 GB, free: 1.527 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001098/0.916, allocations: 23.94 kB / 1.27 GB, free: 1.504 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005939/0.9166, allocations: 63.92 kB / 1.271 GB, free: 1.441 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001443/0.9167, allocations: 76.84 kB / 1.271 GB, free: 1.367 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.42e-05/0.9168, allocations: 31.97 kB / 1.271 GB, free: 1.336 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0006657/0.9175, allocations: 0.5581 MB / 1.271 GB, free: 0.7656 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.492e-06/0.9175, allocations: 0 / 1.271 GB, free: 0.7656 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0007247/0.9182, allocations: 331 kB / 1.272 GB, free: 452 kB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (89): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.003321/0.9215, allocations: 2 MB / 1.273 GB, free: 14.59 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001549/0.9231, allocations: 0.7884 MB / 1.274 GB, free: 13.79 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.406e-06/0.9231, allocations: 0 / 1.274 GB, free: 13.79 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0008997/0.924, allocations: 0.512 MB / 1.275 GB, free: 13.27 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001553/0.9256, allocations: 462.3 kB / 1.275 GB, free: 12.86 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01147/0.9371, allocations: 7.069 MB / 1.282 GB, free: 5.633 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000656/0.9377, allocations: 1.106 MB / 1.283 GB, free: 4.504 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0007918/0.9385, allocations: 283.6 kB / 1.283 GB, free: 4.223 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005857/0.9391, allocations: 479.2 kB / 1.284 GB, free: 3.754 MB / 1.014 GB Notification: Performance of SimCode: time 5.91e-07/0.9391, allocations: 0 / 1.284 GB, free: 3.754 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2059/1.145, allocations: 25.36 MB / 1.309 GB, free: 10.68 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.05/17.2, allocations: 11.67 kB / 1.309 GB, free: 10.67 MB / 1.045 GB (rm -f Buildings_9_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe ; mkfifo Buildings_9_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe >> ../files/Buildings_9_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_IO_SignalExchange_Examples_WeatherStation_fmu --startTime=0 --stopTime=864000 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_IO_SignalExchange_Examples_WeatherStation.fmu > Buildings_9_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe 2>&1)