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.005961/0.005961, allocations: 98.08 kB / 15.73 MB, free: 6.004 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.001324/0.001324, allocations: 199.4 kB / 16.68 MB, free: 5.934 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.47/1.47, allocations: 222.9 MB / 240.4 MB, free: 4.301 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8387/0.8387, allocations: 132.2 MB / 422.7 MB, free: 1.664 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002711/0.002711, allocations: 67 kB / 0.5808 GB, free: 1.113 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2076/0.2103, allocations: 80.2 MB / 0.6592 GB, free: 14 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.SignalExchange.Examples.WeatherStation): time 0.007374/0.2178, allocations: 4.89 MB / 0.6639 GB, free: 9.082 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.1755/0.3933, allocations: 150.7 MB / 0.8111 GB, free: 1.738 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008174/0.3941, allocations: 27.81 kB / 0.8112 GB, free: 1.711 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.0007681/0.3949, allocations: 333.6 kB / 0.8115 GB, free: 1.383 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.0015/0.3965, allocations: 0.4896 MB / 0.812 GB, free: 0.8945 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.001934/0.3984, allocations: 0.8217 MB / 0.8128 GB, free: 84 kB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.3768/0.7752, allocations: 1.345 MB / 0.8141 GB, free: 3.445 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001141/0.7763, allocations: 0.8043 MB / 0.8149 GB, free: 3.293 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006604/0.777, allocations: 489.1 kB / 0.8153 GB, free: 3.293 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005869/0.7776, allocations: 0.5034 MB / 0.8158 GB, free: 3.293 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0001938/0.7778, allocations: 118.9 kB / 0.8159 GB, free: 3.293 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001047/0.7789, allocations: 490 kB / 0.8164 GB, free: 3.293 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0003165/0.7792, allocations: 310.2 kB / 0.8167 GB, free: 3.293 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0006699/0.7799, allocations: 0.5908 MB / 0.8173 GB, free: 3.293 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.002555/0.7824, allocations: 1.771 MB / 0.819 GB, free: 3.195 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.7825, allocations: 0.7031 kB / 0.819 GB, free: 3.195 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.545e-06/0.7825, allocations: 0.6562 kB / 0.819 GB, free: 3.195 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 3.095e-05/0.7825, allocations: 4.656 kB / 0.819 GB, free: 3.195 MB / 0.6387 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.002831/0.7853, allocations: 1.616 MB / 0.8206 GB, free: 2.328 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.117e-05/0.7854, allocations: 10.11 kB / 0.8206 GB, free: 2.328 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001635/0.7856, allocations: 144.4 kB / 0.8207 GB, free: 2.289 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001004/0.7866, allocations: 222.8 kB / 0.821 GB, free: 2.211 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001305/0.7879, allocations: 0.8768 MB / 0.8218 GB, free: 1.871 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.142e-05/0.788, allocations: 76.91 kB / 0.8219 GB, free: 1.863 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001095/0.7881, allocations: 91.56 kB / 0.822 GB, free: 1.863 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00156/0.7897, allocations: 0.9675 MB / 0.8229 GB, free: 1.719 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.355e-05/0.7897, allocations: 4.797 kB / 0.8229 GB, free: 1.715 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.803e-05/0.7898, allocations: 40.91 kB / 0.823 GB, free: 1.715 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.169e-05/0.7898, allocations: 22.97 kB / 0.823 GB, free: 1.715 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001822/0.7916, allocations: 1.123 MB / 0.8241 GB, free: 1.703 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003812/0.7955, allocations: 2.663 MB / 0.8267 GB, free: 0.9141 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001142/0.7966, allocations: 0.704 MB / 0.8274 GB, free: 0.8828 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004216/0.797, allocations: 267.8 kB / 0.8276 GB, free: 0.875 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 7.213e-05/0.7971, allocations: 32.89 kB / 0.8277 GB, free: 0.8711 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006443/0.7978, allocations: 421.2 kB / 0.8281 GB, free: 0.8008 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=69): time 2.054e-06/0.7978, allocations: 0 / 0.8281 GB, free: 0.8008 MB / 0.6387 GB Notification: Performance of matching and sorting (n=69): time 0.002721/0.8005, allocations: 1.081 MB / 0.8291 GB, free: 0.5977 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001518/0.8007, allocations: 191.5 kB / 0.8293 GB, free: 16.38 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008652/0.8016, allocations: 0.7488 MB / 0.83 GB, free: 16.25 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 6.659e-05/0.8016, allocations: 41.41 kB / 0.8301 GB, free: 16.22 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003019/0.8019, allocations: 0.4966 MB / 0.8306 GB, free: 16.01 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001306/0.8021, allocations: 240 kB / 0.8308 GB, free: 15.86 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001769/0.8023, allocations: 128.9 kB / 0.8309 GB, free: 15.84 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001721/0.8024, allocations: 332.9 kB / 0.8312 GB, free: 15.53 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003915/0.8028, allocations: 214 kB / 0.8314 GB, free: 15.53 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004695/0.8033, allocations: 314.1 kB / 0.8317 GB, free: 15.46 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008732/0.8042, allocations: 0.5146 MB / 0.8322 GB, free: 15.41 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.248e-06/0.8042, allocations: 0.9062 kB / 0.8322 GB, free: 15.41 MB / 0.6544 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001649/0.8059, allocations: 0.7368 MB / 0.8329 GB, free: 15.3 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.769e-05/0.8059, allocations: 7.406 kB / 0.833 GB, free: 15.3 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.131e-06/0.8059, allocations: 2.078 kB / 0.833 GB, free: 15.3 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005979/0.8065, allocations: 85 kB / 0.833 GB, free: 15.3 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005142/0.807, allocations: 127.3 kB / 0.8332 GB, free: 15.3 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002344/0.8094, allocations: 1.655 MB / 0.8348 GB, free: 13.91 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000664/0.8101, allocations: 75.42 kB / 0.8348 GB, free: 13.88 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.071e-05/0.8101, allocations: 23.97 kB / 0.8349 GB, free: 13.88 MB / 0.6544 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.0004931/0.8106, allocations: 272.4 kB / 0.8351 GB, free: 13.77 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00017/0.8108, allocations: 100.8 kB / 0.8352 GB, free: 13.71 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002013/0.8128, allocations: 0.981 MB / 0.8362 GB, free: 13.61 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.624e-06/0.8129, allocations: 7.531 kB / 0.8362 GB, free: 13.61 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.8129, allocations: 0 / 0.8362 GB, free: 13.61 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.037e-06/0.8129, allocations: 5.062 kB / 0.8362 GB, free: 13.61 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009717/0.8139, allocations: 0.9354 MB / 0.8371 GB, free: 13.39 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/0.8139, allocations: 0 / 0.8371 GB, free: 13.39 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005138/0.8144, allocations: 133.8 kB / 0.8372 GB, free: 13.39 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004444/0.8148, allocations: 79.55 kB / 0.8373 GB, free: 13.38 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.134e-05/0.8149, allocations: 21.28 kB / 0.8373 GB, free: 13.38 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002028/0.8169, allocations: 1.679 MB / 0.839 GB, free: 12 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.817, allocations: 0 / 0.839 GB, free: 12 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001754/0.8187, allocations: 0.8458 MB / 0.8398 GB, free: 11.84 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003939/0.8191, allocations: 279.3 kB / 0.8401 GB, free: 11.68 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001172/0.8192, allocations: 16.06 kB / 0.8401 GB, free: 11.68 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005224/0.8198, allocations: 52.73 kB / 0.8401 GB, free: 11.68 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001304/0.8199, allocations: 55.59 kB / 0.8402 GB, free: 11.68 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.015e-05/0.82, allocations: 33.19 kB / 0.8402 GB, free: 11.68 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0006387/0.8206, allocations: 0.5336 MB / 0.8407 GB, free: 11.58 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.8e-07/0.8206, allocations: 0 / 0.8407 GB, free: 11.58 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0008561/0.8215, allocations: 315.2 kB / 0.841 GB, free: 11.52 MB / 0.6544 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.003982/0.8255, allocations: 1.889 MB / 0.8429 GB, free: 10.75 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001442/0.827, allocations: 0.7066 MB / 0.8436 GB, free: 10.63 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 4.409e-06/0.827, allocations: 0 / 0.8436 GB, free: 10.63 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0007837/0.8278, allocations: 493.5 kB / 0.844 GB, free: 10.5 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001709/0.8295, allocations: 458.2 kB / 0.8445 GB, free: 10.47 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01061/0.8401, allocations: 6.607 MB / 0.8509 GB, free: 8.457 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007592/0.8409, allocations: 1.072 MB / 0.852 GB, free: 7.754 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0009431/0.8419, allocations: 279.1 kB / 0.8522 GB, free: 7.699 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004716/0.8423, allocations: 446.5 kB / 0.8527 GB, free: 7.691 MB / 0.6544 GB Notification: Performance of SimCode: time 1.984e-06/0.8424, allocations: 1.031 kB / 0.8527 GB, free: 7.691 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2727/1.115, allocations: 23.91 MB / 0.876 GB, free: 1.258 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.98/15.09, allocations: 11.27 kB / 0.876 GB, free: 1.25 MB / 0.6544 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)