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: "" <> buildModelFMU(BuildingSystems.Utilities.IO.SignalExchange.Examples.WeatherStation,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_IO_SignalExchange_Examples_WeatherStation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.IO.SignalExchange.Examples.WeatherStation,fileNamePrefix="BuildingSystems_BuildingSystems_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.00517/0.00517, allocations: 99.67 kB / 15.73 MB, free: 6.039 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.001318/0.001318, allocations: 202.7 kB / 16.68 MB, free: 5.965 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.345/1.345, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00227/0.00227, allocations: 278.1 kB / 290.8 MB, free: 1.918 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9425/0.9425, allocations: 169.3 MB / 0.4983 GB, free: 13.79 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00252/0.00252, allocations: 99.86 kB / 0.681 GB, free: 4 kB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.146/0.1485, allocations: 86.97 MB / 0.7659 GB, free: 8.953 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.IO.SignalExchange.Examples.WeatherStation): time 0.006467/0.155, allocations: 5.105 MB / 0.7709 GB, free: 3.824 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.4227/0.5778, allocations: 150.8 MB / 0.9182 GB, free: 6.93 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007161/0.5785, allocations: 24.62 kB / 0.9182 GB, free: 6.906 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.0007251/0.5793, allocations: 351.5 kB / 0.9185 GB, free: 6.562 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.001368/0.5807, allocations: 0.5146 MB / 0.919 GB, free: 6.062 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.001688/0.5824, allocations: 0.8609 MB / 0.9199 GB, free: 5.227 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.001371/0.5837, allocations: 1.481 MB / 0.9213 GB, free: 3.738 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001024/0.5848, allocations: 0.8182 MB / 0.9221 GB, free: 2.891 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005557/0.5853, allocations: 0.5215 MB / 0.9226 GB, free: 2.367 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005845/0.5859, allocations: 0.5531 MB / 0.9232 GB, free: 1.812 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0001641/0.5861, allocations: 135.9 kB / 0.9233 GB, free: 1.68 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007346/0.5868, allocations: 499.6 kB / 0.9238 GB, free: 1.191 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0002831/0.5871, allocations: 330.9 kB / 0.9241 GB, free: 0.8672 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0005322/0.5877, allocations: 0.6527 MB / 0.9247 GB, free: 216 kB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.001933/0.5896, allocations: 1.892 MB / 0.9266 GB, free: 14.32 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 5.069e-06/0.5896, allocations: 4 kB / 0.9266 GB, free: 14.32 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.452e-06/0.5896, allocations: 0 / 0.9266 GB, free: 14.32 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 1.256e-05/0.5896, allocations: 0 / 0.9266 GB, free: 14.32 MB / 0.6856 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.00255/0.5922, allocations: 1.727 MB / 0.9283 GB, free: 12.53 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.962e-05/0.5923, allocations: 8.031 kB / 0.9283 GB, free: 12.52 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000175/0.5924, allocations: 164.1 kB / 0.9284 GB, free: 12.36 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008571/0.5933, allocations: 227.8 kB / 0.9287 GB, free: 12.14 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001293/0.5946, allocations: 0.9112 MB / 0.9295 GB, free: 11.18 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.01e-05/0.5947, allocations: 77.94 kB / 0.9296 GB, free: 11.11 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001268/0.5948, allocations: 96 kB / 0.9297 GB, free: 11.02 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00163/0.5965, allocations: 1.039 MB / 0.9307 GB, free: 9.934 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.8e-05/0.5965, allocations: 0 / 0.9307 GB, free: 9.934 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.467e-05/0.5966, allocations: 40 kB / 0.9308 GB, free: 9.895 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.14e-05/0.5966, allocations: 24 kB / 0.9308 GB, free: 9.871 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001812/0.5984, allocations: 1.167 MB / 0.9319 GB, free: 8.703 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004001/0.6024, allocations: 2.81 MB / 0.9347 GB, free: 5.824 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001437/0.6039, allocations: 0.7953 MB / 0.9354 GB, free: 5.027 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005232/0.6044, allocations: 302.6 kB / 0.9357 GB, free: 4.73 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 7.219e-05/0.6045, allocations: 32.61 kB / 0.9358 GB, free: 4.699 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008185/0.6053, allocations: 496.4 kB / 0.9362 GB, free: 4.195 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=78): time 2.114e-06/0.6053, allocations: 4 kB / 0.9362 GB, free: 4.191 MB / 0.6856 GB Notification: Performance of matching and sorting (n=78): time 0.002983/0.6083, allocations: 1.21 MB / 0.9374 GB, free: 2.953 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001123/0.6084, allocations: 192.5 kB / 0.9376 GB, free: 2.723 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009863/0.6094, allocations: 0.8046 MB / 0.9384 GB, free: 1.891 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 6.318e-05/0.6095, allocations: 41.7 kB / 0.9384 GB, free: 1.844 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004352/0.6099, allocations: 0.5126 MB / 0.9389 GB, free: 1.324 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002131/0.6102, allocations: 265.8 kB / 0.9392 GB, free: 1.062 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002134/0.6104, allocations: 150.5 kB / 0.9393 GB, free: 0.9102 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001521/0.6105, allocations: 337.9 kB / 0.9397 GB, free: 0.5742 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004704/0.611, allocations: 241.9 kB / 0.9399 GB, free: 348 kB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005891/0.6116, allocations: 358.5 kB / 0.9402 GB, free: 15.96 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001047/0.6127, allocations: 0.576 MB / 0.9408 GB, free: 15.38 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.011e-06/0.6127, allocations: 7.984 kB / 0.9408 GB, free: 15.37 MB / 0.7012 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.00181/0.6145, allocations: 0.815 MB / 0.9416 GB, free: 14.54 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.76e-05/0.6145, allocations: 8 kB / 0.9416 GB, free: 14.54 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.6145, allocations: 0 / 0.9416 GB, free: 14.54 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000571/0.6151, allocations: 84.86 kB / 0.9417 GB, free: 14.45 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005852/0.6157, allocations: 147.7 kB / 0.9418 GB, free: 14.3 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002185/0.6179, allocations: 1.641 MB / 0.9434 GB, free: 12.52 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005824/0.6185, allocations: 87.47 kB / 0.9435 GB, free: 12.44 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.731e-05/0.6186, allocations: 35.91 kB / 0.9435 GB, free: 12.4 MB / 0.7012 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.00041/0.619, allocations: 297.8 kB / 0.9438 GB, free: 12.1 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001667/0.6192, allocations: 107.3 kB / 0.9439 GB, free: 12 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002265/0.6214, allocations: 1.073 MB / 0.945 GB, free: 10.91 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.478e-06/0.6214, allocations: 8 kB / 0.945 GB, free: 10.91 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.6215, allocations: 7.938 kB / 0.945 GB, free: 10.9 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.706e-06/0.6215, allocations: 3.984 kB / 0.945 GB, free: 10.89 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001238/0.6227, allocations: 1.013 MB / 0.946 GB, free: 9.832 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.845e-06/0.6227, allocations: 0 / 0.946 GB, free: 9.832 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005411/0.6233, allocations: 139.8 kB / 0.9461 GB, free: 9.695 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004912/0.6238, allocations: 68.8 kB / 0.9462 GB, free: 9.625 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.267e-05/0.6238, allocations: 27.97 kB / 0.9462 GB, free: 9.598 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002092/0.6259, allocations: 1.67 MB / 0.9478 GB, free: 7.781 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.626, allocations: 0 / 0.9478 GB, free: 7.781 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001927/0.6279, allocations: 0.9478 MB / 0.9488 GB, free: 6.812 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003604/0.6283, allocations: 300 kB / 0.9491 GB, free: 6.5 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000106/0.6284, allocations: 16 kB / 0.9491 GB, free: 6.484 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005847/0.629, allocations: 71.62 kB / 0.9491 GB, free: 6.418 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001347/0.6291, allocations: 68.89 kB / 0.9492 GB, free: 6.352 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.661e-05/0.6292, allocations: 43.86 kB / 0.9492 GB, free: 6.309 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.0007112/0.6299, allocations: 0.5581 MB / 0.9498 GB, free: 5.738 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.71e-07/0.6299, allocations: 0 / 0.9498 GB, free: 5.738 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.0008491/0.6308, allocations: 335 kB / 0.9501 GB, free: 5.41 MB / 0.7012 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.003831/0.6346, allocations: 2.01 MB / 0.9521 GB, free: 3.555 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.001514/0.6361, allocations: 0.7962 MB / 0.9528 GB, free: 2.75 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 4.348e-06/0.6361, allocations: 4 kB / 0.9529 GB, free: 2.746 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.0008893/0.637, allocations: 0.508 MB / 0.9533 GB, free: 2.227 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001459/0.6385, allocations: 458.8 kB / 0.9538 GB, free: 1.82 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01129/0.6498, allocations: 7.102 MB / 0.9607 GB, free: 10.57 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007277/0.6506, allocations: 1.102 MB / 0.9618 GB, free: 9.441 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0007478/0.6513, allocations: 283.6 kB / 0.9621 GB, free: 9.16 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006071/0.6519, allocations: 475.2 kB / 0.9625 GB, free: 8.695 MB / 0.7169 GB Notification: Performance of SimCode: time 3.6e-07/0.6519, allocations: 0 / 0.9625 GB, free: 8.695 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.4/2.052, allocations: 25.41 MB / 0.9873 GB, free: 15.64 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.36/16.41, allocations: 5.312 kB / 0.9873 GB, free: 15.63 MB / 0.7481 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_IO_SignalExchange_Examples_WeatherStation_fmu --startTime=0 --stopTime=864000 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_IO_SignalExchange_Examples_WeatherStation.fmu > BuildingSystems_BuildingSystems.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe 2>&1)