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.007031/0.007032, allocations: 101 kB / 15.73 MB, free: 6.473 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.001451/0.001451, allocations: 195 kB / 16.67 MB, free: 6.379 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.27/1.27, allocations: 222.9 MB / 240.4 MB, free: 4.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001976/0.001977, allocations: 290.1 kB / 290.8 MB, free: 1.938 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9072/0.9072, allocations: 169.3 MB / 0.4983 GB, free: 13.81 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001681/0.001681, allocations: 91.86 kB / 0.6809 GB, free: 16 kB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1526/0.1543, allocations: 86.98 MB / 0.7659 GB, free: 8.961 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.IO.SignalExchange.Examples.WeatherStation): time 0.006637/0.1609, allocations: 5.111 MB / 0.7709 GB, free: 3.828 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.5229/0.6839, allocations: 150.8 MB / 0.9182 GB, free: 6.984 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009342/0.6848, allocations: 35.75 kB / 0.9182 GB, free: 6.949 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.0009643/0.6858, allocations: 348.5 kB / 0.9185 GB, free: 6.609 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.001906/0.6878, allocations: 0.5233 MB / 0.919 GB, free: 6.102 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.002115/0.6899, allocations: 0.8659 MB / 0.9199 GB, free: 5.266 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.001765/0.6917, allocations: 1.474 MB / 0.9213 GB, free: 3.785 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001148/0.6928, allocations: 0.8221 MB / 0.9221 GB, free: 2.934 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007337/0.6936, allocations: 0.5293 MB / 0.9226 GB, free: 2.402 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006888/0.6943, allocations: 0.5559 MB / 0.9232 GB, free: 1.844 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0002481/0.6945, allocations: 132 kB / 0.9233 GB, free: 1.715 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009291/0.6955, allocations: 0.4913 MB / 0.9238 GB, free: 1.227 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0003383/0.6958, allocations: 334.8 kB / 0.9241 GB, free: 0.8984 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0006942/0.6965, allocations: 0.6485 MB / 0.9247 GB, free: 256 kB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.002072/0.6986, allocations: 1.891 MB / 0.9266 GB, free: 14.36 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/0.6986, allocations: 0 / 0.9266 GB, free: 14.36 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.393e-06/0.6986, allocations: 0 / 0.9266 GB, free: 14.36 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 5.036e-05/0.6987, allocations: 4 kB / 0.9266 GB, free: 14.35 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.002648/0.7013, allocations: 1.671 MB / 0.9282 GB, free: 12.62 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.892e-05/0.7014, allocations: 12.03 kB / 0.9282 GB, free: 12.61 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001628/0.7015, allocations: 152.4 kB / 0.9284 GB, free: 12.46 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008802/0.7024, allocations: 219 kB / 0.9286 GB, free: 12.24 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001246/0.7037, allocations: 0.9141 MB / 0.9295 GB, free: 11.29 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.571e-05/0.7037, allocations: 77.98 kB / 0.9296 GB, free: 11.21 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001068/0.7039, allocations: 96 kB / 0.9296 GB, free: 11.12 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001542/0.7054, allocations: 1.032 MB / 0.9307 GB, free: 10.04 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.402e-05/0.7054, allocations: 11.86 kB / 0.9307 GB, free: 10.03 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.92e-05/0.7055, allocations: 40 kB / 0.9307 GB, free: 9.992 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.705e-05/0.7056, allocations: 24 kB / 0.9307 GB, free: 9.969 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001721/0.7073, allocations: 1.168 MB / 0.9319 GB, free: 8.801 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003807/0.7111, allocations: 2.793 MB / 0.9346 GB, free: 5.938 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001324/0.7124, allocations: 0.7892 MB / 0.9354 GB, free: 5.145 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004799/0.7129, allocations: 310.6 kB / 0.9357 GB, free: 4.84 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 7.487e-05/0.713, allocations: 32.59 kB / 0.9357 GB, free: 4.809 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007825/0.7138, allocations: 491.1 kB / 0.9362 GB, free: 4.309 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=78): time 2.234e-06/0.7138, allocations: 0 / 0.9362 GB, free: 4.309 MB / 0.6856 GB Notification: Performance of matching and sorting (n=78): time 0.002857/0.7167, allocations: 1.205 MB / 0.9373 GB, free: 3.074 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.374e-05/0.7168, allocations: 192.6 kB / 0.9375 GB, free: 2.844 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009181/0.7177, allocations: 0.8046 MB / 0.9383 GB, free: 2.012 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 6.139e-05/0.7178, allocations: 45.7 kB / 0.9384 GB, free: 1.961 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003694/0.7182, allocations: 0.5039 MB / 0.9388 GB, free: 1.449 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001833/0.7184, allocations: 256.3 kB / 0.9391 GB, free: 1.195 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002092/0.7186, allocations: 142.5 kB / 0.9392 GB, free: 1.051 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001306/0.7187, allocations: 337.9 kB / 0.9395 GB, free: 0.7148 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004572/0.7192, allocations: 241.9 kB / 0.9398 GB, free: 492 kB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005631/0.7197, allocations: 362.5 kB / 0.9401 GB, free: 104 kB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001005/0.7208, allocations: 0.5805 MB / 0.9407 GB, free: 15.51 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.7208, allocations: 3.938 kB / 0.9407 GB, free: 15.5 MB / 0.7012 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001829/0.7226, allocations: 0.8057 MB / 0.9415 GB, free: 14.68 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.671e-05/0.7226, allocations: 4 kB / 0.9415 GB, free: 14.68 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.364e-06/0.7226, allocations: 7 kB / 0.9415 GB, free: 14.68 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005515/0.7232, allocations: 88.8 kB / 0.9416 GB, free: 14.59 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005744/0.7238, allocations: 151.3 kB / 0.9417 GB, free: 14.44 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002001/0.7258, allocations: 1.646 MB / 0.9433 GB, free: 12.65 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006127/0.7264, allocations: 83.23 kB / 0.9434 GB, free: 12.57 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.466e-05/0.7265, allocations: 31.98 kB / 0.9434 GB, free: 12.54 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.0004549/0.727, allocations: 297.6 kB / 0.9437 GB, free: 12.23 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000185/0.7272, allocations: 98.78 kB / 0.9438 GB, free: 12.14 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002406/0.7296, allocations: 1.078 MB / 0.9449 GB, free: 11.05 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.983e-05/0.7296, allocations: 8 kB / 0.9449 GB, free: 11.04 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/0.7296, allocations: 3.938 kB / 0.9449 GB, free: 11.04 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.059e-05/0.7296, allocations: 3.984 kB / 0.9449 GB, free: 11.04 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001403/0.731, allocations: 1.005 MB / 0.9459 GB, free: 9.984 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.584e-06/0.7311, allocations: 0 / 0.9459 GB, free: 9.984 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005425/0.7316, allocations: 139.8 kB / 0.946 GB, free: 9.848 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004337/0.732, allocations: 80.78 kB / 0.9461 GB, free: 9.766 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.54e-05/0.7321, allocations: 19.98 kB / 0.9461 GB, free: 9.746 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001929/0.7341, allocations: 1.67 MB / 0.9477 GB, free: 7.93 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.442e-06/0.7341, allocations: 4.031 kB / 0.9477 GB, free: 7.926 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001959/0.7361, allocations: 0.9434 MB / 0.9487 GB, free: 6.961 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004385/0.7365, allocations: 291.5 kB / 0.9489 GB, free: 6.656 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001748/0.7367, allocations: 23.94 kB / 0.949 GB, free: 6.633 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006042/0.7373, allocations: 67.98 kB / 0.949 GB, free: 6.566 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001369/0.7375, allocations: 64.91 kB / 0.9491 GB, free: 6.504 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.996e-05/0.7375, allocations: 39.91 kB / 0.9491 GB, free: 6.465 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.0008153/0.7384, allocations: 0.562 MB / 0.9497 GB, free: 5.891 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7384, allocations: 1.875 kB / 0.9497 GB, free: 5.891 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.001043/0.7394, allocations: 331 kB / 0.95 GB, free: 5.566 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.003681/0.7431, allocations: 1.998 MB / 0.9519 GB, free: 3.719 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.001682/0.7448, allocations: 0.7894 MB / 0.9527 GB, free: 2.922 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/0.7448, allocations: 0 / 0.9527 GB, free: 2.922 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.0008652/0.7457, allocations: 0.5159 MB / 0.9532 GB, free: 2.395 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001528/0.7472, allocations: 457.9 kB / 0.9536 GB, free: 1.988 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01171/0.7589, allocations: 7.061 MB / 0.9605 GB, free: 10.78 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007001/0.7597, allocations: 1.102 MB / 0.9616 GB, free: 9.652 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0008516/0.7605, allocations: 279.6 kB / 0.9619 GB, free: 9.375 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006006/0.7612, allocations: 483.2 kB / 0.9623 GB, free: 8.902 MB / 0.7169 GB Notification: Performance of SimCode: time 6.52e-07/0.7612, allocations: 0 / 0.9623 GB, free: 8.902 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05912/0.8203, allocations: 25.4 MB / 0.9872 GB, free: 15.85 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.2/13.02, allocations: 11.25 kB / 0.9872 GB, free: 15.84 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)