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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001213/0.001213, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001245/0.001245, allocations: 194.9 kB / 16.14 MB, free: 6.645 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.356/1.356, allocations: 222.9 MB / 239.8 MB, free: 4.586 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.222/2.222, allocations: 390.2 MB / 0.6643 GB, free: 0.6602 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001347/0.001347, allocations: 67.89 kB / 0.812 GB, free: 14.81 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5569/0.5582, allocations: 140.4 MB / 0.949 GB, free: 9.195 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation): time 0.005311/0.5636, allocations: 5.1 MB / 0.954 GB, free: 5.203 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1402/0.7038, allocations: 148.5 MB / 1.099 GB, free: 7.945 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001203/0.705, allocations: 23.88 kB / 1.099 GB, free: 7.922 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0007977/0.7059, allocations: 286.2 kB / 1.099 GB, free: 7.641 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.001566/0.7075, allocations: 441.4 kB / 1.1 GB, free: 7.211 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001803/0.7093, allocations: 0.7565 MB / 1.101 GB, free: 6.461 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.00117/0.7104, allocations: 1.371 MB / 1.102 GB, free: 5.086 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009228/0.7114, allocations: 0.7936 MB / 1.103 GB, free: 4.254 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004843/0.7119, allocations: 457.9 kB / 1.103 GB, free: 3.805 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004641/0.7123, allocations: 0.5285 MB / 1.104 GB, free: 3.273 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001226/0.7125, allocations: 64 kB / 1.104 GB, free: 3.211 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007297/0.7132, allocations: 399.7 kB / 1.104 GB, free: 2.82 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0002324/0.7135, allocations: 274.8 kB / 1.104 GB, free: 2.551 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0004309/0.7139, allocations: 0.5785 MB / 1.105 GB, free: 1.969 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001425/0.7153, allocations: 1.776 MB / 1.107 GB, free: 192 kB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.7153, allocations: 0 / 1.107 GB, free: 192 kB / 0.8575 GB Notification: Performance of FrontEnd: time 1.032e-06/0.7154, allocations: 3.938 kB / 1.107 GB, free: 188 kB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.313e-05/0.7154, allocations: 0 / 1.107 GB, free: 188 kB / 0.8575 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.0025/0.7179, allocations: 1.679 MB / 1.108 GB, free: 14.46 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.787e-05/0.7179, allocations: 12.03 kB / 1.108 GB, free: 14.45 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001633/0.7181, allocations: 156.4 kB / 1.108 GB, free: 14.29 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008909/0.719, allocations: 211.1 kB / 1.109 GB, free: 14.08 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001075/0.7201, allocations: 0.8981 MB / 1.109 GB, free: 13.14 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.429e-05/0.7201, allocations: 74 kB / 1.11 GB, free: 13.06 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001098/0.7203, allocations: 96 kB / 1.11 GB, free: 12.97 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001557/0.7218, allocations: 1.032 MB / 1.111 GB, free: 11.9 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.759e-05/0.7219, allocations: 0 / 1.111 GB, free: 11.9 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.655e-05/0.7219, allocations: 44 kB / 1.111 GB, free: 11.86 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.856e-05/0.722, allocations: 24 kB / 1.111 GB, free: 11.83 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001717/0.7237, allocations: 1.167 MB / 1.112 GB, free: 10.66 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003735/0.7274, allocations: 2.835 MB / 1.115 GB, free: 7.754 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001334/0.7288, allocations: 0.7924 MB / 1.115 GB, free: 6.953 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004858/0.7293, allocations: 298.7 kB / 1.116 GB, free: 6.652 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 7.313e-05/0.7294, allocations: 32.59 kB / 1.116 GB, free: 6.621 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008364/0.7302, allocations: 491.1 kB / 1.116 GB, free: 6.121 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=78): time 2.134e-06/0.7302, allocations: 3.938 kB / 1.116 GB, free: 6.117 MB / 0.8731 GB Notification: Performance of matching and sorting (n=78): time 0.002904/0.7331, allocations: 1.209 MB / 1.117 GB, free: 4.883 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.045e-05/0.7332, allocations: 188.6 kB / 1.118 GB, free: 4.656 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008515/0.7341, allocations: 0.8046 MB / 1.118 GB, free: 3.824 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 6.265e-05/0.7342, allocations: 41.7 kB / 1.118 GB, free: 3.777 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003316/0.7345, allocations: 0.5077 MB / 1.119 GB, free: 3.262 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001683/0.7347, allocations: 252.4 kB / 1.119 GB, free: 3.012 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002059/0.7349, allocations: 142.5 kB / 1.119 GB, free: 2.863 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 9.698e-05/0.735, allocations: 337.9 kB / 1.12 GB, free: 2.527 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004542/0.7354, allocations: 241.9 kB / 1.12 GB, free: 2.293 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005729/0.736, allocations: 358.6 kB / 1.12 GB, free: 1.918 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001012/0.7371, allocations: 0.5799 MB / 1.121 GB, free: 1.324 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.886e-06/0.7371, allocations: 0 / 1.121 GB, free: 1.324 MB / 0.8731 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001752/0.7388, allocations: 0.8134 MB / 1.121 GB, free: 0.5 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.553e-05/0.7389, allocations: 8 kB / 1.121 GB, free: 0.4922 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.695e-06/0.7389, allocations: 3.984 kB / 1.122 GB, free: 500 kB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005847/0.7395, allocations: 84.81 kB / 1.122 GB, free: 412 kB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000574/0.74, allocations: 143.8 kB / 1.122 GB, free: 268 kB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001868/0.7419, allocations: 1.54 MB / 1.123 GB, free: 14.58 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006315/0.7426, allocations: 88.22 kB / 1.123 GB, free: 14.5 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.471e-05/0.7426, allocations: 31.97 kB / 1.123 GB, free: 14.46 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.0003877/0.743, allocations: 293.7 kB / 1.124 GB, free: 14.17 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001621/0.7432, allocations: 102.7 kB / 1.124 GB, free: 14.07 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002236/0.7454, allocations: 1.079 MB / 1.125 GB, free: 12.97 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.947e-06/0.7455, allocations: 11.98 kB / 1.125 GB, free: 12.96 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.272e-06/0.7455, allocations: 4 kB / 1.125 GB, free: 12.96 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.567e-06/0.7455, allocations: 3.984 kB / 1.125 GB, free: 12.95 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001017/0.7465, allocations: 1.009 MB / 1.126 GB, free: 11.89 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.418e-06/0.7465, allocations: 4 kB / 1.126 GB, free: 11.89 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000541/0.7471, allocations: 135.8 kB / 1.126 GB, free: 11.76 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005158/0.7476, allocations: 80.78 kB / 1.126 GB, free: 11.68 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.245e-05/0.7476, allocations: 27.97 kB / 1.126 GB, free: 11.65 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001683/0.7493, allocations: 1.563 MB / 1.128 GB, free: 9.949 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.7493, allocations: 0 / 1.128 GB, free: 9.949 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001822/0.7512, allocations: 0.9433 MB / 1.128 GB, free: 8.98 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003161/0.7515, allocations: 291.5 kB / 1.129 GB, free: 8.676 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001169/0.7516, allocations: 20 kB / 1.129 GB, free: 8.656 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005903/0.7522, allocations: 63.92 kB / 1.129 GB, free: 8.594 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000135/0.7524, allocations: 68.89 kB / 1.129 GB, free: 8.527 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.411e-05/0.7524, allocations: 35.98 kB / 1.129 GB, free: 8.492 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0006372/0.7531, allocations: 0.5542 MB / 1.129 GB, free: 7.926 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.7e-07/0.7531, allocations: 0 / 1.129 GB, free: 7.926 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0007524/0.7538, allocations: 331 kB / 1.13 GB, free: 7.602 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.003181/0.757, allocations: 1.999 MB / 1.132 GB, free: 5.758 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.001471/0.7585, allocations: 0.7924 MB / 1.133 GB, free: 4.953 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.7585, allocations: 0 / 1.133 GB, free: 4.953 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0008392/0.7594, allocations: 0.5042 MB / 1.133 GB, free: 4.438 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001384/0.7608, allocations: 426.2 kB / 1.133 GB, free: 4.031 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01323/0.774, allocations: 7.911 MB / 1.141 GB, free: 11.86 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007175/0.7748, allocations: 1.094 MB / 1.142 GB, free: 10.73 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.001043/0.7758, allocations: 287.6 kB / 1.142 GB, free: 10.45 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000635/0.7765, allocations: 475.2 kB / 1.143 GB, free: 9.984 MB / 0.9044 GB Notification: Performance of SimCode: time 1.182e-06/0.7765, allocations: 4 kB / 1.143 GB, free: 9.98 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04246/0.8189, allocations: 24.21 MB / 1.167 GB, free: 2.105 MB / 0.92 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000214/0.8192, allocations: 289.3 kB / 1.167 GB, free: 1.727 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.283/3.102, allocations: 8.062 kB / 1.167 GB, free: 1.719 MB / 0.92 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)