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.001459/0.001459, allocations: 99.64 kB / 18.95 MB, free: 2.668 MB / 14.72 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.001584/0.001584, allocations: 213.1 kB / 22.24 MB, free: 5.262 MB / 14.72 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 1.497/1.497, allocations: 230.6 MB / 256 MB, free: 7.812 MB / 206.1 MB " [Timeout remaining time 178] 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 1.251/1.251, allocations: 203.8 MB / 0.5042 GB, free: 4.637 MB / 414.1 MB " [Timeout remaining time 178] 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: translateModel(IDEAS.Utilities.IO.SignalExchange.Examples.WeatherStation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.IO.SignalExchange.Examples.WeatherStation") translateModel(IDEAS.Utilities.IO.SignalExchange.Examples.WeatherStation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.IO.SignalExchange.Examples.WeatherStation") [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.002309/0.002309, allocations: 74.23 kB / 0.7186 GB, free: 1.961 MB / 0.5763 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6108/0.6131, allocations: 102 MB / 0.8182 GB, free: 28.92 MB / 0.6388 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.SignalExchange.Examples.WeatherStation): time 0.007707/0.6208, allocations: 5.086 MB / 0.8232 GB, free: 25.58 MB / 0.6388 GB Notification: Performance of NFInst.instExpressions: time 0.2034/0.8242, allocations: 133 MB / 0.9531 GB, free: 11.93 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001974/0.8261, allocations: 35.69 kB / 0.9531 GB, free: 11.9 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.00123/0.8274, allocations: 377.3 kB / 0.9535 GB, free: 11.53 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.003138/0.8305, allocations: 0.5788 MB / 0.954 GB, free: 10.95 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.003157/0.8337, allocations: 0.9075 MB / 0.9549 GB, free: 10.05 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.00279/0.8364, allocations: 1.578 MB / 0.9564 GB, free: 8.465 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009534/0.8374, allocations: 487 kB / 0.9569 GB, free: 7.953 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009498/0.8383, allocations: 0.5683 MB / 0.9575 GB, free: 7.383 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007391/0.8391, allocations: 0.5227 MB / 0.958 GB, free: 6.859 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0002055/0.8393, allocations: 136 kB / 0.9581 GB, free: 6.727 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001421/0.8407, allocations: 0.5035 MB / 0.9586 GB, free: 6.223 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0004879/0.8412, allocations: 334.9 kB / 0.9589 GB, free: 5.895 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0007503/0.842, allocations: 0.5324 MB / 0.9594 GB, free: 5.359 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.003633/0.8456, allocations: 1.975 MB / 0.9614 GB, free: 3.383 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 6.422e-06/0.8456, allocations: 0 / 0.9614 GB, free: 3.383 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.364e-06/0.8456, allocations: 3.938 kB / 0.9614 GB, free: 3.379 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 2.085e-05/0.8456, allocations: 0 / 0.9614 GB, free: 3.379 MB / 0.7325 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.00326/0.8489, allocations: 1.679 MB / 0.963 GB, free: 1.66 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.346e-05/0.8489, allocations: 13.41 kB / 0.963 GB, free: 1.648 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001566/0.8505, allocations: 267.8 kB / 0.9633 GB, free: 1.387 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001699/0.8522, allocations: 0.8349 MB / 0.9641 GB, free: 0.5234 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.162e-05/0.8523, allocations: 74 kB / 0.9642 GB, free: 464 kB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001625/0.8524, allocations: 103.9 kB / 0.9643 GB, free: 360 kB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002139/0.8546, allocations: 1.286 MB / 0.9655 GB, free: 14.96 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.672e-05/0.8546, allocations: 0 / 0.9655 GB, free: 14.96 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.909e-05/0.8547, allocations: 44 kB / 0.9656 GB, free: 14.92 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.409e-05/0.8547, allocations: 24 kB / 0.9656 GB, free: 14.89 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001982/0.8567, allocations: 1.12 MB / 0.9667 GB, free: 13.77 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00452/0.8612, allocations: 2.35 MB / 0.969 GB, free: 11.37 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001626/0.8629, allocations: 0.74 MB / 0.9697 GB, free: 10.63 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005623/0.8634, allocations: 281.4 kB / 0.97 GB, free: 10.36 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 8.33e-05/0.8635, allocations: 28.58 kB / 0.97 GB, free: 10.33 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001032/0.8645, allocations: 0.5878 MB / 0.9706 GB, free: 9.699 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=78): time 3.457e-06/0.8645, allocations: 0 / 0.9706 GB, free: 9.699 MB / 0.7481 GB Notification: Performance of matching and sorting (n=78): time 0.003505/0.868, allocations: 1.136 MB / 0.9717 GB, free: 8.555 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001678/0.8682, allocations: 188.6 kB / 0.9719 GB, free: 8.328 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001211/0.8694, allocations: 0.7591 MB / 0.9726 GB, free: 7.562 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 8.439e-05/0.8695, allocations: 45.7 kB / 0.9726 GB, free: 7.512 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005506/0.8701, allocations: 0.5165 MB / 0.9731 GB, free: 6.988 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.000285/0.8703, allocations: 265.7 kB / 0.9734 GB, free: 6.727 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002671/0.8706, allocations: 162.5 kB / 0.9736 GB, free: 6.562 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001714/0.8708, allocations: 341.9 kB / 0.9739 GB, free: 6.223 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005729/0.8714, allocations: 265.9 kB / 0.9741 GB, free: 5.965 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008369/0.8722, allocations: 487.6 kB / 0.9746 GB, free: 5.445 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00131/0.8735, allocations: 0.6072 MB / 0.9752 GB, free: 4.828 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.669e-06/0.8735, allocations: 0 / 0.9752 GB, free: 4.828 MB / 0.7481 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.00253/0.876, allocations: 0.8608 MB / 0.976 GB, free: 3.957 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 3.339e-05/0.8761, allocations: 8 kB / 0.976 GB, free: 3.949 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.095e-05/0.8761, allocations: 4.094 kB / 0.976 GB, free: 3.945 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007462/0.8768, allocations: 76.78 kB / 0.9761 GB, free: 3.867 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007124/0.8775, allocations: 155.8 kB / 0.9763 GB, free: 3.715 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002516/0.8801, allocations: 1.527 MB / 0.9778 GB, free: 2.082 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009265/0.881, allocations: 79.77 kB / 0.9778 GB, free: 2.004 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.876e-05/0.8811, allocations: 36.03 kB / 0.9779 GB, free: 1.969 MB / 0.7481 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.0006287/0.8817, allocations: 305.1 kB / 0.9782 GB, free: 1.664 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002236/0.8819, allocations: 111.3 kB / 0.9783 GB, free: 1.555 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00259/0.8845, allocations: 1.063 MB / 0.9793 GB, free: 480 kB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.207e-06/0.8845, allocations: 12 kB / 0.9793 GB, free: 468 kB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.745e-06/0.8845, allocations: 0 / 0.9793 GB, free: 468 kB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.223e-05/0.8845, allocations: 3.984 kB / 0.9793 GB, free: 464 kB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001182/0.8857, allocations: 0.7318 MB / 0.98 GB, free: 15.69 MB / 0.7638 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.326e-06/0.8857, allocations: 0 / 0.98 GB, free: 15.69 MB / 0.7638 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000619/0.8863, allocations: 139.8 kB / 0.9802 GB, free: 15.55 MB / 0.7638 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005006/0.8868, allocations: 68.8 kB / 0.9802 GB, free: 15.48 MB / 0.7638 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.318e-05/0.8869, allocations: 27.97 kB / 0.9803 GB, free: 15.46 MB / 0.7638 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00218/0.8891, allocations: 1.543 MB / 0.9818 GB, free: 13.81 MB / 0.7638 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.8891, allocations: 4.031 kB / 0.9818 GB, free: 13.8 MB / 0.7638 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002364/0.8914, allocations: 0.9438 MB / 0.9827 GB, free: 12.84 MB / 0.7638 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005363/0.892, allocations: 211 kB / 0.9829 GB, free: 12.63 MB / 0.7638 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001156/0.8921, allocations: 16 kB / 0.9829 GB, free: 12.62 MB / 0.7638 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006489/0.8927, allocations: 63.94 kB / 0.983 GB, free: 12.55 MB / 0.7638 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001736/0.8929, allocations: 76.8 kB / 0.983 GB, free: 12.48 MB / 0.7638 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.418e-05/0.893, allocations: 35.97 kB / 0.9831 GB, free: 12.45 MB / 0.7638 GB Notification: Performance of sorting global known variables: time 0.0008156/0.8938, allocations: 0.5224 MB / 0.9836 GB, free: 11.93 MB / 0.7638 GB Notification: Performance of sort global known variables: time 9e-08/0.8938, allocations: 0 / 0.9836 GB, free: 11.93 MB / 0.7638 GB Notification: Performance of remove unused functions: time 0.001118/0.8949, allocations: 362.8 kB / 0.9839 GB, free: 11.57 MB / 0.7638 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.002271/0.8972, allocations: 0.6339 MB / 0.9845 GB, free: 11.18 MB / 0.7638 GB Notification: Performance of simCode: created initialization part: time 0.001971/0.8992, allocations: 0.7961 MB / 0.9853 GB, free: 10.37 MB / 0.7638 GB Notification: Performance of simCode: created event and clocks part: time 4.178e-06/0.8992, allocations: 0 / 0.9853 GB, free: 10.37 MB / 0.7638 GB Notification: Performance of simCode: created simulation system equations: time 0.001004/0.9002, allocations: 496.4 kB / 0.9858 GB, free: 9.871 MB / 0.7638 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001701/0.9019, allocations: 464.4 kB / 0.9862 GB, free: 9.457 MB / 0.7638 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004089/0.906, allocations: 1.97 MB / 0.9882 GB, free: 7.453 MB / 0.7638 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000631/0.9066, allocations: 0.5136 MB / 0.9887 GB, free: 6.906 MB / 0.7638 GB Notification: Performance of simCode: alias equations: time 0.0009825/0.9076, allocations: 291.2 kB / 0.9889 GB, free: 6.617 MB / 0.7638 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002974/0.9079, allocations: 115.4 kB / 0.9891 GB, free: 6.504 MB / 0.7638 GB Notification: Performance of SimCode: time 1.272e-06/0.9079, allocations: 0 / 0.9891 GB, free: 6.504 MB / 0.7638 GB Notification: Performance of Templates: time 0.03718/0.9451, allocations: 18.87 MB / 1.007 GB, free: 3.914 MB / 0.7794 GB " [Timeout remaining time 659] make -j1 -f IDEAS_dev_IDEAS.Utilities.IO.SignalExchange.Examples.WeatherStation.makefile [Timeout 660] (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 & ./IDEAS_dev_IDEAS.Utilities.IO.SignalExchange.Examples.WeatherStation -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.853560224175453] Failed to read output from testmodel.py, exit status != 0: 0.9550565965473652 0.971484828 0.12243380200000001 Calling exit ...