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.001409/0.001409, 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.001671/0.00167, allocations: 194.3 kB / 16.14 MB, free: 6.66 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.364/1.364, allocations: 222.9 MB / 239.8 MB, free: 4.52 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9665/0.9665, allocations: 135.1 MB / 425.1 MB, free: 11.88 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001196/0.001196, allocations: 55.78 kB / 0.5048 GB, free: 5.637 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1895/0.1907, allocations: 80.92 MB / 0.5838 GB, free: 4.887 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.SignalExchange.Examples.WeatherStation): time 0.006789/0.1975, allocations: 4.858 MB / 0.5886 GB, free: 0 / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.4772/0.6748, allocations: 148.4 MB / 0.7335 GB, free: 13.53 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001115/0.6759, allocations: 30.28 kB / 0.7335 GB, free: 13.52 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0008454/0.6768, allocations: 277.5 kB / 0.7338 GB, free: 13.37 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001299/0.6781, allocations: 418 kB / 0.7342 GB, free: 13.14 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001815/0.68, allocations: 0.7051 MB / 0.7349 GB, free: 12.76 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001383/0.6814, allocations: 1.253 MB / 0.7361 GB, free: 12.14 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001056/0.6824, allocations: 0.7899 MB / 0.7369 GB, free: 11.7 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006425/0.6831, allocations: 418.3 kB / 0.7373 GB, free: 11.51 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005339/0.6836, allocations: 490.9 kB / 0.7377 GB, free: 11.25 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001275/0.6838, allocations: 59.19 kB / 0.7378 GB, free: 11.25 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008745/0.6846, allocations: 399.8 kB / 0.7382 GB, free: 11.15 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.000231/0.6849, allocations: 259.5 kB / 0.7384 GB, free: 11 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0004517/0.6853, allocations: 0.5335 MB / 0.7389 GB, free: 10.64 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001718/0.6871, allocations: 1.658 MB / 0.7406 GB, free: 9.609 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.6871, allocations: 0 / 0.7406 GB, free: 9.609 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.212e-06/0.6871, allocations: 0 / 0.7406 GB, free: 9.609 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 2.084e-05/0.6871, allocations: 0 / 0.7406 GB, free: 9.609 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.002929/0.6901, allocations: 1.581 MB / 0.7421 GB, free: 8.363 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 6.233e-05/0.6901, allocations: 10.16 kB / 0.7421 GB, free: 8.363 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001838/0.6903, allocations: 145.7 kB / 0.7423 GB, free: 8.246 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001049/0.6914, allocations: 209.5 kB / 0.7425 GB, free: 8.145 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00133/0.6927, allocations: 0.8593 MB / 0.7433 GB, free: 7.445 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.55e-05/0.6928, allocations: 72.44 kB / 0.7434 GB, free: 7.41 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001251/0.6929, allocations: 88.25 kB / 0.7434 GB, free: 7.383 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001751/0.6947, allocations: 0.97 MB / 0.7444 GB, free: 6.77 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.052e-05/0.6947, allocations: 0 / 0.7444 GB, free: 6.77 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.074e-05/0.6948, allocations: 37.75 kB / 0.7444 GB, free: 6.742 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.344e-05/0.6949, allocations: 28.12 kB / 0.7445 GB, free: 6.738 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001661/0.6965, allocations: 1.117 MB / 0.7455 GB, free: 6.203 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004315/0.7008, allocations: 2.689 MB / 0.7482 GB, free: 4.16 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001207/0.7021, allocations: 0.7109 MB / 0.7489 GB, free: 3.801 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004242/0.7025, allocations: 264.8 kB / 0.7491 GB, free: 3.672 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 6.877e-05/0.7026, allocations: 35.45 kB / 0.7492 GB, free: 3.652 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007381/0.7033, allocations: 422.5 kB / 0.7496 GB, free: 3.227 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=69): time 2.515e-06/0.7033, allocations: 1.312 kB / 0.7496 GB, free: 3.227 MB / 0.5606 GB Notification: Performance of matching and sorting (n=69): time 0.002844/0.7062, allocations: 1.077 MB / 0.7506 GB, free: 2.121 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.865e-05/0.7063, allocations: 192.5 kB / 0.7508 GB, free: 1.891 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009115/0.7072, allocations: 0.7515 MB / 0.7515 GB, free: 1.133 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.756e-05/0.7073, allocations: 41.7 kB / 0.7516 GB, free: 1.086 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003808/0.7077, allocations: 499.9 kB / 0.752 GB, free: 0.5898 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001653/0.7078, allocations: 232.6 kB / 0.7523 GB, free: 368 kB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000187/0.708, allocations: 130.2 kB / 0.7524 GB, free: 232 kB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001222/0.7082, allocations: 330 kB / 0.7527 GB, free: 15.9 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004061/0.7086, allocations: 213.2 kB / 0.7529 GB, free: 15.69 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004995/0.7091, allocations: 314.7 kB / 0.7532 GB, free: 15.36 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008917/0.71, allocations: 0.5195 MB / 0.7537 GB, free: 14.83 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.057e-06/0.71, allocations: 0 / 0.7537 GB, free: 14.83 MB / 0.5762 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001664/0.7117, allocations: 0.7269 MB / 0.7544 GB, free: 14.1 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.368e-05/0.7117, allocations: 8 kB / 0.7544 GB, free: 14.09 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/0.7117, allocations: 0 / 0.7544 GB, free: 14.09 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006065/0.7123, allocations: 88.8 kB / 0.7545 GB, free: 14 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005302/0.7129, allocations: 123.9 kB / 0.7546 GB, free: 13.88 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001872/0.7148, allocations: 1.54 MB / 0.7561 GB, free: 12.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005594/0.7153, allocations: 71.39 kB / 0.7562 GB, free: 12.13 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5e-05/0.7154, allocations: 27.98 kB / 0.7562 GB, free: 12.1 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.0004174/0.7158, allocations: 273.8 kB / 0.7565 GB, free: 11.82 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001589/0.716, allocations: 94.78 kB / 0.7566 GB, free: 11.73 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002127/0.7181, allocations: 0.9801 MB / 0.7575 GB, free: 10.75 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.186e-06/0.7181, allocations: 11.94 kB / 0.7576 GB, free: 10.74 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.524e-06/0.7181, allocations: 0 / 0.7576 GB, free: 10.74 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.767e-06/0.7181, allocations: 3.984 kB / 0.7576 GB, free: 10.73 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009852/0.7191, allocations: 0.9387 MB / 0.7585 GB, free: 9.746 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.006e-06/0.7192, allocations: 0 / 0.7585 GB, free: 9.746 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005211/0.7197, allocations: 131.9 kB / 0.7586 GB, free: 9.617 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005158/0.7202, allocations: 80.72 kB / 0.7587 GB, free: 9.535 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.765e-05/0.7203, allocations: 23.98 kB / 0.7587 GB, free: 9.512 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001714/0.722, allocations: 1.559 MB / 0.7602 GB, free: 7.816 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.722, allocations: 0 / 0.7602 GB, free: 7.816 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001718/0.7237, allocations: 0.8451 MB / 0.761 GB, free: 6.953 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00032/0.7241, allocations: 271.6 kB / 0.7613 GB, free: 6.668 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001144/0.7242, allocations: 12 kB / 0.7613 GB, free: 6.656 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005231/0.7247, allocations: 59.88 kB / 0.7614 GB, free: 6.598 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001183/0.7248, allocations: 60.86 kB / 0.7614 GB, free: 6.535 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.062e-05/0.7249, allocations: 31.97 kB / 0.7615 GB, free: 6.504 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0006424/0.7255, allocations: 0.5264 MB / 0.762 GB, free: 5.98 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.71e-07/0.7256, allocations: 0 / 0.762 GB, free: 5.98 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0008164/0.7264, allocations: 307.1 kB / 0.7623 GB, free: 5.68 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.003105/0.7295, allocations: 1.89 MB / 0.7641 GB, free: 3.984 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001422/0.7309, allocations: 0.6999 MB / 0.7648 GB, free: 3.27 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.397e-06/0.7309, allocations: 4 kB / 0.7648 GB, free: 3.266 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0008101/0.7318, allocations: 488.7 kB / 0.7653 GB, free: 2.777 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001513/0.7333, allocations: 403.5 kB / 0.7657 GB, free: 2.395 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01317/0.7465, allocations: 7.329 MB / 0.7728 GB, free: 10.86 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008493/0.7474, allocations: 1.074 MB / 0.7739 GB, free: 9.746 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001176/0.7486, allocations: 279 kB / 0.7741 GB, free: 9.469 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000658/0.7492, allocations: 447.2 kB / 0.7746 GB, free: 9.035 MB / 0.5919 GB Notification: Performance of SimCode: time 8.82e-07/0.7492, allocations: 0 / 0.7746 GB, free: 9.035 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04084/0.7901, allocations: 22.88 MB / 0.7969 GB, free: 2.48 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003744/0.7905, allocations: 284.3 kB / 0.7972 GB, free: 2.102 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.595/3.386, allocations: 0 / 0.7972 GB, free: 2.102 MB / 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)