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/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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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: 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005971/0.005971, allocations: 101.1 kB / 15.73 MB, free: 6.039 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.001214/0.001214, allocations: 190.4 kB / 16.67 MB, free: 5.977 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.414/1.414, allocations: 222.9 MB / 240.4 MB, free: 4.164 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7643/0.7643, allocations: 132.2 MB / 422.7 MB, free: 1.598 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00129/0.00129, allocations: 66.11 kB / 0.5813 GB, free: 0.8594 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1522/0.1535, allocations: 80.21 MB / 0.6597 GB, free: 13.51 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.SignalExchange.Examples.WeatherStation): time 0.007032/0.1606, allocations: 4.869 MB / 0.6644 GB, free: 8.613 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.1611/0.3217, allocations: 150.8 MB / 0.8116 GB, free: 1.258 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001185/0.3229, allocations: 23.88 kB / 0.8117 GB, free: 1.234 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.0008491/0.3238, allocations: 333.6 kB / 0.812 GB, free: 0.9062 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.001643/0.3255, allocations: 0.5007 MB / 0.8125 GB, free: 416 kB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.3645/0.69, allocations: 0.8121 MB / 0.8133 GB, free: 4.02 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.002281/0.6923, allocations: 1.353 MB / 0.8146 GB, free: 4.016 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001254/0.6936, allocations: 0.8076 MB / 0.8154 GB, free: 3.863 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009281/0.6945, allocations: 495.2 kB / 0.8158 GB, free: 3.863 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007343/0.6953, allocations: 0.504 MB / 0.8163 GB, free: 3.863 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0002159/0.6955, allocations: 118.3 kB / 0.8164 GB, free: 3.863 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001155/0.6967, allocations: 487.9 kB / 0.8169 GB, free: 3.863 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0003232/0.697, allocations: 307.7 kB / 0.8172 GB, free: 3.863 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0007116/0.6977, allocations: 0.5921 MB / 0.8178 GB, free: 3.863 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.002899/0.7006, allocations: 1.76 MB / 0.8195 GB, free: 3.801 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 6.382e-06/0.7006, allocations: 0.5 kB / 0.8195 GB, free: 3.801 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.262e-06/0.7007, allocations: 3.656 kB / 0.8195 GB, free: 3.801 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 4.784e-05/0.7007, allocations: 0 / 0.8195 GB, free: 3.801 MB / 0.6387 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.003592/0.7043, allocations: 1.568 MB / 0.821 GB, free: 2.98 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.801e-05/0.7044, allocations: 10.38 kB / 0.821 GB, free: 2.98 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009914/0.7054, allocations: 205.2 kB / 0.8212 GB, free: 2.91 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001338/0.7067, allocations: 0.8716 MB / 0.8221 GB, free: 2.578 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.457e-05/0.7068, allocations: 75.48 kB / 0.8222 GB, free: 2.57 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001201/0.7069, allocations: 89.75 kB / 0.8222 GB, free: 2.57 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001609/0.7085, allocations: 0.9728 MB / 0.8232 GB, free: 2.426 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.365e-05/0.7086, allocations: 2.875 kB / 0.8232 GB, free: 2.426 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.12e-05/0.7087, allocations: 36.81 kB / 0.8232 GB, free: 2.426 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.252e-05/0.7087, allocations: 23.59 kB / 0.8233 GB, free: 2.426 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001833/0.7105, allocations: 1.117 MB / 0.8244 GB, free: 2.414 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003848/0.7144, allocations: 2.664 MB / 0.827 GB, free: 1.629 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001181/0.7156, allocations: 0.7008 MB / 0.8276 GB, free: 1.598 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004445/0.716, allocations: 271.5 kB / 0.8279 GB, free: 1.59 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 8.438e-05/0.7161, allocations: 28.77 kB / 0.8279 GB, free: 1.586 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007187/0.7169, allocations: 420.2 kB / 0.8283 GB, free: 1.516 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=69): time 2.344e-06/0.7169, allocations: 0.9688 kB / 0.8283 GB, free: 1.516 MB / 0.6387 GB Notification: Performance of matching and sorting (n=69): time 0.00275/0.7196, allocations: 1.074 MB / 0.8294 GB, free: 1.316 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.475e-05/0.7197, allocations: 192.6 kB / 0.8296 GB, free: 1.098 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000895/0.7206, allocations: 0.7536 MB / 0.8303 GB, free: 0.9688 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 5.644e-05/0.7207, allocations: 40.8 kB / 0.8303 GB, free: 0.9375 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003086/0.721, allocations: 492.8 kB / 0.8308 GB, free: 0.7344 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001521/0.7212, allocations: 234.4 kB / 0.831 GB, free: 0.582 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002199/0.7214, allocations: 150.6 kB / 0.8312 GB, free: 0.5625 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 5.326e-05/0.7214, allocations: 333.4 kB / 0.8315 GB, free: 264 kB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004354/0.7219, allocations: 232.8 kB / 0.8317 GB, free: 264 kB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005035/0.7224, allocations: 318.2 kB / 0.832 GB, free: 220 kB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008935/0.7233, allocations: 0.5408 MB / 0.8325 GB, free: 176 kB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.577e-06/0.7233, allocations: 0 / 0.8325 GB, free: 176 kB / 0.6387 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001689/0.725, allocations: 0.7802 MB / 0.8333 GB, free: 68 kB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.294e-05/0.725, allocations: 5.562 kB / 0.8333 GB, free: 68 kB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.834e-06/0.7251, allocations: 1.875 kB / 0.8333 GB, free: 68 kB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005878/0.7257, allocations: 82.97 kB / 0.8334 GB, free: 60 kB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005605/0.7262, allocations: 139 kB / 0.8335 GB, free: 60 kB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002236/0.7285, allocations: 1.64 MB / 0.8351 GB, free: 14.68 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007392/0.7292, allocations: 82.17 kB / 0.8352 GB, free: 14.65 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.848e-05/0.7293, allocations: 34.89 kB / 0.8352 GB, free: 14.65 MB / 0.6544 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.0005619/0.7299, allocations: 282.5 kB / 0.8355 GB, free: 14.54 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001686/0.7301, allocations: 97.31 kB / 0.8356 GB, free: 14.48 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001959/0.732, allocations: 0.9711 MB / 0.8365 GB, free: 14.38 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.444e-06/0.732, allocations: 8.219 kB / 0.8366 GB, free: 14.38 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.665e-06/0.732, allocations: 0.8438 kB / 0.8366 GB, free: 14.38 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.929e-06/0.7321, allocations: 6.016 kB / 0.8366 GB, free: 14.38 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001258/0.7333, allocations: 0.9333 MB / 0.8375 GB, free: 14.16 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.128e-06/0.7333, allocations: 0 / 0.8375 GB, free: 14.16 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005383/0.7339, allocations: 138.7 kB / 0.8376 GB, free: 14.16 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004298/0.7343, allocations: 71.09 kB / 0.8377 GB, free: 14.16 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.277e-05/0.7344, allocations: 20.69 kB / 0.8377 GB, free: 14.16 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001922/0.7363, allocations: 1.673 MB / 0.8393 GB, free: 12.77 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/0.7363, allocations: 0 / 0.8393 GB, free: 12.77 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001738/0.7381, allocations: 0.8455 MB / 0.8402 GB, free: 12.62 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003798/0.7385, allocations: 269.1 kB / 0.8404 GB, free: 12.46 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00011/0.7386, allocations: 18.31 kB / 0.8404 GB, free: 12.46 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005036/0.7391, allocations: 55.09 kB / 0.8405 GB, free: 12.46 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001463/0.7393, allocations: 59.27 kB / 0.8405 GB, free: 12.46 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.882e-05/0.7393, allocations: 24.28 kB / 0.8406 GB, free: 12.46 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0007148/0.7401, allocations: 0.5273 MB / 0.8411 GB, free: 12.37 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.6e-07/0.7401, allocations: 2.75 kB / 0.8411 GB, free: 12.37 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001011/0.7411, allocations: 312.5 kB / 0.8414 GB, free: 12.3 MB / 0.6544 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.00134/0.7424, allocations: 0.5997 MB / 0.842 GB, free: 12.14 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001375/0.7438, allocations: 0.7414 MB / 0.8427 GB, free: 12.01 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.7438, allocations: 1.062 kB / 0.8427 GB, free: 12.01 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0007492/0.7446, allocations: 486.2 kB / 0.8431 GB, free: 11.89 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00143/0.746, allocations: 460.7 kB / 0.8436 GB, free: 11.86 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003681/0.7497, allocations: 1.908 MB / 0.8455 GB, free: 11.14 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005791/0.7503, allocations: 1.076 MB / 0.8465 GB, free: 10.43 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0009496/0.7513, allocations: 274.1 kB / 0.8468 GB, free: 10.39 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002534/0.7515, allocations: 103.7 kB / 0.8469 GB, free: 10.38 MB / 0.6544 GB Notification: Performance of SimCode: time 5.41e-07/0.7515, allocations: 1.094 kB / 0.8469 GB, free: 10.38 MB / 0.6544 GB Notification: Performance of Templates: time 0.02809/0.7796, allocations: 16 MB / 0.8625 GB, free: 8.301 MB / 0.6544 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)