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.0008057/0.0008057, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.0008683/0.0008682, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.158/1.158, allocations: 223.3 MB / 240 MB, free: 5.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6545/0.6545, allocations: 132.3 MB / 423.4 MB, free: 2.07 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002644/0.0002644, allocations: 8 kB / 0.5034 GB, free: 4.227 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3395/0.3397, allocations: 81.58 MB / 0.5831 GB, free: 3.961 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.SignalExchange.Examples.WeatherStation): time 0.003997/0.3438, allocations: 4.196 MB / 0.5872 GB, free: 0.9648 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.1314/0.4752, allocations: 136.9 MB / 0.7209 GB, free: 3.062 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006965/0.4759, allocations: 23.81 kB / 0.7209 GB, free: 3.039 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0005878/0.4765, allocations: 258.2 kB / 0.7212 GB, free: 2.785 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001061/0.4776, allocations: 397 kB / 0.7215 GB, free: 2.398 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001309/0.4789, allocations: 0.6216 MB / 0.7222 GB, free: 1.789 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0009392/0.4799, allocations: 1.145 MB / 0.7233 GB, free: 0.6367 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006806/0.4806, allocations: 0.5862 MB / 0.7238 GB, free: 36 kB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003479/0.4809, allocations: 318.5 kB / 0.7241 GB, free: 15.72 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003507/0.4813, allocations: 369.8 kB / 0.7245 GB, free: 15.36 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 6.28e-05/0.4814, allocations: 24 kB / 0.7245 GB, free: 15.33 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004979/0.4819, allocations: 335.6 kB / 0.7248 GB, free: 15 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.000169/0.482, allocations: 179.1 kB / 0.725 GB, free: 14.83 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001458/0.4822, allocations: 217 kB / 0.7252 GB, free: 14.61 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0009836/0.4832, allocations: 1.274 MB / 0.7265 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.4832, allocations: 0 / 0.7265 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.102e-06/0.4832, allocations: 0 / 0.7265 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 9.418e-06/0.4832, allocations: 0 / 0.7265 GB, free: 13.34 MB / 0.5606 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.001672/0.4849, allocations: 1.342 MB / 0.7278 GB, free: 11.94 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 2.75e-05/0.4849, allocations: 12.03 kB / 0.7278 GB, free: 11.93 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007279/0.4857, allocations: 218.2 kB / 0.728 GB, free: 11.71 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009486/0.4866, allocations: 0.8088 MB / 0.7288 GB, free: 10.86 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.809e-05/0.4867, allocations: 70 kB / 0.7289 GB, free: 10.8 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001026/0.4868, allocations: 99.92 kB / 0.7289 GB, free: 10.7 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00136/0.4882, allocations: 0.9613 MB / 0.7299 GB, free: 9.695 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.617e-05/0.4882, allocations: 0 / 0.7299 GB, free: 9.695 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.687e-05/0.4883, allocations: 43.95 kB / 0.7299 GB, free: 9.652 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.697e-05/0.4883, allocations: 24 kB / 0.73 GB, free: 9.629 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001526/0.4898, allocations: 1.12 MB / 0.731 GB, free: 8.508 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003289/0.4931, allocations: 2.727 MB / 0.7337 GB, free: 5.711 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001046/0.4942, allocations: 0.7021 MB / 0.7344 GB, free: 5.004 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004026/0.4946, allocations: 270.4 kB / 0.7347 GB, free: 4.738 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 6.449e-05/0.4947, allocations: 36.58 kB / 0.7347 GB, free: 4.699 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006104/0.4953, allocations: 414.8 kB / 0.7351 GB, free: 4.281 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=69): time 1.593e-06/0.4953, allocations: 0 / 0.7351 GB, free: 4.281 MB / 0.5606 GB Notification: Performance of matching and sorting (n=69): time 0.002304/0.4976, allocations: 1.085 MB / 0.7361 GB, free: 3.168 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.839e-05/0.4977, allocations: 188.5 kB / 0.7363 GB, free: 2.941 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000764/0.4985, allocations: 0.7514 MB / 0.7371 GB, free: 2.184 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.512e-05/0.4985, allocations: 37.7 kB / 0.7371 GB, free: 2.141 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003108/0.4988, allocations: 495.9 kB / 0.7376 GB, free: 1.648 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001529/0.499, allocations: 232.6 kB / 0.7378 GB, free: 1.418 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.79e-05/0.499, allocations: 12 kB / 0.7378 GB, free: 1.406 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 9.557e-05/0.4991, allocations: 334 kB / 0.7381 GB, free: 1.074 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003973/0.4995, allocations: 229.2 kB / 0.7383 GB, free: 0.8516 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004589/0.5, allocations: 323.3 kB / 0.7386 GB, free: 0.5234 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004464/0.5004, allocations: 283.1 kB / 0.7389 GB, free: 256 kB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.255e-06/0.5005, allocations: 0 / 0.7389 GB, free: 256 kB / 0.5606 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001459/0.5019, allocations: 0.7743 MB / 0.7397 GB, free: 15.46 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.487e-05/0.5019, allocations: 8 kB / 0.7397 GB, free: 15.45 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.165e-06/0.502, allocations: 4 kB / 0.7397 GB, free: 15.45 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004813/0.5024, allocations: 88.8 kB / 0.7398 GB, free: 15.36 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005154/0.503, allocations: 143.8 kB / 0.7399 GB, free: 15.22 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001705/0.5047, allocations: 1.532 MB / 0.7414 GB, free: 13.55 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004845/0.5052, allocations: 87.48 kB / 0.7415 GB, free: 13.46 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.691e-05/0.5053, allocations: 35.97 kB / 0.7415 GB, free: 13.43 MB / 0.5762 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 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.canRepeatWeatherFile) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.000332/0.5056, allocations: 279.1 kB / 0.7418 GB, free: 13.14 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001026/0.5057, allocations: 94.88 kB / 0.7419 GB, free: 13.05 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001856/0.5076, allocations: 0.9879 MB / 0.7428 GB, free: 12.05 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.853e-06/0.5076, allocations: 8 kB / 0.7428 GB, free: 12.04 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.924e-06/0.5076, allocations: 4 kB / 0.7429 GB, free: 12.04 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.336e-06/0.5076, allocations: 3.984 kB / 0.7429 GB, free: 12.04 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000873/0.5085, allocations: 0.9308 MB / 0.7438 GB, free: 11.05 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/0.5085, allocations: 3.938 kB / 0.7438 GB, free: 11.05 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004761/0.509, allocations: 135.8 kB / 0.7439 GB, free: 10.92 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004129/0.5094, allocations: 88.77 kB / 0.744 GB, free: 10.83 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.99e-05/0.5094, allocations: 19.98 kB / 0.744 GB, free: 10.81 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001457/0.5109, allocations: 1.555 MB / 0.7455 GB, free: 9.117 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.885e-06/0.5109, allocations: 0 / 0.7455 GB, free: 9.117 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001437/0.5124, allocations: 0.8412 MB / 0.7463 GB, free: 8.254 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002931/0.5127, allocations: 287.5 kB / 0.7466 GB, free: 7.953 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.528e-05/0.5128, allocations: 19.95 kB / 0.7466 GB, free: 7.934 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004442/0.5132, allocations: 67.94 kB / 0.7467 GB, free: 7.867 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.726e-05/0.5133, allocations: 57 kB / 0.7468 GB, free: 7.812 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.222e-05/0.5134, allocations: 31.98 kB / 0.7468 GB, free: 7.781 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0005755/0.514, allocations: 0.5224 MB / 0.7473 GB, free: 7.266 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.1e-07/0.514, allocations: 0 / 0.7473 GB, free: 7.266 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0006959/0.5147, allocations: 307.1 kB / 0.7476 GB, free: 6.965 MB / 0.5762 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.001121/0.5158, allocations: 0.5893 MB / 0.7482 GB, free: 6.582 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001246/0.5171, allocations: 0.7396 MB / 0.7489 GB, free: 5.832 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.5171, allocations: 0 / 0.7489 GB, free: 5.832 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0007084/0.5178, allocations: 484.3 kB / 0.7493 GB, free: 5.344 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001222/0.519, allocations: 397 kB / 0.7497 GB, free: 4.957 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003474/0.5225, allocations: 2.356 MB / 0.752 GB, free: 2.582 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005319/0.523, allocations: 1.075 MB / 0.7531 GB, free: 1.484 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0007084/0.5238, allocations: 275.1 kB / 0.7533 GB, free: 1.211 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001997/0.524, allocations: 99.39 kB / 0.7534 GB, free: 1.113 MB / 0.5762 GB Notification: Performance of SimCode: time 3.21e-07/0.524, allocations: 0 / 0.7534 GB, free: 1.113 MB / 0.5762 GB Notification: Performance of Templates: time 0.02013/0.5441, allocations: 14.74 MB / 0.7678 GB, free: 2.535 MB / 0.5919 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)