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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002067/0.002067, allocations: 110 kB / 18.93 MB, free: 2.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002699/0.002699, allocations: 192 kB / 22.23 MB, free: 5.16 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.591/1.591, allocations: 225.6 MB / 251 MB, free: 12.99 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Examples/PPD12/Structure.mo:527:21-527:482:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Examples/PPD12/Structure.mo:527:21-527:490:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.152/1.152, allocations: 177.9 MB / 484.2 MB, free: 5.32 MB / 382.1 MB " [Timeout remaining time 178] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(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: Performance of FrontEnd - loaded program: time 0.002766/0.002766, allocations: 67.73 kB / 0.674 GB, free: 10.77 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6861/0.6889, allocations: 95.17 MB / 0.7669 GB, free: 7.934 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.SignalExchange.Examples.WeatherStation): time 0.007668/0.6965, allocations: 5.687 MB / 0.7725 GB, free: 4.234 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.2312/0.9277, allocations: 151.5 MB / 0.9204 GB, free: 5.41 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002066/0.9298, allocations: 31.69 kB / 0.9204 GB, free: 5.379 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.001213/0.931, allocations: 385.3 kB / 0.9208 GB, free: 5 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.002707/0.9337, allocations: 0.5595 MB / 0.9213 GB, free: 4.441 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.002705/0.9364, allocations: 0.9005 MB / 0.9222 GB, free: 3.547 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.002528/0.9389, allocations: 1.55 MB / 0.9237 GB, free: 1.988 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00107/0.94, allocations: 0.5029 MB / 0.9242 GB, free: 1.441 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001279/0.9413, allocations: 0.5604 MB / 0.9248 GB, free: 0.8789 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008791/0.9421, allocations: 0.5676 MB / 0.9253 GB, free: 316 kB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.0002233/0.9424, allocations: 132 kB / 0.9254 GB, free: 184 kB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001512/0.9439, allocations: 0.4957 MB / 0.9259 GB, free: 15.68 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0003877/0.9443, allocations: 334.8 kB / 0.9263 GB, free: 15.36 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0007912/0.9451, allocations: 0.6606 MB / 0.9269 GB, free: 14.69 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.003283/0.9483, allocations: 1.924 MB / 0.9288 GB, free: 12.77 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.171e-06/0.9483, allocations: 0 / 0.9288 GB, free: 12.77 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.884e-06/0.9483, allocations: 4 kB / 0.9288 GB, free: 12.76 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 2.018e-05/0.9484, allocations: 4 kB / 0.9288 GB, free: 12.76 MB / 0.7169 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.003572/0.9519, allocations: 1.652 MB / 0.9304 GB, free: 11.07 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 7.571e-05/0.952, allocations: 8.031 kB / 0.9304 GB, free: 11.06 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001124/0.9531, allocations: 227.8 kB / 0.9306 GB, free: 10.84 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001603/0.9547, allocations: 0.8387 MB / 0.9314 GB, free: 9.973 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.238e-05/0.9548, allocations: 70 kB / 0.9315 GB, free: 9.906 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000138/0.9549, allocations: 96 kB / 0.9316 GB, free: 9.812 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002034/0.957, allocations: 1.032 MB / 0.9326 GB, free: 8.738 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.039e-05/0.957, allocations: 3.938 kB / 0.9326 GB, free: 8.734 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001002/0.9571, allocations: 40 kB / 0.9326 GB, free: 8.695 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.829e-05/0.9571, allocations: 24 kB / 0.9327 GB, free: 8.672 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002188/0.9593, allocations: 1.167 MB / 0.9338 GB, free: 7.508 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005152/0.9645, allocations: 3.002 MB / 0.9367 GB, free: 4.375 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001691/0.9662, allocations: 0.7506 MB / 0.9375 GB, free: 3.625 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005586/0.9667, allocations: 274.7 kB / 0.9377 GB, free: 3.355 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 8.743e-05/0.9668, allocations: 40.59 kB / 0.9378 GB, free: 3.316 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009867/0.9678, allocations: 495.3 kB / 0.9382 GB, free: 2.812 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=78): time 2.645e-06/0.9678, allocations: 0 / 0.9382 GB, free: 2.812 MB / 0.7169 GB Notification: Performance of matching and sorting (n=78): time 0.003428/0.9712, allocations: 1.13 MB / 0.9394 GB, free: 1.672 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001895/0.9714, allocations: 192.6 kB / 0.9395 GB, free: 1.441 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001179/0.9726, allocations: 0.8029 MB / 0.9403 GB, free: 0.6133 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.621e-05/0.9727, allocations: 41.7 kB / 0.9404 GB, free: 0.5664 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004973/0.9732, allocations: 0.5126 MB / 0.9409 GB, free: 48 kB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002936/0.9735, allocations: 269.9 kB / 0.9411 GB, free: 15.78 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002975/0.9738, allocations: 158.6 kB / 0.9413 GB, free: 15.62 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0002078/0.974, allocations: 337.7 kB / 0.9416 GB, free: 15.29 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006063/0.9746, allocations: 265.9 kB / 0.9418 GB, free: 15.02 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007052/0.9753, allocations: 371 kB / 0.9422 GB, free: 14.65 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001243/0.9765, allocations: 0.5917 MB / 0.9428 GB, free: 14.05 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.147e-06/0.9765, allocations: 3.938 kB / 0.9428 GB, free: 14.04 MB / 0.7325 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.002186/0.9787, allocations: 0.8687 MB / 0.9436 GB, free: 13.16 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.399e-05/0.9787, allocations: 4 kB / 0.9436 GB, free: 13.16 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.181e-05/0.9788, allocations: 4 kB / 0.9436 GB, free: 13.16 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006545/0.9794, allocations: 88.77 kB / 0.9437 GB, free: 13.07 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006605/0.9801, allocations: 155.7 kB / 0.9439 GB, free: 12.91 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002474/0.9825, allocations: 1.535 MB / 0.9454 GB, free: 11.26 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008221/0.9834, allocations: 98.11 kB / 0.9455 GB, free: 11.16 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.636e-05/0.9834, allocations: 35.97 kB / 0.9455 GB, free: 11.13 MB / 0.7325 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.0006589/0.9841, allocations: 295.4 kB / 0.9458 GB, free: 10.83 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000198/0.9843, allocations: 107.3 kB / 0.9459 GB, free: 10.72 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002541/0.9868, allocations: 1.074 MB / 0.9469 GB, free: 9.641 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.938e-05/0.9869, allocations: 15.92 kB / 0.9469 GB, free: 9.625 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.485e-06/0.9869, allocations: 0 / 0.9469 GB, free: 9.625 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.12e-05/0.9869, allocations: 7.984 kB / 0.947 GB, free: 9.617 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001428/0.9883, allocations: 0.9731 MB / 0.9479 GB, free: 8.598 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.848e-06/0.9883, allocations: 0 / 0.9479 GB, free: 8.598 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006383/0.9889, allocations: 143.8 kB / 0.948 GB, free: 8.457 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004612/0.9894, allocations: 76.72 kB / 0.9481 GB, free: 8.379 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.808e-05/0.9895, allocations: 27.92 kB / 0.9481 GB, free: 8.352 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002118/0.9916, allocations: 1.57 MB / 0.9497 GB, free: 6.66 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.9916, allocations: 0 / 0.9497 GB, free: 6.66 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002192/0.9938, allocations: 0.9439 MB / 0.9506 GB, free: 5.695 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005754/0.9944, allocations: 219 kB / 0.9508 GB, free: 5.48 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001476/0.9945, allocations: 20 kB / 0.9508 GB, free: 5.461 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006446/0.9951, allocations: 60 kB / 0.9509 GB, free: 5.402 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002167/0.9954, allocations: 80.8 kB / 0.951 GB, free: 5.324 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.187e-05/0.9954, allocations: 35.97 kB / 0.951 GB, free: 5.289 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001022/0.9965, allocations: 0.5503 MB / 0.9515 GB, free: 4.727 MB / 0.7325 GB Notification: Performance of sort global known variables: time 9.1e-08/0.9965, allocations: 0 / 0.9515 GB, free: 4.727 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001245/0.9977, allocations: 355 kB / 0.9519 GB, free: 4.379 MB / 0.7325 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.002305/1, allocations: 0.6039 MB / 0.9525 GB, free: 3.945 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.00218/1.002, allocations: 0.7923 MB / 0.9532 GB, free: 3.141 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 5.811e-06/1.002, allocations: 4 kB / 0.9532 GB, free: 3.137 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.00114/1.003, allocations: 496.2 kB / 0.9537 GB, free: 2.645 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001932/1.005, allocations: 474.9 kB / 0.9542 GB, free: 2.219 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004004/1.009, allocations: 1.953 MB / 0.9561 GB, free: 240 kB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008858/1.01, allocations: 1.102 MB / 0.9571 GB, free: 15.11 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0009493/1.011, allocations: 287.6 kB / 0.9574 GB, free: 14.82 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002807/1.011, allocations: 115.4 kB / 0.9575 GB, free: 14.71 MB / 0.7481 GB Notification: Performance of SimCode: time 1.553e-06/1.011, allocations: 0 / 0.9575 GB, free: 14.71 MB / 0.7481 GB Notification: Performance of Templates: time 0.03913/1.051, allocations: 18.05 MB / 0.9752 GB, free: 12.82 MB / 0.7637 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.719053719192743] Failed to read output from testmodel.py, exit status != 0: 1.061198809184134 1.07444427 0.122803196 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7f44e7e317b0>