Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Utilities.IO.SignalExchange.Examples.WeatherStation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.IO.SignalExchange.Examples.WeatherStation") translateModel(BuildingSystems.Utilities.IO.SignalExchange.Examples.WeatherStation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001243/0.001243, allocations: 102.4 kB / 16.27 MB, free: 6.414 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.001209/0.001209, allocations: 189.3 kB / 17.2 MB, free: 5.953 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.285/1.285, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002272/0.002272, allocations: 283.7 kB / 291.3 MB, free: 14.54 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9009/0.9009, allocations: 169.3 MB / 0.4988 GB, free: 4.488 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001845/0.001845, allocations: 98.28 kB / 0.5959 GB, free: 15.16 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1508/0.1526, allocations: 86.97 MB / 0.6808 GB, free: 8.191 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.IO.SignalExchange.Examples.WeatherStation): time 0.006803/0.1595, allocations: 5.113 MB / 0.6858 GB, free: 3.047 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.408/0.5675, allocations: 150.8 MB / 0.8331 GB, free: 2.938 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001048/0.5685, allocations: 23.81 kB / 0.8331 GB, free: 2.914 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0009759/0.5696, allocations: 345.5 kB / 0.8335 GB, free: 2.574 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.002061/0.5717, allocations: 0.5201 MB / 0.834 GB, free: 2.055 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002143/0.5738, allocations: 0.8633 MB / 0.8348 GB, free: 1.203 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0017/0.5755, allocations: 1.469 MB / 0.8362 GB, free: 15.73 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001046/0.5766, allocations: 0.8147 MB / 0.837 GB, free: 14.88 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006377/0.5772, allocations: 0.5214 MB / 0.8376 GB, free: 14.36 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005782/0.5778, allocations: 0.5597 MB / 0.8381 GB, free: 13.8 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001767/0.578, allocations: 132 kB / 0.8382 GB, free: 13.67 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00098/0.579, allocations: 475.7 kB / 0.8387 GB, free: 13.2 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0002947/0.5793, allocations: 330.8 kB / 0.839 GB, free: 12.88 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0005018/0.5798, allocations: 0.6488 MB / 0.8396 GB, free: 12.23 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.00178/0.5816, allocations: 1.841 MB / 0.8414 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.5816, allocations: 0 / 0.8414 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.875e-06/0.5816, allocations: 0 / 0.8414 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.644e-05/0.5817, allocations: 5.062 kB / 0.8414 GB, free: 10.38 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.002465/0.5841, allocations: 1.665 MB / 0.8431 GB, free: 8.66 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.323e-05/0.5842, allocations: 8.031 kB / 0.8431 GB, free: 8.652 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000893/0.5851, allocations: 224.2 kB / 0.8433 GB, free: 8.434 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001082/0.5862, allocations: 0.8831 MB / 0.8441 GB, free: 7.508 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.619e-05/0.5862, allocations: 73.94 kB / 0.8442 GB, free: 7.434 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001189/0.5864, allocations: 96 kB / 0.8443 GB, free: 7.34 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001619/0.588, allocations: 1.032 MB / 0.8453 GB, free: 6.27 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.929e-05/0.588, allocations: 4 kB / 0.8453 GB, free: 6.266 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.123e-05/0.5881, allocations: 43.98 kB / 0.8454 GB, free: 6.223 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.13e-05/0.5881, allocations: 24 kB / 0.8454 GB, free: 6.199 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001746/0.5899, allocations: 1.167 MB / 0.8465 GB, free: 5.031 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003845/0.5937, allocations: 2.843 MB / 0.8493 GB, free: 2.117 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001369/0.5951, allocations: 0.7895 MB / 0.8501 GB, free: 1.324 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004841/0.5956, allocations: 298.7 kB / 0.8504 GB, free: 1.031 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 7.708e-05/0.5957, allocations: 36.53 kB / 0.8504 GB, free: 0.9961 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008085/0.5965, allocations: 495.1 kB / 0.8509 GB, free: 0.4922 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=78): time 3.637e-06/0.5965, allocations: 0 / 0.8509 GB, free: 0.4922 MB / 0.6075 GB Notification: Performance of matching and sorting (n=78): time 0.002946/0.5995, allocations: 1.201 MB / 0.852 GB, free: 15.26 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.798e-05/0.5996, allocations: 196.5 kB / 0.8522 GB, free: 15.02 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009281/0.6005, allocations: 0.7951 MB / 0.853 GB, free: 14.2 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 5.519e-05/0.6006, allocations: 41.7 kB / 0.853 GB, free: 14.16 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003798/0.601, allocations: 0.5116 MB / 0.8535 GB, free: 13.64 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001886/0.6012, allocations: 248.5 kB / 0.8538 GB, free: 13.39 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002253/0.6014, allocations: 166.4 kB / 0.8539 GB, free: 13.23 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001185/0.6015, allocations: 337.9 kB / 0.8543 GB, free: 12.89 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005018/0.602, allocations: 265.8 kB / 0.8545 GB, free: 12.63 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006077/0.6027, allocations: 363.1 kB / 0.8549 GB, free: 12.27 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001052/0.6037, allocations: 0.5955 MB / 0.8554 GB, free: 11.66 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.797e-06/0.6037, allocations: 0 / 0.8554 GB, free: 11.66 MB / 0.6231 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.001921/0.6057, allocations: 0.8603 MB / 0.8563 GB, free: 10.79 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.822e-05/0.6057, allocations: 8.094 kB / 0.8563 GB, free: 10.78 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.022e-05/0.6057, allocations: 4 kB / 0.8563 GB, free: 10.78 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005966/0.6063, allocations: 84.77 kB / 0.8564 GB, free: 10.69 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006427/0.607, allocations: 155.8 kB / 0.8565 GB, free: 10.54 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002209/0.6092, allocations: 1.647 MB / 0.8581 GB, free: 8.75 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007085/0.6099, allocations: 95.2 kB / 0.8582 GB, free: 8.656 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.041e-05/0.61, allocations: 39.97 kB / 0.8583 GB, free: 8.617 MB / 0.6231 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.0005039/0.6105, allocations: 300.6 kB / 0.8585 GB, free: 8.316 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001956/0.6107, allocations: 102.8 kB / 0.8586 GB, free: 8.215 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002241/0.613, allocations: 1.078 MB / 0.8597 GB, free: 7.125 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.557e-05/0.613, allocations: 8 kB / 0.8597 GB, free: 7.117 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.685e-06/0.613, allocations: 0 / 0.8597 GB, free: 7.117 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.056e-05/0.613, allocations: 7.922 kB / 0.8597 GB, free: 7.109 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001057/0.6141, allocations: 1.012 MB / 0.8607 GB, free: 6.047 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/0.6141, allocations: 3.938 kB / 0.8607 GB, free: 6.043 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005563/0.6146, allocations: 139.8 kB / 0.8608 GB, free: 5.906 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000417/0.6151, allocations: 68.8 kB / 0.8609 GB, free: 5.836 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.017e-05/0.6151, allocations: 27.97 kB / 0.8609 GB, free: 5.809 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001829/0.617, allocations: 1.674 MB / 0.8626 GB, free: 3.98 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.452e-06/0.617, allocations: 0 / 0.8626 GB, free: 3.98 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001837/0.6188, allocations: 0.9473 MB / 0.8635 GB, free: 3.016 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003421/0.6192, allocations: 295.5 kB / 0.8638 GB, free: 2.707 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001186/0.6193, allocations: 20 kB / 0.8638 GB, free: 2.688 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005848/0.6199, allocations: 62.44 kB / 0.8638 GB, free: 2.629 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001309/0.62, allocations: 68.89 kB / 0.8639 GB, free: 2.559 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.258e-05/0.6201, allocations: 43.92 kB / 0.8639 GB, free: 2.516 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.000643/0.6207, allocations: 0.5542 MB / 0.8645 GB, free: 1.949 MB / 0.6231 GB Notification: Performance of sort global known variables: time 3.2e-07/0.6208, allocations: 4 kB / 0.8645 GB, free: 1.945 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.000791/0.6216, allocations: 331.1 kB / 0.8648 GB, free: 1.621 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.001299/0.6229, allocations: 0.5978 MB / 0.8654 GB, free: 1.195 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0021/0.625, allocations: 1.027 MB / 0.8664 GB, free: 164 kB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/0.625, allocations: 3.984 kB / 0.8664 GB, free: 160 kB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.00084/0.6258, allocations: 0.5122 MB / 0.8669 GB, free: 15.63 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001503/0.6273, allocations: 461.9 kB / 0.8673 GB, free: 15.22 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003857/0.6312, allocations: 2.099 MB / 0.8694 GB, free: 13.08 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005652/0.6318, allocations: 1.089 MB / 0.8705 GB, free: 11.97 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002758/0.6321, allocations: 127.4 kB / 0.8706 GB, free: 11.85 MB / 0.6387 GB Notification: Performance of SimCode: time 3.9e-07/0.6321, allocations: 0 / 0.8706 GB, free: 11.85 MB / 0.6387 GB Notification: Performance of Templates: time 0.02436/0.6564, allocations: 22.12 MB / 0.8922 GB, free: 5.785 MB / 0.6544 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.IO.SignalExchange.Examples.WeatherStation.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.IO.SignalExchange.Examples.WeatherStation.sim & ./BuildingSystems_BuildingSystems.Utilities.IO.SignalExchange.Examples.WeatherStation -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe 2>&1)