Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS_Utilities_IO_SignalExchange_Examples_WeatherStation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.IO.SignalExchange.Examples.WeatherStation,fileNamePrefix="IDEAS_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.008251/0.008251, allocations: 103.4 kB / 15.73 MB, free: 6.047 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.001824/0.001824, allocations: 189.3 kB / 16.67 MB, free: 5.969 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.375/1.375, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7792/0.7792, allocations: 132.2 MB / 422.7 MB, free: 6.59 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001176/0.001176, allocations: 61.67 kB / 0.5808 GB, free: 24.08 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.147/0.1482, allocations: 80.23 MB / 0.6592 GB, free: 10.82 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.SignalExchange.Examples.WeatherStation): time 0.007219/0.1555, allocations: 4.868 MB / 0.6639 GB, free: 5.922 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.5477/0.7032, allocations: 150.7 MB / 0.8111 GB, free: 11.52 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00108/0.7043, allocations: 30.59 kB / 0.8111 GB, free: 11.5 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001098/0.7055, allocations: 336.6 kB / 0.8115 GB, free: 11.38 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.002136/0.7076, allocations: 0.4953 MB / 0.8119 GB, free: 11.23 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002077/0.7097, allocations: 0.8168 MB / 0.8127 GB, free: 11.16 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001789/0.7115, allocations: 1.351 MB / 0.8141 GB, free: 10.94 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001342/0.7129, allocations: 0.8059 MB / 0.8149 GB, free: 10.74 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008231/0.7137, allocations: 490.7 kB / 0.8153 GB, free: 10.64 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007998/0.7145, allocations: 0.5051 MB / 0.8158 GB, free: 10.44 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0002821/0.7148, allocations: 119.5 kB / 0.8159 GB, free: 10.44 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008895/0.7157, allocations: 0.4888 MB / 0.8164 GB, free: 10.35 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002426/0.716, allocations: 311.8 kB / 0.8167 GB, free: 10.25 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0004444/0.7164, allocations: 0.5988 MB / 0.8173 GB, free: 10.01 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001607/0.7181, allocations: 1.752 MB / 0.819 GB, free: 9.176 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.7181, allocations: 0 / 0.819 GB, free: 9.176 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.223e-06/0.7181, allocations: 0 / 0.819 GB, free: 9.176 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.416e-05/0.7181, allocations: 0 / 0.819 GB, free: 9.176 MB / 0.5919 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.002151/0.7202, allocations: 1.574 MB / 0.8205 GB, free: 7.941 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.646e-05/0.7203, allocations: 10.59 kB / 0.8205 GB, free: 7.941 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001478/0.7204, allocations: 143 kB / 0.8207 GB, free: 7.824 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008479/0.7213, allocations: 215.9 kB / 0.8209 GB, free: 7.715 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001135/0.7224, allocations: 0.883 MB / 0.8218 GB, free: 7.023 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.937e-05/0.7225, allocations: 68.44 kB / 0.8218 GB, free: 6.992 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.665e-05/0.7226, allocations: 92.53 kB / 0.8219 GB, free: 6.961 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00142/0.724, allocations: 0.9627 MB / 0.8228 GB, free: 6.352 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.95e-05/0.7241, allocations: 6.844 kB / 0.8229 GB, free: 6.352 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.058e-05/0.7242, allocations: 39.69 kB / 0.8229 GB, free: 6.32 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.729e-05/0.7242, allocations: 26.69 kB / 0.8229 GB, free: 6.316 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001546/0.7257, allocations: 1.119 MB / 0.824 GB, free: 5.781 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003693/0.7294, allocations: 2.669 MB / 0.8266 GB, free: 3.773 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001111/0.7306, allocations: 0.6999 MB / 0.8273 GB, free: 3.426 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004233/0.731, allocations: 272.2 kB / 0.8276 GB, free: 3.285 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 7.193e-05/0.7311, allocations: 35.19 kB / 0.8276 GB, free: 3.27 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000677/0.7318, allocations: 408.7 kB / 0.828 GB, free: 3.012 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=69): time 2.034e-06/0.7318, allocations: 2.094 kB / 0.828 GB, free: 3.012 MB / 0.5919 GB Notification: Performance of matching and sorting (n=69): time 0.002684/0.7345, allocations: 1.08 MB / 0.829 GB, free: 2.41 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001072/0.7346, allocations: 190.4 kB / 0.8292 GB, free: 2.191 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009761/0.7356, allocations: 0.7557 MB / 0.83 GB, free: 1.766 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 6.958e-05/0.7356, allocations: 36.73 kB / 0.83 GB, free: 1.727 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004224/0.7361, allocations: 498.7 kB / 0.8305 GB, free: 1.293 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001785/0.7363, allocations: 225.5 kB / 0.8307 GB, free: 1.102 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000207/0.7365, allocations: 129.9 kB / 0.8308 GB, free: 1.023 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001416/0.7366, allocations: 330.4 kB / 0.8311 GB, free: 0.6992 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004155/0.737, allocations: 211 kB / 0.8313 GB, free: 0.5977 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005307/0.7376, allocations: 320 kB / 0.8316 GB, free: 396 kB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009538/0.7386, allocations: 0.5196 MB / 0.8321 GB, free: 104 kB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.925e-06/0.7386, allocations: 0 / 0.8321 GB, free: 104 kB / 0.5919 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001694/0.7403, allocations: 0.7237 MB / 0.8328 GB, free: 15.73 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.896e-05/0.7403, allocations: 6.844 kB / 0.8328 GB, free: 15.73 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.823e-06/0.7403, allocations: 0 / 0.8328 GB, free: 15.73 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006115/0.7409, allocations: 84.02 kB / 0.8329 GB, free: 15.69 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005171/0.7415, allocations: 129.4 kB / 0.8331 GB, free: 15.66 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002059/0.7435, allocations: 1.659 MB / 0.8347 GB, free: 14.04 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005302/0.7441, allocations: 68.5 kB / 0.8347 GB, free: 13.99 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.941e-05/0.7441, allocations: 29.89 kB / 0.8348 GB, free: 13.98 MB / 0.6075 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.0003644/0.7445, allocations: 275.2 kB / 0.835 GB, free: 13.77 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001436/0.7446, allocations: 99.34 kB / 0.8351 GB, free: 13.71 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002079/0.7467, allocations: 0.97 MB / 0.8361 GB, free: 13.16 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.162e-05/0.7468, allocations: 10.41 kB / 0.8361 GB, free: 13.16 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.134e-06/0.7468, allocations: 3.938 kB / 0.8361 GB, free: 13.16 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.671e-05/0.7468, allocations: 3.984 kB / 0.8361 GB, free: 13.16 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001023/0.7478, allocations: 0.9354 MB / 0.837 GB, free: 12.48 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.881e-06/0.7478, allocations: 3.984 kB / 0.837 GB, free: 12.47 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005005/0.7483, allocations: 127.6 kB / 0.8371 GB, free: 12.45 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004481/0.7488, allocations: 78.22 kB / 0.8372 GB, free: 12.41 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.389e-05/0.7489, allocations: 23.3 kB / 0.8372 GB, free: 12.39 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001928/0.7508, allocations: 1.683 MB / 0.8389 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.442e-06/0.7508, allocations: 0 / 0.8389 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001696/0.7525, allocations: 0.8435 MB / 0.8397 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003444/0.7529, allocations: 267.7 kB / 0.8399 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000138/0.753, allocations: 16.81 kB / 0.84 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000532/0.7536, allocations: 61.17 kB / 0.84 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001213/0.7537, allocations: 54.33 kB / 0.8401 GB, free: 9.984 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.707e-05/0.7538, allocations: 27.7 kB / 0.8401 GB, free: 9.977 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0007362/0.7545, allocations: 0.5303 MB / 0.8406 GB, free: 9.676 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7545, allocations: 0 / 0.8406 GB, free: 9.676 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0008629/0.7554, allocations: 307.6 kB / 0.8409 GB, free: 9.578 MB / 0.6075 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.003182/0.7586, allocations: 1.883 MB / 0.8427 GB, free: 8.445 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001413/0.76, allocations: 0.7083 MB / 0.8434 GB, free: 8.066 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 5.951e-06/0.76, allocations: 0 / 0.8434 GB, free: 8.066 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0008063/0.7608, allocations: 488.9 kB / 0.8439 GB, free: 7.762 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001499/0.7623, allocations: 465.8 kB / 0.8444 GB, free: 7.348 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01175/0.7741, allocations: 6.571 MB / 0.8508 GB, free: 0.6211 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007478/0.7749, allocations: 1.07 MB / 0.8518 GB, free: 15.53 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0009134/0.7758, allocations: 271.1 kB / 0.8521 GB, free: 15.26 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006459/0.7765, allocations: 451.2 kB / 0.8525 GB, free: 14.82 MB / 0.6231 GB Notification: Performance of SimCode: time 9.52e-07/0.7765, allocations: 0 / 0.8525 GB, free: 14.82 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05659/0.8331, allocations: 24.29 MB / 0.8762 GB, free: 6.758 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.79/13.62, allocations: 12.61 kB / 0.8762 GB, free: 6.75 MB / 0.6387 GB (rm -f IDEAS_IDEAS.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe ; mkfifo IDEAS_IDEAS.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe >> ../files/IDEAS_IDEAS.Utilities.IO.SignalExchange.Examples.WeatherStation.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_IO_SignalExchange_Examples_WeatherStation_fmu --startTime=0 --stopTime=864000 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_IO_SignalExchange_Examples_WeatherStation.fmu > IDEAS_IDEAS.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe 2>&1)