Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.IO.SignalExchange.Examples.WeatherStation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007929/0.0007929, allocations: 105.5 kB / 18.95 MB, free: 1.191 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.000804/0.000804, allocations: 212 kB / 22.24 MB, free: 3.59 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9434/0.9434, allocations: 230.6 MB / 256 MB, free: 9.621 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7563/0.7563, allocations: 203.8 MB / 0.5042 GB, free: 10.5 MB / 410.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Utilities.IO.SignalExchange.Examples.WeatherStation,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_IO_SignalExchange_Examples_WeatherStation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.IO.SignalExchange.Examples.WeatherStation,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_IO_SignalExchange_Examples_WeatherStation",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001006/0.001006, allocations: 62.56 kB / 0.7181 GB, free: 4.082 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4946/0.4956, allocations: 102 MB / 0.8178 GB, free: 1.059 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.SignalExchange.Examples.WeatherStation): time 0.006085/0.5017, allocations: 5.097 MB / 0.8227 GB, free: 13.68 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.1244/0.6261, allocations: 133 MB / 0.9526 GB, free: 11.18 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000997/0.6271, allocations: 35.69 kB / 0.9526 GB, free: 11.14 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0007214/0.6278, allocations: 369.4 kB / 0.953 GB, free: 10.78 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.002055/0.6299, allocations: 0.5913 MB / 0.9536 GB, free: 10.2 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.001783/0.6316, allocations: 0.9011 MB / 0.9544 GB, free: 9.301 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.001377/0.633, allocations: 1.574 MB / 0.956 GB, free: 7.719 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007506/0.6338, allocations: 490.9 kB / 0.9564 GB, free: 7.203 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005313/0.6343, allocations: 0.5682 MB / 0.957 GB, free: 6.633 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004195/0.6347, allocations: 0.5168 MB / 0.9575 GB, free: 6.113 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 0.0001154/0.6348, allocations: 140 kB / 0.9576 GB, free: 5.977 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007424/0.6356, allocations: 0.4996 MB / 0.9581 GB, free: 5.477 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.0002195/0.6358, allocations: 342.8 kB / 0.9585 GB, free: 5.141 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.0003487/0.6361, allocations: 0.5324 MB / 0.959 GB, free: 4.605 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.001928/0.6381, allocations: 1.979 MB / 0.9609 GB, free: 2.621 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.6381, allocations: 4 kB / 0.9609 GB, free: 2.617 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.883e-06/0.6381, allocations: 0 / 0.9609 GB, free: 2.617 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.56e-05/0.6381, allocations: 3.938 kB / 0.9609 GB, free: 2.613 MB / 0.7292 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.001717/0.6398, allocations: 1.671 MB / 0.9625 GB, free: 0.9023 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.728e-05/0.6399, allocations: 8.031 kB / 0.9626 GB, free: 0.8945 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000128/0.64, allocations: 160.4 kB / 0.9627 GB, free: 0.7305 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008512/0.6408, allocations: 275.7 kB / 0.963 GB, free: 472 kB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009925/0.6418, allocations: 0.8425 MB / 0.9638 GB, free: 15.59 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.758e-05/0.6419, allocations: 74 kB / 0.9639 GB, free: 15.52 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.799e-05/0.642, allocations: 92 kB / 0.964 GB, free: 15.43 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001214/0.6432, allocations: 1.29 MB / 0.9652 GB, free: 14.03 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.904e-05/0.6432, allocations: 3.938 kB / 0.9652 GB, free: 14.03 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.467e-05/0.6432, allocations: 40 kB / 0.9653 GB, free: 13.99 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.646e-05/0.6433, allocations: 24 kB / 0.9653 GB, free: 13.96 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001134/0.6444, allocations: 1.132 MB / 0.9664 GB, free: 12.83 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002864/0.6473, allocations: 2.492 MB / 0.9688 GB, free: 10.28 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009376/0.6482, allocations: 0.7429 MB / 0.9695 GB, free: 9.535 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003178/0.6485, allocations: 278.7 kB / 0.9698 GB, free: 9.262 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 5.22e-05/0.6486, allocations: 28.62 kB / 0.9698 GB, free: 9.234 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005695/0.6491, allocations: 0.5816 MB / 0.9704 GB, free: 8.609 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=78): time 1.984e-06/0.6491, allocations: 0 / 0.9704 GB, free: 8.609 MB / 0.7448 GB Notification: Performance of matching and sorting (n=78): time 0.001843/0.651, allocations: 1.142 MB / 0.9715 GB, free: 7.457 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.024e-05/0.6511, allocations: 192.6 kB / 0.9717 GB, free: 7.227 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007374/0.6518, allocations: 0.8224 MB / 0.9725 GB, free: 6.379 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 4.84e-05/0.6518, allocations: 41.7 kB / 0.9725 GB, free: 6.332 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002944/0.6521, allocations: 0.5242 MB / 0.9731 GB, free: 5.801 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.000149/0.6523, allocations: 269.7 kB / 0.9733 GB, free: 5.535 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001521/0.6524, allocations: 142.6 kB / 0.9735 GB, free: 5.391 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001047/0.6525, allocations: 333.9 kB / 0.9738 GB, free: 5.059 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003139/0.6529, allocations: 249.9 kB / 0.974 GB, free: 4.816 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006003/0.6535, allocations: 487 kB / 0.9745 GB, free: 4.277 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006282/0.6541, allocations: 0.5838 MB / 0.975 GB, free: 3.684 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.6541, allocations: 4 kB / 0.975 GB, free: 3.68 MB / 0.7448 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001023/0.6551, allocations: 0.814 MB / 0.9758 GB, free: 2.855 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.399e-05/0.6551, allocations: 4 kB / 0.9758 GB, free: 2.852 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.6551, allocations: 0 / 0.9758 GB, free: 2.852 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003191/0.6555, allocations: 92.69 kB / 0.9759 GB, free: 2.758 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003064/0.6558, allocations: 147.8 kB / 0.9761 GB, free: 2.613 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00133/0.6571, allocations: 1.531 MB / 0.9776 GB, free: 0.9648 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003288/0.6574, allocations: 91.5 kB / 0.9777 GB, free: 0.875 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.687e-05/0.6575, allocations: 35.92 kB / 0.9777 GB, free: 0.8398 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 15 (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 (84): * Single equations (assignments): 83 * 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.0002738/0.6577, allocations: 297.6 kB / 0.978 GB, free: 0.5391 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.959e-05/0.6578, allocations: 107.3 kB / 0.9781 GB, free: 444 kB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001344/0.6592, allocations: 1.076 MB / 0.9791 GB, free: 15.34 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.555e-06/0.6592, allocations: 11.94 kB / 0.9791 GB, free: 15.33 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.465e-06/0.6592, allocations: 0 / 0.9791 GB, free: 15.33 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.745e-06/0.6592, allocations: 7.984 kB / 0.9791 GB, free: 15.32 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006764/0.6599, allocations: 0.8605 MB / 0.98 GB, free: 14.42 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.816e-06/0.6599, allocations: 0 / 0.98 GB, free: 14.42 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002828/0.6602, allocations: 139.8 kB / 0.9801 GB, free: 14.28 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002154/0.6604, allocations: 68.8 kB / 0.9802 GB, free: 14.21 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.352e-05/0.6604, allocations: 27.97 kB / 0.9802 GB, free: 14.18 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001213/0.6616, allocations: 1.566 MB / 0.9817 GB, free: 12.5 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.6616, allocations: 0 / 0.9817 GB, free: 12.5 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00115/0.6628, allocations: 0.9557 MB / 0.9827 GB, free: 11.52 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002526/0.663, allocations: 219 kB / 0.9829 GB, free: 11.31 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.342e-05/0.6631, allocations: 16 kB / 0.9829 GB, free: 11.29 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003028/0.6634, allocations: 67.92 kB / 0.983 GB, free: 11.23 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.582e-05/0.6635, allocations: 76.8 kB / 0.983 GB, free: 11.15 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.167e-05/0.6635, allocations: 31.98 kB / 0.9831 GB, free: 11.12 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0004855/0.664, allocations: 0.5782 MB / 0.9836 GB, free: 10.53 MB / 0.7605 GB Notification: Performance of sort global known variables: time 9e-08/0.664, allocations: 0 / 0.9836 GB, free: 10.53 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0006081/0.6646, allocations: 347 kB / 0.984 GB, free: 10.19 MB / 0.7605 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.002459/0.6671, allocations: 2.037 MB / 0.986 GB, free: 8.363 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.001042/0.6681, allocations: 0.7687 MB / 0.9867 GB, free: 7.586 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/0.6681, allocations: 4 kB / 0.9867 GB, free: 7.582 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0005438/0.6687, allocations: 492.4 kB / 0.9872 GB, free: 7.086 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009497/0.6696, allocations: 483.1 kB / 0.9876 GB, free: 6.66 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007362/0.677, allocations: 7.068 MB / 0.9945 GB, free: 15.44 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000351/0.6773, allocations: 0.51 MB / 0.995 GB, free: 14.89 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0006013/0.6779, allocations: 295.7 kB / 0.9953 GB, free: 14.6 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004314/0.6784, allocations: 471.2 kB / 0.9958 GB, free: 14.14 MB / 0.7761 GB Notification: Performance of SimCode: time 6.61e-07/0.6784, allocations: 0 / 0.9958 GB, free: 14.14 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04234/0.7207, allocations: 28.01 MB / 1.023 GB, free: 2.387 MB / 0.7917 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.464/9.185, allocations: 3.438 kB / 1.023 GB, free: 2.387 MB / 0.7917 GB " [Timeout remaining time 651] (rm -f IDEAS_dev_IDEAS.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.IO.SignalExchange.Examples.WeatherStation.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_IO_SignalExchange_Examples_WeatherStation_fmu --startTime=0 --stopTime=864000 --stepSize=345.6 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_IO_SignalExchange_Examples_WeatherStation.fmu > IDEAS_dev_IDEAS.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.148797076195478] Failed to read output from testmodel.py, exit status != 0: 9.33354281494394 9.343963879 8.703429341 Calling exit ...