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.001303/0.001304, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001261/0.001261, allocations: 192.1 kB / 16.25 MB, free: 6.633 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.257/1.257, allocations: 222.9 MB / 239.9 MB, free: 4.59 MB / 190.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.1/2.1, allocations: 390.2 MB / 0.6644 GB, free: 0.5859 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001213/0.001213, allocations: 59.91 kB / 0.8122 GB, free: 14.7 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5124/0.5136, allocations: 140.4 MB / 0.9492 GB, free: 9.059 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation): time 0.005176/0.5188, allocations: 5.1 MB / 0.9542 GB, free: 5.066 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1343/0.6532, allocations: 148.6 MB / 1.099 GB, free: 7.793 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009265/0.6541, allocations: 23.81 kB / 1.099 GB, free: 7.77 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.000851/0.655, allocations: 298.1 kB / 1.1 GB, free: 7.477 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.001703/0.6567, allocations: 473.1 kB / 1.1 GB, free: 7.016 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001757/0.6585, allocations: 0.7514 MB / 1.101 GB, free: 6.27 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.001409/0.6599, allocations: 1.481 MB / 1.102 GB, free: 4.785 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009601/0.6609, allocations: 0.8139 MB / 1.103 GB, free: 3.93 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006003/0.6615, allocations: 0.5253 MB / 1.104 GB, free: 3.402 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005661/0.6621, allocations: 0.5598 MB / 1.104 GB, free: 2.84 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001913/0.6623, allocations: 132 kB / 1.104 GB, free: 2.711 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007163/0.663, allocations: 483.6 kB / 1.105 GB, free: 2.238 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0002528/0.6632, allocations: 334.8 kB / 1.105 GB, free: 1.91 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0004915/0.6637, allocations: 0.6371 MB / 1.106 GB, free: 1.27 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001796/0.6655, allocations: 1.842 MB / 1.107 GB, free: 15.42 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.6656, allocations: 8 kB / 1.107 GB, free: 15.41 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.132e-06/0.6656, allocations: 4 kB / 1.107 GB, free: 15.41 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 4.877e-05/0.6656, allocations: 0 / 1.107 GB, free: 15.41 MB / 0.8731 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.002869/0.6685, allocations: 1.667 MB / 1.109 GB, free: 13.7 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.495e-05/0.6685, allocations: 8.031 kB / 1.109 GB, free: 13.69 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001595/0.6687, allocations: 152.4 kB / 1.109 GB, free: 13.53 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008852/0.6696, allocations: 219 kB / 1.109 GB, free: 13.32 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001033/0.6706, allocations: 0.8942 MB / 1.11 GB, free: 12.38 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.313e-05/0.6707, allocations: 77.98 kB / 1.11 GB, free: 12.3 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001065/0.6708, allocations: 96 kB / 1.11 GB, free: 12.21 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001517/0.6723, allocations: 1.035 MB / 1.112 GB, free: 11.13 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.099e-05/0.6724, allocations: 0 / 1.112 GB, free: 11.13 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.278e-05/0.6725, allocations: 44 kB / 1.112 GB, free: 11.09 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.74e-05/0.6725, allocations: 24 kB / 1.112 GB, free: 11.07 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001639/0.6741, allocations: 1.171 MB / 1.113 GB, free: 9.891 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003512/0.6777, allocations: 2.842 MB / 1.115 GB, free: 6.98 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001272/0.6789, allocations: 0.7963 MB / 1.116 GB, free: 6.176 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000462/0.6794, allocations: 298.6 kB / 1.117 GB, free: 5.875 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 7.016e-05/0.6795, allocations: 32.61 kB / 1.117 GB, free: 5.844 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007854/0.6803, allocations: 495.2 kB / 1.117 GB, free: 5.34 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=78): time 1.873e-06/0.6803, allocations: 3.938 kB / 1.117 GB, free: 5.336 MB / 0.8731 GB Notification: Performance of matching and sorting (n=78): time 0.002771/0.6831, allocations: 1.197 MB / 1.118 GB, free: 4.113 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.633e-05/0.6832, allocations: 192.6 kB / 1.118 GB, free: 3.883 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008514/0.684, allocations: 0.8007 MB / 1.119 GB, free: 3.055 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 5.776e-05/0.6841, allocations: 41.7 kB / 1.119 GB, free: 3.008 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003431/0.6844, allocations: 0.5116 MB / 1.12 GB, free: 2.488 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001721/0.6846, allocations: 248.4 kB / 1.12 GB, free: 2.242 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002101/0.6848, allocations: 150.4 kB / 1.12 GB, free: 2.086 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001089/0.6849, allocations: 341.9 kB / 1.12 GB, free: 1.746 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004453/0.6854, allocations: 245.9 kB / 1.121 GB, free: 1.508 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005292/0.6859, allocations: 350.6 kB / 1.121 GB, free: 1.141 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009448/0.6869, allocations: 0.5799 MB / 1.122 GB, free: 0.5469 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.6869, allocations: 4 kB / 1.122 GB, free: 0.543 MB / 0.8731 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.00168/0.6886, allocations: 0.8095 MB / 1.122 GB, free: 15.72 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.789e-05/0.6886, allocations: 8 kB / 1.122 GB, free: 15.71 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.6886, allocations: 96 / 1.122 GB, free: 15.71 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005905/0.6892, allocations: 88.7 kB / 1.122 GB, free: 15.62 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005585/0.6898, allocations: 147.8 kB / 1.123 GB, free: 15.48 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001865/0.6917, allocations: 1.646 MB / 1.124 GB, free: 13.68 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005631/0.6922, allocations: 84.73 kB / 1.124 GB, free: 13.6 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.685e-05/0.6923, allocations: 27.98 kB / 1.124 GB, free: 13.57 MB / 0.8887 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.0003465/0.6927, allocations: 297.6 kB / 1.125 GB, free: 13.27 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001469/0.6928, allocations: 98.78 kB / 1.125 GB, free: 13.18 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002123/0.6949, allocations: 1.079 MB / 1.126 GB, free: 12.08 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.528e-06/0.695, allocations: 15.94 kB / 1.126 GB, free: 12.07 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.356e-06/0.695, allocations: 48 / 1.126 GB, free: 12.07 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.012e-05/0.695, allocations: 11.91 kB / 1.126 GB, free: 12.05 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009214/0.6959, allocations: 1.005 MB / 1.127 GB, free: 11 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.6959, allocations: 0 / 1.127 GB, free: 11 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005191/0.6964, allocations: 139.8 kB / 1.127 GB, free: 10.87 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004271/0.6969, allocations: 80.72 kB / 1.127 GB, free: 10.79 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.788e-05/0.6969, allocations: 19.98 kB / 1.127 GB, free: 10.77 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00163/0.6986, allocations: 1.674 MB / 1.129 GB, free: 8.949 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/0.6986, allocations: 4.047 kB / 1.129 GB, free: 8.945 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001708/0.7003, allocations: 0.9472 MB / 1.13 GB, free: 7.973 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000289/0.7006, allocations: 295.5 kB / 1.13 GB, free: 7.664 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001246/0.7007, allocations: 19.94 kB / 1.13 GB, free: 7.645 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005708/0.7013, allocations: 64.91 kB / 1.13 GB, free: 7.582 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001269/0.7014, allocations: 68.84 kB / 1.13 GB, free: 7.516 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.237e-05/0.7015, allocations: 39.97 kB / 1.13 GB, free: 7.477 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0005834/0.7021, allocations: 0.562 MB / 1.131 GB, free: 6.902 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.71e-07/0.7021, allocations: 0 / 1.131 GB, free: 6.902 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0006492/0.7028, allocations: 323 kB / 1.131 GB, free: 6.586 MB / 0.8887 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.00301/0.7058, allocations: 1.993 MB / 1.133 GB, free: 4.75 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.001929/0.7077, allocations: 0.9835 MB / 1.134 GB, free: 3.75 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.7077, allocations: 3.938 kB / 1.134 GB, free: 3.746 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0008005/0.7085, allocations: 0.516 MB / 1.134 GB, free: 3.219 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001417/0.71, allocations: 469.5 kB / 1.135 GB, free: 2.797 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01177/0.7217, allocations: 7.916 MB / 1.142 GB, free: 10.62 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005214/0.7223, allocations: 1.09 MB / 1.144 GB, free: 9.496 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0007465/0.723, allocations: 283.6 kB / 1.144 GB, free: 9.215 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005279/0.7236, allocations: 475.2 kB / 1.144 GB, free: 8.75 MB / 0.9044 GB Notification: Performance of SimCode: time 2.1e-07/0.7236, allocations: 0 / 1.144 GB, free: 8.75 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04211/0.7657, allocations: 24.85 MB / 1.169 GB, free: 252 kB / 0.92 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002583/0.766, allocations: 291.5 kB / 1.169 GB, free: 15.87 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.796/3.562, allocations: 0 / 1.169 GB, free: 15.87 MB / 0.9356 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)