Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.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/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-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(IDEAS.Utilities.IO.SignalExchange.Examples.WeatherStation,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_IO_SignalExchange_Examples_WeatherStation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.IO.SignalExchange.Examples.WeatherStation,fileNamePrefix="IDEAS_dev_IDEAS_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.005073/0.005073, allocations: 100.9 kB / 15.73 MB, free: 6.043 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.001232/0.001232, allocations: 201.8 kB / 16.68 MB, free: 5.98 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.338/1.338, allocations: 222.9 MB / 240.4 MB, free: 4.188 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9185/0.9185, allocations: 135.1 MB / 425.7 MB, free: 12 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001538/0.001538, allocations: 63.91 kB / 0.5851 GB, free: 3.867 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4465/0.4481, allocations: 80.92 MB / 0.6641 GB, free: 7.273 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.SignalExchange.Examples.WeatherStation): time 0.006425/0.4545, allocations: 4.862 MB / 0.6689 GB, free: 3.461 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.1702/0.6248, allocations: 150.8 MB / 0.8161 GB, free: 5.398 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001339/0.6262, allocations: 19.88 kB / 0.8161 GB, free: 5.379 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.00121/0.6275, allocations: 337.6 kB / 0.8164 GB, free: 5.047 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.00264/0.6301, allocations: 495.5 kB / 0.8169 GB, free: 4.562 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.002498/0.6326, allocations: 0.8285 MB / 0.8177 GB, free: 3.742 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.002033/0.6347, allocations: 1.344 MB / 0.819 GB, free: 2.391 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0013/0.636, allocations: 0.8252 MB / 0.8198 GB, free: 1.531 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007848/0.6368, allocations: 486.2 kB / 0.8203 GB, free: 1.055 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007404/0.6376, allocations: 0.4995 MB / 0.8208 GB, free: 0.5547 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0002592/0.6378, allocations: 120 kB / 0.8209 GB, free: 448 kB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001047/0.6389, allocations: 495.6 kB / 0.8214 GB, free: 15.95 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0003125/0.6392, allocations: 302.9 kB / 0.8217 GB, free: 15.66 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0006912/0.6399, allocations: 0.6021 MB / 0.8223 GB, free: 15.05 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.002541/0.6425, allocations: 1.76 MB / 0.824 GB, free: 13.29 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.249e-06/0.6425, allocations: 0 / 0.824 GB, free: 13.29 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.513e-06/0.6425, allocations: 0 / 0.824 GB, free: 13.29 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 2.772e-05/0.6425, allocations: 0 / 0.824 GB, free: 13.29 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 239 * Number of variables: 239 Notification: Performance of Generate backend data structure: time 0.002586/0.6451, allocations: 1.59 MB / 0.8255 GB, free: 11.64 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.72e-05/0.6452, allocations: 8.031 kB / 0.8255 GB, free: 11.63 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001616/0.6453, allocations: 144.1 kB / 0.8257 GB, free: 11.48 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009348/0.6463, allocations: 215 kB / 0.8259 GB, free: 11.27 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00133/0.6476, allocations: 0.8672 MB / 0.8267 GB, free: 10.36 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.012e-05/0.6477, allocations: 70 kB / 0.8268 GB, free: 10.29 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001137/0.6478, allocations: 96 kB / 0.8269 GB, free: 10.2 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00157/0.6494, allocations: 0.9691 MB / 0.8278 GB, free: 9.191 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.181e-05/0.6494, allocations: 0 / 0.8278 GB, free: 9.191 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.626e-05/0.6495, allocations: 40 kB / 0.8279 GB, free: 9.152 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.442e-05/0.6495, allocations: 27.98 kB / 0.8279 GB, free: 9.125 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001641/0.6512, allocations: 1.116 MB / 0.829 GB, free: 8.004 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004062/0.6553, allocations: 2.655 MB / 0.8316 GB, free: 5.281 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001249/0.6565, allocations: 0.7064 MB / 0.8323 GB, free: 4.57 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004673/0.657, allocations: 266.4 kB / 0.8325 GB, free: 4.305 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 7.68e-05/0.6571, allocations: 32.58 kB / 0.8326 GB, free: 4.273 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000741/0.6579, allocations: 421.7 kB / 0.833 GB, free: 3.848 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=69): time 2.725e-06/0.6579, allocations: 4 kB / 0.833 GB, free: 3.844 MB / 0.6544 GB Notification: Performance of matching and sorting (n=69): time 0.002801/0.6607, allocations: 1.07 MB / 0.834 GB, free: 2.746 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001037/0.6608, allocations: 188.4 kB / 0.8342 GB, free: 2.52 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001025/0.6618, allocations: 0.7631 MB / 0.8349 GB, free: 1.75 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 6.135e-05/0.6619, allocations: 37.7 kB / 0.835 GB, free: 1.707 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003846/0.6623, allocations: 495.9 kB / 0.8354 GB, free: 1.215 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.000177/0.6625, allocations: 232.6 kB / 0.8357 GB, free: 0.9844 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002084/0.6627, allocations: 130.2 kB / 0.8358 GB, free: 0.8516 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001142/0.6628, allocations: 330 kB / 0.8361 GB, free: 0.5234 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004162/0.6632, allocations: 217.2 kB / 0.8363 GB, free: 316 kB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005157/0.6638, allocations: 310.8 kB / 0.8366 GB, free: 15.98 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000926/0.6647, allocations: 0.5233 MB / 0.8371 GB, free: 15.45 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.988e-06/0.6647, allocations: 0 / 0.8371 GB, free: 15.45 MB / 0.67 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001758/0.6665, allocations: 0.7273 MB / 0.8378 GB, free: 14.71 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.371e-05/0.6665, allocations: 4 kB / 0.8378 GB, free: 14.71 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.242e-05/0.6665, allocations: 7.984 kB / 0.8378 GB, free: 14.7 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006089/0.6672, allocations: 76.86 kB / 0.8379 GB, free: 14.62 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005364/0.6677, allocations: 135.9 kB / 0.838 GB, free: 14.49 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002179/0.6699, allocations: 1.642 MB / 0.8396 GB, free: 12.7 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006121/0.6705, allocations: 78.45 kB / 0.8397 GB, free: 12.63 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.822e-05/0.6706, allocations: 27.98 kB / 0.8397 GB, free: 12.6 MB / 0.67 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 (weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (72): * Single equations (assignments): 71 * 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.0004816/0.6711, allocations: 274.4 kB / 0.84 GB, free: 12.32 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002168/0.6713, allocations: 98.75 kB / 0.8401 GB, free: 12.23 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00224/0.6736, allocations: 0.9802 MB / 0.8411 GB, free: 11.24 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.089e-05/0.6736, allocations: 8 kB / 0.8411 GB, free: 11.23 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.6736, allocations: 0 / 0.8411 GB, free: 11.23 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.367e-06/0.6736, allocations: 3.984 kB / 0.8411 GB, free: 11.23 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001253/0.6749, allocations: 0.9353 MB / 0.842 GB, free: 10.24 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.534e-06/0.6749, allocations: 4 kB / 0.842 GB, free: 10.24 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000519/0.6754, allocations: 131.8 kB / 0.8421 GB, free: 10.11 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004453/0.6759, allocations: 68.78 kB / 0.8422 GB, free: 10.04 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.755e-05/0.6759, allocations: 27.98 kB / 0.8422 GB, free: 10.01 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001936/0.6779, allocations: 1.67 MB / 0.8438 GB, free: 8.191 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/0.6779, allocations: 0 / 0.8438 GB, free: 8.191 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001874/0.6798, allocations: 0.849 MB / 0.8447 GB, free: 7.32 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000492/0.6803, allocations: 267.7 kB / 0.8449 GB, free: 7.039 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001736/0.6805, allocations: 12 kB / 0.8449 GB, free: 7.027 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005735/0.6811, allocations: 51.94 kB / 0.845 GB, free: 6.977 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001484/0.6812, allocations: 60.86 kB / 0.845 GB, free: 6.918 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.908e-05/0.6813, allocations: 31.97 kB / 0.8451 GB, free: 6.887 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0008371/0.6821, allocations: 0.5342 MB / 0.8456 GB, free: 6.355 MB / 0.67 GB Notification: Performance of sort global known variables: time 2.6e-07/0.6822, allocations: 3.938 kB / 0.8456 GB, free: 6.352 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0009471/0.6831, allocations: 307 kB / 0.8459 GB, free: 6.051 MB / 0.67 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (80): * Single equations (assignments): 77 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.003338/0.6865, allocations: 1.871 MB / 0.8477 GB, free: 4.332 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.00154/0.688, allocations: 0.7159 MB / 0.8484 GB, free: 3.605 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 4.549e-06/0.688, allocations: 0 / 0.8484 GB, free: 3.605 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0008447/0.6889, allocations: 488.5 kB / 0.8489 GB, free: 3.113 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001846/0.6907, allocations: 463.7 kB / 0.8493 GB, free: 2.703 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01221/0.703, allocations: 6.576 MB / 0.8557 GB, free: 11.96 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007606/0.7038, allocations: 1.073 MB / 0.8568 GB, free: 10.87 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0009323/0.7047, allocations: 267.1 kB / 0.857 GB, free: 10.61 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006283/0.7054, allocations: 443.2 kB / 0.8575 GB, free: 10.17 MB / 0.6856 GB Notification: Performance of SimCode: time 8.41e-07/0.7054, allocations: 4 kB / 0.8575 GB, free: 10.17 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3766/1.082, allocations: 24.29 MB / 0.8812 GB, free: 185.6 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.62/13.71, allocations: 9.703 kB / 0.8812 GB, free: 185.6 MB / 0.6856 GB (rm -f IDEAS_dev_IDEAS.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.IO.SignalExchange.Examples.WeatherStation.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_IO_SignalExchange_Examples_WeatherStation_fmu --startTime=0 --stopTime=864000 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_IO_SignalExchange_Examples_WeatherStation.fmu > IDEAS_dev_IDEAS.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe 2>&1)