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.007252/0.007252, allocations: 107.1 kB / 15.74 MB, free: 5.996 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.001737/0.001737, allocations: 197.6 kB / 16.68 MB, free: 5.918 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.272/1.272, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7576/0.7576, allocations: 135.1 MB / 425.7 MB, free: 4.117 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001391/0.001391, allocations: 61.69 kB / 0.5851 GB, free: 22.19 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1648/0.1662, allocations: 80.92 MB / 0.6641 GB, free: 6.438 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.SignalExchange.Examples.WeatherStation): time 0.006969/0.1732, allocations: 4.873 MB / 0.6689 GB, free: 1.539 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.5396/0.7129, allocations: 150.7 MB / 0.8161 GB, free: 8.066 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001204/0.7141, allocations: 26.91 kB / 0.8161 GB, free: 8.055 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0008445/0.715, allocations: 339.7 kB / 0.8164 GB, free: 7.926 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001984/0.717, allocations: 498.8 kB / 0.8169 GB, free: 7.719 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002398/0.7195, allocations: 0.8258 MB / 0.8177 GB, free: 7.391 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001868/0.7213, allocations: 1.353 MB / 0.8191 GB, free: 7.016 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001192/0.7225, allocations: 0.8145 MB / 0.8198 GB, free: 6.727 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007421/0.7233, allocations: 494.8 kB / 0.8203 GB, free: 6.559 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005742/0.7239, allocations: 0.5062 MB / 0.8208 GB, free: 6.316 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001336/0.724, allocations: 118.2 kB / 0.8209 GB, free: 6.316 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008648/0.7249, allocations: 493.6 kB / 0.8214 GB, free: 6.199 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.000271/0.7252, allocations: 306.1 kB / 0.8217 GB, free: 5.957 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.000436/0.7256, allocations: 0.5978 MB / 0.8223 GB, free: 5.492 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001703/0.7273, allocations: 1.756 MB / 0.824 GB, free: 4.199 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 6.261e-06/0.7273, allocations: 0 / 0.824 GB, free: 4.199 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.134e-06/0.7274, allocations: 2.094 kB / 0.824 GB, free: 4.199 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.84e-05/0.7274, allocations: 0 / 0.824 GB, free: 4.199 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.002375/0.7298, allocations: 1.58 MB / 0.8255 GB, free: 2.941 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.395e-05/0.7298, allocations: 11.7 kB / 0.8255 GB, free: 2.941 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001685/0.73, allocations: 146.6 kB / 0.8257 GB, free: 2.82 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008667/0.7309, allocations: 206.8 kB / 0.8259 GB, free: 2.723 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001143/0.732, allocations: 0.8861 MB / 0.8267 GB, free: 2.008 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.401e-05/0.7321, allocations: 67.38 kB / 0.8268 GB, free: 1.977 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001083/0.7322, allocations: 96.47 kB / 0.8269 GB, free: 1.941 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001466/0.7337, allocations: 0.9634 MB / 0.8278 GB, free: 1.332 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.53e-05/0.7337, allocations: 2.75 kB / 0.8278 GB, free: 1.332 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.42e-05/0.7338, allocations: 49.39 kB / 0.8279 GB, free: 1.297 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.678e-05/0.7338, allocations: 22.66 kB / 0.8279 GB, free: 1.297 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001617/0.7354, allocations: 1.111 MB / 0.829 GB, free: 0.7695 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003544/0.739, allocations: 2.657 MB / 0.8316 GB, free: 14.74 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001141/0.7402, allocations: 0.6992 MB / 0.8323 GB, free: 14.39 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004194/0.7406, allocations: 267.5 kB / 0.8325 GB, free: 14.26 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 7.687e-05/0.7407, allocations: 33.39 kB / 0.8326 GB, free: 14.23 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006688/0.7414, allocations: 414.4 kB / 0.833 GB, free: 13.97 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=69): time 2.525e-06/0.7414, allocations: 0 / 0.833 GB, free: 13.97 MB / 0.6075 GB Notification: Performance of matching and sorting (n=69): time 0.00265/0.744, allocations: 1.078 MB / 0.834 GB, free: 13.37 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.313e-05/0.7441, allocations: 188 kB / 0.8342 GB, free: 13.15 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008209/0.745, allocations: 0.7556 MB / 0.8349 GB, free: 12.73 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 5.377e-05/0.745, allocations: 42.52 kB / 0.835 GB, free: 12.68 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003381/0.7454, allocations: 0.4912 MB / 0.8355 GB, free: 12.25 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001836/0.7456, allocations: 224 kB / 0.8357 GB, free: 12.05 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001836/0.7457, allocations: 126.9 kB / 0.8358 GB, free: 11.97 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001056/0.7459, allocations: 333.8 kB / 0.8361 GB, free: 11.65 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003925/0.7463, allocations: 214.6 kB / 0.8363 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004715/0.7467, allocations: 313.4 kB / 0.8366 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008522/0.7476, allocations: 0.518 MB / 0.8371 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.7476, allocations: 0 / 0.8371 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001519/0.7491, allocations: 0.7268 MB / 0.8378 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.675e-05/0.7492, allocations: 5.281 kB / 0.8378 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.424e-06/0.7492, allocations: 2.406 kB / 0.8378 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000578/0.7498, allocations: 83.89 kB / 0.8379 GB, free: 10.63 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000597/0.7504, allocations: 133.4 kB / 0.838 GB, free: 10.6 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002/0.7524, allocations: 1.649 MB / 0.8396 GB, free: 8.98 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005116/0.7529, allocations: 77.88 kB / 0.8397 GB, free: 8.934 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.99e-05/0.753, allocations: 25.42 kB / 0.8397 GB, free: 8.926 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.0003833/0.7534, allocations: 274.9 kB / 0.84 GB, free: 8.711 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001571/0.7535, allocations: 96.22 kB / 0.8401 GB, free: 8.66 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002038/0.7556, allocations: 0.9799 MB / 0.8411 GB, free: 8.102 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.725e-06/0.7556, allocations: 9.781 kB / 0.8411 GB, free: 8.102 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.7556, allocations: 0 / 0.8411 GB, free: 8.102 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.546e-06/0.7556, allocations: 7.922 kB / 0.8411 GB, free: 8.094 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009745/0.7566, allocations: 0.9385 MB / 0.842 GB, free: 7.395 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.936e-06/0.7566, allocations: 0 / 0.842 GB, free: 7.395 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004847/0.7571, allocations: 126.6 kB / 0.8421 GB, free: 7.371 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004078/0.7575, allocations: 75 kB / 0.8422 GB, free: 7.332 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.915e-05/0.7576, allocations: 27.45 kB / 0.8422 GB, free: 7.312 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001741/0.7593, allocations: 1.672 MB / 0.8438 GB, free: 5.676 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.7593, allocations: 0 / 0.8438 GB, free: 5.676 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001618/0.761, allocations: 0.8435 MB / 0.8447 GB, free: 5.215 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003025/0.7613, allocations: 268 kB / 0.8449 GB, free: 4.98 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.453e-05/0.7614, allocations: 28.55 kB / 0.8449 GB, free: 4.957 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004748/0.7619, allocations: 57.5 kB / 0.845 GB, free: 4.926 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000107/0.762, allocations: 56.2 kB / 0.8451 GB, free: 4.898 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.606e-05/0.762, allocations: 32.31 kB / 0.8451 GB, free: 4.887 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0006039/0.7626, allocations: 0.5292 MB / 0.8456 GB, free: 4.586 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7627, allocations: 0 / 0.8456 GB, free: 4.586 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0007321/0.7634, allocations: 304.3 kB / 0.8459 GB, free: 4.492 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.003077/0.7665, allocations: 1.884 MB / 0.8477 GB, free: 2.918 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001364/0.7679, allocations: 0.7092 MB / 0.8484 GB, free: 2.199 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.7679, allocations: 0 / 0.8484 GB, free: 2.199 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0007787/0.7687, allocations: 488.5 kB / 0.8489 GB, free: 1.707 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001372/0.77, allocations: 459.9 kB / 0.8493 GB, free: 1.297 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01035/0.7804, allocations: 6.562 MB / 0.8557 GB, free: 10.58 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006291/0.7811, allocations: 1.074 MB / 0.8568 GB, free: 9.48 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0007818/0.7818, allocations: 271.1 kB / 0.857 GB, free: 9.211 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005388/0.7824, allocations: 455.1 kB / 0.8575 GB, free: 8.766 MB / 0.6231 GB Notification: Performance of SimCode: time 6.91e-07/0.7824, allocations: 4 kB / 0.8575 GB, free: 8.762 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05344/0.8358, allocations: 23.91 MB / 0.8808 GB, free: 1.102 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.49/13.33, allocations: 10 kB / 0.8808 GB, free: 1.094 MB / 0.6387 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)