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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) Running command: translateModel(IDEAS.Utilities.IO.SignalExchange.Examples.WeatherStation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.IO.SignalExchange.Examples.WeatherStation") translateModel(IDEAS.Utilities.IO.SignalExchange.Examples.WeatherStation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.IO.SignalExchange.Examples.WeatherStation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001159/0.00116, allocations: 182.9 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7045/0.7045, allocations: 133.4 MB / 150.1 MB, free: 11.14 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.41/1.41, allocations: 222.9 MB / 404.7 MB, free: 6.082 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009763/0.0009763, allocations: 103.4 kB / 485.9 MB, free: 7.184 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001462/0.001462, allocations: 59.91 kB / 0.5636 GB, free: 69.93 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1754/0.1769, allocations: 80.41 MB / 0.6421 GB, free: 5.449 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.SignalExchange.Examples.WeatherStation): time 0.01007/0.187, allocations: 4.877 MB / 0.6469 GB, free: 0.5469 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.4699/0.657, allocations: 148.4 MB / 0.7918 GB, free: 7.824 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000939/0.658, allocations: 27.81 kB / 0.7919 GB, free: 7.797 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.0007451/0.6588, allocations: 276.9 kB / 0.7921 GB, free: 7.527 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.001284/0.6601, allocations: 413.6 kB / 0.7925 GB, free: 7.137 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.001919/0.662, allocations: 0.7103 MB / 0.7932 GB, free: 6.457 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.001347/0.6633, allocations: 1.267 MB / 0.7944 GB, free: 5.184 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001003/0.6643, allocations: 0.7898 MB / 0.7952 GB, free: 4.363 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004977/0.6649, allocations: 418.1 kB / 0.7956 GB, free: 3.953 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004652/0.6653, allocations: 485.4 kB / 0.7961 GB, free: 3.477 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 0.0001258/0.6655, allocations: 60 kB / 0.7961 GB, free: 3.418 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007724/0.6662, allocations: 404.6 kB / 0.7965 GB, free: 3.027 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.0002355/0.6665, allocations: 246.9 kB / 0.7968 GB, free: 2.785 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.0004169/0.6669, allocations: 0.5435 MB / 0.7973 GB, free: 2.238 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.001451/0.6684, allocations: 1.655 MB / 0.7989 GB, free: 0.5781 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 5.139e-06/0.6684, allocations: 0 / 0.7989 GB, free: 0.5781 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.533e-06/0.6684, allocations: 0 / 0.7989 GB, free: 0.5781 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.297e-05/0.6684, allocations: 0 / 0.7989 GB, free: 0.5781 MB / 0.5261 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.002292/0.6707, allocations: 1.575 MB / 0.8004 GB, free: 14.95 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 3.249e-05/0.6708, allocations: 8.031 kB / 0.8004 GB, free: 14.95 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008371/0.6716, allocations: 207.1 kB / 0.8006 GB, free: 14.74 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001146/0.6728, allocations: 0.8599 MB / 0.8015 GB, free: 13.84 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.526e-05/0.6728, allocations: 70 kB / 0.8016 GB, free: 13.77 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001062/0.6729, allocations: 92 kB / 0.8016 GB, free: 13.68 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001433/0.6744, allocations: 0.9653 MB / 0.8026 GB, free: 12.68 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.72e-05/0.6744, allocations: 0 / 0.8026 GB, free: 12.68 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.645e-05/0.6745, allocations: 44 kB / 0.8026 GB, free: 12.63 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.636e-05/0.6745, allocations: 20 kB / 0.8026 GB, free: 12.61 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001656/0.6762, allocations: 1.117 MB / 0.8037 GB, free: 11.49 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003654/0.6798, allocations: 2.699 MB / 0.8064 GB, free: 8.723 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001187/0.681, allocations: 0.7028 MB / 0.8071 GB, free: 8.012 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004595/0.6815, allocations: 272.7 kB / 0.8073 GB, free: 7.742 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 6.265e-05/0.6816, allocations: 28.59 kB / 0.8073 GB, free: 7.715 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007303/0.6823, allocations: 417.8 kB / 0.8077 GB, free: 7.289 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=69): time 1.843e-06/0.6823, allocations: 0 / 0.8077 GB, free: 7.289 MB / 0.5417 GB Notification: Performance of matching and sorting (n=69): time 0.00269/0.685, allocations: 1.081 MB / 0.8088 GB, free: 6.18 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001066/0.6851, allocations: 197.3 kB / 0.809 GB, free: 5.945 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000867/0.686, allocations: 0.7476 MB / 0.8097 GB, free: 5.191 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 5.025e-05/0.6861, allocations: 41.7 kB / 0.8098 GB, free: 5.145 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003351/0.6864, allocations: 495.8 kB / 0.8102 GB, free: 4.652 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001613/0.6866, allocations: 232.7 kB / 0.8105 GB, free: 4.422 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002127/0.6868, allocations: 150.2 kB / 0.8106 GB, free: 4.27 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001039/0.6869, allocations: 333.9 kB / 0.8109 GB, free: 3.938 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004469/0.6874, allocations: 229.2 kB / 0.8111 GB, free: 3.715 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005344/0.6879, allocations: 323.3 kB / 0.8114 GB, free: 3.387 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009364/0.6889, allocations: 0.5426 MB / 0.812 GB, free: 2.832 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.048e-06/0.6889, allocations: 0 / 0.812 GB, free: 2.832 MB / 0.5417 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001715/0.6906, allocations: 0.778 MB / 0.8127 GB, free: 2.043 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.565e-05/0.6906, allocations: 4 kB / 0.8127 GB, free: 2.039 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.6906, allocations: 0 / 0.8127 GB, free: 2.039 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005812/0.6912, allocations: 84.86 kB / 0.8128 GB, free: 1.953 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005472/0.6918, allocations: 143.8 kB / 0.813 GB, free: 1.812 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00188/0.6937, allocations: 1.532 MB / 0.8144 GB, free: 144 kB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005303/0.6942, allocations: 79.42 kB / 0.8145 GB, free: 64 kB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.852e-05/0.6943, allocations: 32.05 kB / 0.8146 GB, free: 32 kB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 8 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,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 (80): * Single equations (assignments): 79 * 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.0003467/0.6946, allocations: 278.9 kB / 0.8148 GB, free: 15.75 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001408/0.6948, allocations: 94.86 kB / 0.8149 GB, free: 15.66 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002112/0.6969, allocations: 0.9841 MB / 0.8159 GB, free: 14.66 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.456e-06/0.6969, allocations: 8 kB / 0.8159 GB, free: 14.66 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.054e-06/0.6969, allocations: 0 / 0.8159 GB, free: 14.66 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.945e-06/0.6969, allocations: 3.984 kB / 0.8159 GB, free: 14.65 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009435/0.6979, allocations: 0.9385 MB / 0.8168 GB, free: 13.66 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.368e-06/0.6979, allocations: 3.938 kB / 0.8168 GB, free: 13.66 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005153/0.6984, allocations: 139.8 kB / 0.8169 GB, free: 13.52 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000505/0.6989, allocations: 76.78 kB / 0.817 GB, free: 13.45 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.259e-05/0.699, allocations: 23.98 kB / 0.817 GB, free: 13.42 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001706/0.7007, allocations: 1.551 MB / 0.8185 GB, free: 11.73 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.7007, allocations: 0 / 0.8185 GB, free: 11.73 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002552/0.7033, allocations: 1.894 MB / 0.8204 GB, free: 9.777 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003209/0.7036, allocations: 263.7 kB / 0.8206 GB, free: 9.5 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.239e-05/0.7037, allocations: 24 kB / 0.8207 GB, free: 9.477 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004913/0.7042, allocations: 52.08 kB / 0.8207 GB, free: 9.426 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001094/0.7043, allocations: 64.89 kB / 0.8208 GB, free: 9.363 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.406e-05/0.7044, allocations: 27.98 kB / 0.8208 GB, free: 9.336 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0006179/0.705, allocations: 0.5264 MB / 0.8213 GB, free: 8.812 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.4e-07/0.705, allocations: 4 kB / 0.8213 GB, free: 8.809 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0008786/0.7059, allocations: 311.1 kB / 0.8216 GB, free: 8.504 MB / 0.5573 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.00126/0.7072, allocations: 0.5948 MB / 0.8222 GB, free: 8.086 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.001399/0.7086, allocations: 0.7439 MB / 0.8229 GB, free: 7.332 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 3.025e-06/0.7086, allocations: 0 / 0.8229 GB, free: 7.332 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0008144/0.7094, allocations: 484.3 kB / 0.8234 GB, free: 6.844 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001464/0.7109, allocations: 413.6 kB / 0.8238 GB, free: 6.449 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004162/0.7151, allocations: 2.813 MB / 0.8265 GB, free: 3.594 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005781/0.7157, allocations: 1.094 MB / 0.8276 GB, free: 2.477 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0007628/0.7164, allocations: 279 kB / 0.8279 GB, free: 2.199 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002255/0.7167, allocations: 99.39 kB / 0.828 GB, free: 2.102 MB / 0.5573 GB Notification: Performance of SimCode: time 3.61e-07/0.7167, allocations: 0 / 0.828 GB, free: 2.102 MB / 0.5573 GB Notification: Performance of Templates: time 0.02288/0.7396, allocations: 15.65 MB / 0.8432 GB, free: 2.566 MB / 0.573 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.IO.SignalExchange.Examples.WeatherStation.makefile (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 & ./IDEAS_dev_IDEAS.Utilities.IO.SignalExchange.Examples.WeatherStation -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe 2>&1)