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.001074/0.001074, 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.00112/0.00112, allocations: 189.3 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.429/1.429, allocations: 222.9 MB / 239.9 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.029/1.029, allocations: 135.1 MB / 425.2 MB, free: 11.96 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001543/0.001543, allocations: 65.39 kB / 0.505 GB, free: 5.566 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1806/0.1822, allocations: 80.94 MB / 0.584 GB, free: 4.793 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.SignalExchange.Examples.WeatherStation): time 0.007126/0.1894, allocations: 4.842 MB / 0.5887 GB, free: 15.92 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.5181/0.7075, allocations: 148.5 MB / 0.7338 GB, free: 13.2 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00125/0.7088, allocations: 27.28 kB / 0.7338 GB, free: 13.18 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0008587/0.7097, allocations: 290.1 kB / 0.7341 GB, free: 13.02 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001774/0.7115, allocations: 432 kB / 0.7345 GB, free: 12.8 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002063/0.7135, allocations: 0.7348 MB / 0.7352 GB, free: 12.41 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001812/0.7153, allocations: 1.35 MB / 0.7365 GB, free: 11.7 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00129/0.7166, allocations: 0.8026 MB / 0.7373 GB, free: 11.27 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000816/0.7175, allocations: 489.9 kB / 0.7378 GB, free: 11.01 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005822/0.7181, allocations: 0.5024 MB / 0.7383 GB, free: 10.72 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001564/0.7182, allocations: 122.6 kB / 0.7384 GB, free: 10.72 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001001/0.7192, allocations: 466.8 kB / 0.7388 GB, free: 10.61 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002778/0.7195, allocations: 304.3 kB / 0.7391 GB, free: 10.42 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0004958/0.72, allocations: 0.5976 MB / 0.7397 GB, free: 9.988 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002164/0.7222, allocations: 1.707 MB / 0.7414 GB, free: 9.262 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.372e-06/0.7222, allocations: 1.312 kB / 0.7414 GB, free: 9.262 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.084e-06/0.7222, allocations: 0 / 0.7414 GB, free: 9.262 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 2.295e-05/0.7223, allocations: 0 / 0.7414 GB, free: 9.262 MB / 0.5606 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.002724/0.725, allocations: 1.58 MB / 0.7429 GB, free: 8.191 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.044e-05/0.725, allocations: 9.625 kB / 0.7429 GB, free: 8.191 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001773/0.7252, allocations: 147.4 kB / 0.743 GB, free: 8.094 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009525/0.7262, allocations: 211.8 kB / 0.7432 GB, free: 8.008 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001153/0.7274, allocations: 0.8674 MB / 0.7441 GB, free: 7.301 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.991e-05/0.7274, allocations: 68.12 kB / 0.7442 GB, free: 7.27 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.981e-05/0.7275, allocations: 90.28 kB / 0.7442 GB, free: 7.242 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001574/0.7291, allocations: 0.9737 MB / 0.7452 GB, free: 6.625 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.324e-05/0.7292, allocations: 4 kB / 0.7452 GB, free: 6.621 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.491e-05/0.7292, allocations: 38.84 kB / 0.7452 GB, free: 6.594 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.39e-05/0.7293, allocations: 23.31 kB / 0.7453 GB, free: 6.594 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001758/0.731, allocations: 1.118 MB / 0.7464 GB, free: 6.059 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00407/0.7351, allocations: 2.688 MB / 0.749 GB, free: 3.922 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001203/0.7363, allocations: 0.7097 MB / 0.7497 GB, free: 3.207 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004462/0.7368, allocations: 274.4 kB / 0.7499 GB, free: 2.938 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 7.327e-05/0.7369, allocations: 24.59 kB / 0.75 GB, free: 2.914 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007552/0.7376, allocations: 421.8 kB / 0.7504 GB, free: 2.48 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=69): time 2.184e-06/0.7377, allocations: 0 / 0.7504 GB, free: 2.48 MB / 0.5606 GB Notification: Performance of matching and sorting (n=69): time 0.002917/0.7406, allocations: 1.077 MB / 0.7514 GB, free: 1.375 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001109/0.7407, allocations: 193.1 kB / 0.7516 GB, free: 1.145 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009447/0.7417, allocations: 0.7476 MB / 0.7523 GB, free: 400 kB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 6.661e-05/0.7417, allocations: 41.7 kB / 0.7524 GB, free: 352 kB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003633/0.7421, allocations: 499.9 kB / 0.7528 GB, free: 15.85 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001829/0.7423, allocations: 232.6 kB / 0.7531 GB, free: 15.62 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000189/0.7425, allocations: 130.2 kB / 0.7532 GB, free: 15.48 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001031/0.7426, allocations: 330 kB / 0.7535 GB, free: 15.16 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003957/0.743, allocations: 215.5 kB / 0.7537 GB, free: 14.95 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004841/0.7435, allocations: 314.8 kB / 0.754 GB, free: 14.62 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008803/0.7444, allocations: 0.5156 MB / 0.7545 GB, free: 14.09 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.7444, allocations: 0 / 0.7545 GB, free: 14.09 MB / 0.5762 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001675/0.7461, allocations: 0.7273 MB / 0.7552 GB, free: 13.35 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.892e-05/0.7461, allocations: 4 kB / 0.7552 GB, free: 13.35 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.7461, allocations: 0 / 0.7552 GB, free: 13.35 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005954/0.7467, allocations: 84.86 kB / 0.7553 GB, free: 13.26 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000527/0.7473, allocations: 135.8 kB / 0.7554 GB, free: 13.13 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00203/0.7493, allocations: 1.641 MB / 0.757 GB, free: 11.34 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006795/0.75, allocations: 75.41 kB / 0.7571 GB, free: 11.27 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.352e-05/0.7501, allocations: 31.92 kB / 0.7571 GB, free: 11.24 MB / 0.5762 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.0005222/0.7506, allocations: 268.6 kB / 0.7574 GB, free: 10.97 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001751/0.7508, allocations: 102.7 kB / 0.7575 GB, free: 10.87 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002105/0.7529, allocations: 0.9764 MB / 0.7584 GB, free: 9.895 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.586e-06/0.7529, allocations: 12 kB / 0.7585 GB, free: 9.883 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.495e-06/0.7529, allocations: 0 / 0.7585 GB, free: 9.883 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.167e-05/0.7529, allocations: 7.984 kB / 0.7585 GB, free: 9.875 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001076/0.754, allocations: 0.942 MB / 0.7594 GB, free: 8.887 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.947e-06/0.754, allocations: 0 / 0.7594 GB, free: 8.887 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005372/0.7546, allocations: 135.8 kB / 0.7595 GB, free: 8.754 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004466/0.755, allocations: 72.78 kB / 0.7596 GB, free: 8.68 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.208e-05/0.7551, allocations: 23.98 kB / 0.7596 GB, free: 8.656 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001808/0.7569, allocations: 1.674 MB / 0.7612 GB, free: 6.84 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.7569, allocations: 0 / 0.7612 GB, free: 6.84 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001818/0.7588, allocations: 0.8412 MB / 0.7621 GB, free: 5.98 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003683/0.7591, allocations: 275.6 kB / 0.7623 GB, free: 5.691 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001199/0.7593, allocations: 16 kB / 0.7623 GB, free: 5.676 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005365/0.7598, allocations: 57.44 kB / 0.7624 GB, free: 5.621 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00014/0.76, allocations: 52.92 kB / 0.7624 GB, free: 5.566 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.085e-05/0.76, allocations: 31.98 kB / 0.7625 GB, free: 5.535 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0006675/0.7607, allocations: 0.5263 MB / 0.763 GB, free: 5.012 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7607, allocations: 0 / 0.763 GB, free: 5.012 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0008736/0.7616, allocations: 307.1 kB / 0.7633 GB, free: 4.711 MB / 0.5762 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.003375/0.765, allocations: 1.888 MB / 0.7651 GB, free: 3.008 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.00203/0.767, allocations: 0.8832 MB / 0.766 GB, free: 2.113 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.561e-06/0.767, allocations: 0 / 0.766 GB, free: 2.113 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.000817/0.7679, allocations: 492.7 kB / 0.7665 GB, free: 1.621 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001621/0.7695, allocations: 449.4 kB / 0.7669 GB, free: 1.219 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01253/0.782, allocations: 7.328 MB / 0.774 GB, free: 9.68 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006254/0.7827, allocations: 1.074 MB / 0.7751 GB, free: 8.57 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0009133/0.7836, allocations: 271.1 kB / 0.7754 GB, free: 8.301 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005617/0.7842, allocations: 451.2 kB / 0.7758 GB, free: 7.863 MB / 0.5919 GB Notification: Performance of SimCode: time 6.21e-07/0.7842, allocations: 0 / 0.7758 GB, free: 7.863 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05262/0.8368, allocations: 23.46 MB / 0.7987 GB, free: 0.7266 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002691/0.8371, allocations: 281.5 kB / 0.799 GB, free: 356 kB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.322/3.16, allocations: 0 / 0.799 GB, free: 356 kB / 0.6075 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)