Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 90] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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: translateModel(IBPSA.Utilities.IO.SignalExchange.Examples.WeatherStation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.IO.SignalExchange.Examples.WeatherStation") translateModel(IBPSA.Utilities.IO.SignalExchange.Examples.WeatherStation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.IO.SignalExchange.Examples.WeatherStation") [Timeout 660] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001265/0.001265, allocations: 113.9 kB / 17.33 MB, free: 5.008 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.001233/0.001233, allocations: 197.8 kB / 18.33 MB, free: 4.016 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.487/1.487, allocations: 225.6 MB / 244.8 MB, free: 13.59 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8563/0.8563, allocations: 128.4 MB / 426.1 MB, free: 7.199 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00199/0.00199, allocations: 68.17 kB / 0.5911 GB, free: 21.51 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2092/0.2112, allocations: 83.26 MB / 0.6724 GB, free: 3.918 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.IO.SignalExchange.Examples.WeatherStation): time 0.008893/0.2201, allocations: 5.644 MB / 0.678 GB, free: 14.25 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.645/0.8651, allocations: 151.4 MB / 0.8258 GB, free: 4.773 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001756/0.8668, allocations: 25.44 kB / 0.8258 GB, free: 4.762 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0009996/0.8678, allocations: 366.6 kB / 0.8261 GB, free: 4.516 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.002244/0.8701, allocations: 0.5655 MB / 0.8267 GB, free: 4.176 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.00227/0.8724, allocations: 0.9042 MB / 0.8276 GB, free: 3.816 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.002017/0.8744, allocations: 1.545 MB / 0.8291 GB, free: 3.359 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008659/0.8752, allocations: 0.5196 MB / 0.8296 GB, free: 3.062 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008042/0.876, allocations: 0.5405 MB / 0.8301 GB, free: 2.727 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007067/0.8767, allocations: 0.5711 MB / 0.8307 GB, free: 2.309 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001546/0.8769, allocations: 132 kB / 0.8308 GB, free: 2.309 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001044/0.8779, allocations: 0.4937 MB / 0.8313 GB, free: 2.125 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0003468/0.8783, allocations: 334.1 kB / 0.8316 GB, free: 1.859 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0006386/0.8789, allocations: 0.6565 MB / 0.8323 GB, free: 1.363 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.002479/0.8814, allocations: 1.926 MB / 0.8341 GB, free: 15.95 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.8814, allocations: 0 / 0.8341 GB, free: 15.95 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.382e-06/0.8814, allocations: 0 / 0.8341 GB, free: 15.95 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.779e-05/0.8814, allocations: 0 / 0.8341 GB, free: 15.95 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 252 * Number of variables: 252 Notification: Performance of Generate backend data structure: time 0.003015/0.8844, allocations: 1.723 MB / 0.8358 GB, free: 14.59 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.125e-05/0.8845, allocations: 9.938 kB / 0.8358 GB, free: 14.59 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001005/0.8855, allocations: 231.4 kB / 0.836 GB, free: 14.47 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00145/0.8869, allocations: 0.9175 MB / 0.8369 GB, free: 13.73 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.742e-05/0.887, allocations: 74.88 kB / 0.837 GB, free: 13.7 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001256/0.8871, allocations: 97.44 kB / 0.8371 GB, free: 13.67 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001788/0.8889, allocations: 1.033 MB / 0.8381 GB, free: 13.02 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.465e-05/0.889, allocations: 0 / 0.8381 GB, free: 13.02 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.357e-05/0.8891, allocations: 41.59 kB / 0.8382 GB, free: 12.98 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.157e-05/0.8891, allocations: 25.78 kB / 0.8382 GB, free: 12.98 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001821/0.8909, allocations: 1.165 MB / 0.8393 GB, free: 12.43 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004672/0.8956, allocations: 3.071 MB / 0.8423 GB, free: 9.961 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001444/0.897, allocations: 0.7496 MB / 0.843 GB, free: 9.574 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005011/0.8975, allocations: 278.7 kB / 0.8433 GB, free: 9.43 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 8.52e-05/0.8976, allocations: 41.09 kB / 0.8434 GB, free: 9.402 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008831/0.8985, allocations: 494.2 kB / 0.8438 GB, free: 9.09 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=78): time 1.944e-06/0.8985, allocations: 4 kB / 0.8438 GB, free: 9.086 MB / 0.6075 GB Notification: Performance of matching and sorting (n=78): time 0.003205/0.9017, allocations: 1.199 MB / 0.845 GB, free: 8.434 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001523/0.9018, allocations: 200.2 kB / 0.8452 GB, free: 8.203 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001218/0.9031, allocations: 0.7926 MB / 0.846 GB, free: 7.742 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 8.997e-05/0.9031, allocations: 38.33 kB / 0.846 GB, free: 7.703 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005364/0.9037, allocations: 0.5148 MB / 0.8465 GB, free: 7.246 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002846/0.904, allocations: 267.7 kB / 0.8468 GB, free: 7.012 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002655/0.9042, allocations: 159.5 kB / 0.8469 GB, free: 6.918 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0002057/0.9044, allocations: 337.9 kB / 0.8472 GB, free: 6.59 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005587/0.905, allocations: 273.8 kB / 0.8475 GB, free: 6.453 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006296/0.9056, allocations: 353.7 kB / 0.8478 GB, free: 6.246 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001108/0.9067, allocations: 0.6103 MB / 0.8484 GB, free: 5.918 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.217e-06/0.9067, allocations: 2.156 kB / 0.8484 GB, free: 5.918 MB / 0.6075 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.002149/0.9089, allocations: 0.8681 MB / 0.8493 GB, free: 5.469 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.353e-05/0.9089, allocations: 4.875 kB / 0.8493 GB, free: 5.469 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.656e-06/0.9089, allocations: 0 / 0.8493 GB, free: 5.469 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006004/0.9095, allocations: 86.89 kB / 0.8494 GB, free: 5.426 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000599/0.9101, allocations: 150 kB / 0.8495 GB, free: 5.391 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002586/0.9127, allocations: 1.657 MB / 0.8511 GB, free: 3.77 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008636/0.9136, allocations: 92.19 kB / 0.8512 GB, free: 3.711 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.276e-05/0.9136, allocations: 36.5 kB / 0.8512 GB, free: 3.695 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: 17 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (92): * Single equations (assignments): 91 * 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.0006919/0.9143, allocations: 297.5 kB / 0.8515 GB, free: 3.469 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002071/0.9145, allocations: 103.7 kB / 0.8516 GB, free: 3.414 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002505/0.917, allocations: 1.071 MB / 0.8527 GB, free: 2.801 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.103e-05/0.9171, allocations: 8 kB / 0.8527 GB, free: 2.793 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.09e-06/0.9171, allocations: 4 kB / 0.8527 GB, free: 2.789 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.231e-05/0.9171, allocations: 7.922 kB / 0.8527 GB, free: 2.781 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001465/0.9185, allocations: 1.009 MB / 0.8537 GB, free: 1.723 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.9185, allocations: 4 kB / 0.8537 GB, free: 1.719 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005656/0.9191, allocations: 139.8 kB / 0.8538 GB, free: 1.582 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004408/0.9195, allocations: 68.78 kB / 0.8539 GB, free: 1.512 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.816e-05/0.9196, allocations: 39.91 kB / 0.8539 GB, free: 1.473 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002357/0.922, allocations: 1.666 MB / 0.8555 GB, free: 15.66 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.459e-06/0.922, allocations: 3.984 kB / 0.8556 GB, free: 15.65 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002133/0.9241, allocations: 0.9478 MB / 0.8565 GB, free: 14.69 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004752/0.9246, allocations: 296 kB / 0.8568 GB, free: 14.38 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001264/0.9247, allocations: 19.94 kB / 0.8568 GB, free: 14.36 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005849/0.9253, allocations: 62.91 kB / 0.8568 GB, free: 14.3 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00018/0.9255, allocations: 72.89 kB / 0.8569 GB, free: 14.23 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.46e-05/0.9256, allocations: 31.98 kB / 0.8569 GB, free: 14.2 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0008539/0.9264, allocations: 0.562 MB / 0.8575 GB, free: 13.62 MB / 0.6231 GB Notification: Performance of sort global known variables: time 9e-08/0.9264, allocations: 4 kB / 0.8575 GB, free: 13.62 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001147/0.9276, allocations: 351 kB / 0.8578 GB, free: 13.28 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (89): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.00207/0.9296, allocations: 0.5916 MB / 0.8584 GB, free: 12.86 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001907/0.9315, allocations: 0.7962 MB / 0.8592 GB, free: 12.05 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 4.569e-06/0.9315, allocations: 0 / 0.8592 GB, free: 12.05 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0009856/0.9325, allocations: 0.4885 MB / 0.8597 GB, free: 11.55 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001787/0.9343, allocations: 466.5 kB / 0.8601 GB, free: 11.12 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003924/0.9382, allocations: 1.964 MB / 0.862 GB, free: 9.129 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007616/0.939, allocations: 1.094 MB / 0.8631 GB, free: 8.012 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0009834/0.94, allocations: 291.7 kB / 0.8634 GB, free: 7.723 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002792/0.9403, allocations: 111.4 kB / 0.8635 GB, free: 7.617 MB / 0.6231 GB Notification: Performance of SimCode: time 2.114e-06/0.9403, allocations: 0 / 0.8635 GB, free: 7.617 MB / 0.6231 GB Notification: Performance of Templates: time 0.03424/0.9745, allocations: 17.74 MB / 0.8808 GB, free: 6.027 MB / 0.6387 GB make -j1 -f IBPSA_latest_IBPSA.Utilities.IO.SignalExchange.Examples.WeatherStation.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.IO.SignalExchange.Examples.WeatherStation.sim & ./IBPSA_latest_IBPSA.Utilities.IO.SignalExchange.Examples.WeatherStation -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe 2>&1) [Timeout 480]