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/Complex 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) 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/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_IDEAS.Utilities.IO.SignalExchange.Examples.WeatherStation") translateModel(IDEAS.Utilities.IO.SignalExchange.Examples.WeatherStation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.001681/0.001681, allocations: 183.4 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/package.mo): time 0.7889/0.7889, allocations: 132.2 MB / 148.9 MB, free: 12.16 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.37/1.37, allocations: 222.9 MB / 403.4 MB, free: 7.059 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.001002/0.001002, allocations: 103.7 kB / 484.3 MB, free: 8.695 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009973/0.0009974, allocations: 55.92 kB / 0.5618 GB, free: 71.05 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1676/0.1686, allocations: 80.2 MB / 0.6402 GB, free: 6.777 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.SignalExchange.Examples.WeatherStation): time 0.0087/0.1773, allocations: 4.874 MB / 0.6449 GB, free: 1.875 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.51/0.6874, allocations: 148.4 MB / 0.7899 GB, free: 9.773 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001305/0.6887, allocations: 27.81 kB / 0.7899 GB, free: 9.746 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.0007642/0.6895, allocations: 285.1 kB / 0.7902 GB, free: 9.469 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.001935/0.6915, allocations: 407.2 kB / 0.7905 GB, free: 9.086 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.002345/0.6939, allocations: 0.7185 MB / 0.7912 GB, free: 8.395 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.001777/0.6956, allocations: 1.271 MB / 0.7925 GB, free: 7.117 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001096/0.6968, allocations: 0.7816 MB / 0.7932 GB, free: 6.305 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006607/0.6974, allocations: 430.1 kB / 0.7937 GB, free: 5.883 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005496/0.698, allocations: 485.4 kB / 0.7941 GB, free: 5.406 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 0.0001287/0.6981, allocations: 60 kB / 0.7942 GB, free: 5.348 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008569/0.699, allocations: 404.4 kB / 0.7946 GB, free: 4.957 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.000221/0.6992, allocations: 242.9 kB / 0.7948 GB, free: 4.719 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.0004296/0.6997, allocations: 0.5396 MB / 0.7953 GB, free: 4.176 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.001594/0.7013, allocations: 1.659 MB / 0.7969 GB, free: 2.512 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.7013, allocations: 0 / 0.7969 GB, free: 2.512 MB / 0.5261 GB Notification: Performance of FrontEnd: time 9.01e-07/0.7013, allocations: 4 kB / 0.7969 GB, free: 2.508 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.468e-05/0.7013, allocations: 0 / 0.7969 GB, free: 2.508 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.002501/0.7038, allocations: 1.576 MB / 0.7985 GB, free: 0.8789 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.801e-05/0.7039, allocations: 8.031 kB / 0.7985 GB, free: 0.8711 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000916/0.7048, allocations: 207.1 kB / 0.7987 GB, free: 0.668 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001268/0.7061, allocations: 0.8522 MB / 0.7995 GB, free: 15.77 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.566e-05/0.7061, allocations: 70 kB / 0.7996 GB, free: 15.7 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001086/0.7062, allocations: 91.75 kB / 0.7997 GB, free: 15.61 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001587/0.7078, allocations: 0.9731 MB / 0.8006 GB, free: 14.6 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.104e-05/0.7079, allocations: 0 / 0.8006 GB, free: 14.6 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.17e-05/0.708, allocations: 40 kB / 0.8007 GB, free: 14.56 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.902e-05/0.708, allocations: 20 kB / 0.8007 GB, free: 14.54 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001797/0.7098, allocations: 1.116 MB / 0.8018 GB, free: 13.42 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004282/0.7141, allocations: 2.709 MB / 0.8044 GB, free: 10.65 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00126/0.7154, allocations: 0.6955 MB / 0.8051 GB, free: 9.949 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004723/0.7159, allocations: 270.4 kB / 0.8054 GB, free: 9.684 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 7.987e-05/0.7159, allocations: 36.58 kB / 0.8054 GB, free: 9.648 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007439/0.7167, allocations: 413.8 kB / 0.8058 GB, free: 9.223 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=69): time 2.965e-06/0.7167, allocations: 0 / 0.8058 GB, free: 9.223 MB / 0.5417 GB Notification: Performance of matching and sorting (n=69): time 0.002875/0.7196, allocations: 1.081 MB / 0.8068 GB, free: 8.113 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.078e-05/0.7197, allocations: 188.5 kB / 0.807 GB, free: 7.887 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009194/0.7206, allocations: 0.7515 MB / 0.8078 GB, free: 7.129 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 5.238e-05/0.7207, allocations: 41.7 kB / 0.8078 GB, free: 7.082 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003667/0.7211, allocations: 495.8 kB / 0.8083 GB, free: 6.59 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002011/0.7213, allocations: 228.7 kB / 0.8085 GB, free: 6.363 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002227/0.7215, allocations: 150.2 kB / 0.8086 GB, free: 6.211 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001101/0.7216, allocations: 329.9 kB / 0.8089 GB, free: 5.883 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004624/0.7221, allocations: 233.2 kB / 0.8092 GB, free: 5.656 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005551/0.7226, allocations: 319.3 kB / 0.8095 GB, free: 5.332 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009848/0.7236, allocations: 0.5429 MB / 0.81 GB, free: 4.773 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.7237, allocations: 0 / 0.81 GB, free: 4.773 MB / 0.5417 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001792/0.7255, allocations: 0.778 MB / 0.8108 GB, free: 3.984 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 2.164e-05/0.7255, allocations: 4.938 kB / 0.8108 GB, free: 3.98 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.283e-06/0.7255, allocations: 4.094 kB / 0.8108 GB, free: 3.977 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006011/0.7261, allocations: 80.77 kB / 0.8108 GB, free: 3.895 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005718/0.7267, allocations: 147.8 kB / 0.811 GB, free: 3.75 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002008/0.7287, allocations: 1.531 MB / 0.8125 GB, free: 2.086 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006367/0.7294, allocations: 83.42 kB / 0.8126 GB, free: 2.004 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.338e-05/0.7294, allocations: 35.97 kB / 0.8126 GB, free: 1.969 MB / 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.0004293/0.7299, allocations: 282.2 kB / 0.8129 GB, free: 1.688 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001482/0.73, allocations: 94.78 kB / 0.813 GB, free: 1.594 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002178/0.7322, allocations: 0.977 MB / 0.8139 GB, free: 0.6094 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.087e-05/0.7322, allocations: 8 kB / 0.8139 GB, free: 0.6016 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.335e-06/0.7322, allocations: 3.938 kB / 0.8139 GB, free: 0.5977 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.027e-05/0.7323, allocations: 7.734 kB / 0.8139 GB, free: 0.5938 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00103/0.7333, allocations: 0.9308 MB / 0.8148 GB, free: 15.61 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.558e-06/0.7333, allocations: 3.938 kB / 0.8148 GB, free: 15.61 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005173/0.7338, allocations: 135.9 kB / 0.815 GB, free: 15.48 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005219/0.7344, allocations: 84.72 kB / 0.8151 GB, free: 15.39 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.131e-05/0.7344, allocations: 19.98 kB / 0.8151 GB, free: 15.37 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001777/0.7362, allocations: 1.551 MB / 0.8166 GB, free: 13.68 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.7362, allocations: 0 / 0.8166 GB, free: 13.68 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002739/0.739, allocations: 1.89 MB / 0.8184 GB, free: 11.73 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003722/0.7394, allocations: 267.7 kB / 0.8187 GB, free: 11.45 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.836e-05/0.7395, allocations: 16 kB / 0.8187 GB, free: 11.43 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005094/0.74, allocations: 56.14 kB / 0.8188 GB, free: 11.38 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001317/0.7401, allocations: 60.84 kB / 0.8188 GB, free: 11.32 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.571e-05/0.7402, allocations: 39.92 kB / 0.8189 GB, free: 11.28 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0006779/0.7409, allocations: 0.5263 MB / 0.8194 GB, free: 10.75 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7409, allocations: 4 kB / 0.8194 GB, free: 10.75 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0008939/0.7418, allocations: 311.1 kB / 0.8197 GB, free: 10.45 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.001263/0.7431, allocations: 0.595 MB / 0.8202 GB, free: 10.03 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.001441/0.7445, allocations: 0.7399 MB / 0.821 GB, free: 9.273 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.836e-06/0.7445, allocations: 0 / 0.821 GB, free: 9.273 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.00086/0.7454, allocations: 484.5 kB / 0.8214 GB, free: 8.785 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001607/0.747, allocations: 400.4 kB / 0.8218 GB, free: 8.402 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005004/0.752, allocations: 2.821 MB / 0.8246 GB, free: 5.543 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00082/0.7529, allocations: 1.09 MB / 0.8256 GB, free: 4.43 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.001116/0.754, allocations: 271.1 kB / 0.8259 GB, free: 4.16 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002912/0.7543, allocations: 99.39 kB / 0.826 GB, free: 4.062 MB / 0.5573 GB Notification: Performance of SimCode: time 1.483e-06/0.7543, allocations: 8 kB / 0.826 GB, free: 4.055 MB / 0.5573 GB Notification: Performance of Templates: time 0.02765/0.782, allocations: 15.65 MB / 0.8413 GB, free: 4.52 MB / 0.573 GB make -j1 -f IDEAS_IDEAS.Utilities.IO.SignalExchange.Examples.WeatherStation.makefile (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 & ./IDEAS_IDEAS.Utilities.IO.SignalExchange.Examples.WeatherStation -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe 2>&1)