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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001332/0.001332, allocations: 108.8 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.001534/0.001534, allocations: 189.4 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.483/1.483, allocations: 225.6 MB / 251 MB, free: 13.01 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8884/0.8884, allocations: 134 MB / 440.3 MB, free: 216 kB / 334.1 MB " [Timeout remaining time 179] 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=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.IO.SignalExchange.Examples.WeatherStation") translateModel(IDEAS.Utilities.IO.SignalExchange.Examples.WeatherStation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.IO.SignalExchange.Examples.WeatherStation") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003119/0.003119, allocations: 72.3 kB / 0.6107 GB, free: 13.69 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1823/0.1854, allocations: 84.73 MB / 0.6935 GB, free: 9.035 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.SignalExchange.Examples.WeatherStation): time 0.007659/0.1931, allocations: 4.929 MB / 0.6983 GB, free: 4.082 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.5664/0.7595, allocations: 151.3 MB / 0.8461 GB, free: 5.777 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001181/0.7607, allocations: 36.62 kB / 0.8461 GB, free: 5.754 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001438/0.7621, allocations: 347.2 kB / 0.8464 GB, free: 5.449 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.002514/0.7646, allocations: 0.503 MB / 0.8469 GB, free: 5.094 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.003089/0.7677, allocations: 0.8381 MB / 0.8477 GB, free: 4.395 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.002736/0.7704, allocations: 1.348 MB / 0.849 GB, free: 3.039 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001703/0.7721, allocations: 0.5657 MB / 0.8496 GB, free: 2.441 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001194/0.7733, allocations: 0.4981 MB / 0.8501 GB, free: 1.941 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001167/0.7745, allocations: 0.5014 MB / 0.8506 GB, free: 1.438 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.000412/0.7749, allocations: 116 kB / 0.8507 GB, free: 1.324 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001692/0.7766, allocations: 491.2 kB / 0.8512 GB, free: 0.8477 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0005912/0.7772, allocations: 299 kB / 0.8514 GB, free: 0.5547 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.001153/0.7783, allocations: 0.6022 MB / 0.852 GB, free: 15.95 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.004029/0.7824, allocations: 1.777 MB / 0.8538 GB, free: 14.17 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.7824, allocations: 0 / 0.8538 GB, free: 14.17 MB / 0.6231 GB Notification: Performance of FrontEnd: time 2.024e-06/0.7824, allocations: 0 / 0.8538 GB, free: 14.17 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 5.746e-05/0.7824, allocations: 0 / 0.8538 GB, free: 14.17 MB / 0.6231 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.004474/0.7869, allocations: 1.541 MB / 0.8553 GB, free: 12.6 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 5.352e-05/0.787, allocations: 12.03 kB / 0.8553 GB, free: 12.59 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001589/0.7886, allocations: 215.9 kB / 0.8555 GB, free: 12.38 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002228/0.7908, allocations: 0.7923 MB / 0.8563 GB, free: 11.55 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001043/0.7909, allocations: 70 kB / 0.8563 GB, free: 11.48 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002069/0.7911, allocations: 92 kB / 0.8564 GB, free: 11.39 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002873/0.794, allocations: 0.9688 MB / 0.8574 GB, free: 10.39 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.937e-05/0.794, allocations: 11.92 kB / 0.8574 GB, free: 10.38 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001457/0.7941, allocations: 36 kB / 0.8574 GB, free: 10.34 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.407e-05/0.7942, allocations: 24 kB / 0.8574 GB, free: 10.32 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002984/0.7972, allocations: 1.116 MB / 0.8585 GB, free: 9.199 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006316/0.8035, allocations: 2.602 MB / 0.8611 GB, free: 6.531 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001964/0.8054, allocations: 0.6627 MB / 0.8617 GB, free: 5.859 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007382/0.8062, allocations: 246.7 kB / 0.8619 GB, free: 5.617 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001091/0.8063, allocations: 28.67 kB / 0.862 GB, free: 5.59 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001143/0.8074, allocations: 423.2 kB / 0.8624 GB, free: 5.156 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=69): time 3.556e-06/0.8074, allocations: 0 / 0.8624 GB, free: 5.156 MB / 0.6231 GB Notification: Performance of matching and sorting (n=69): time 0.004213/0.8117, allocations: 1.007 MB / 0.8634 GB, free: 4.145 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001466/0.8118, allocations: 192.6 kB / 0.8635 GB, free: 3.91 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001484/0.8133, allocations: 0.7553 MB / 0.8643 GB, free: 3.148 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 9.053e-05/0.8134, allocations: 37.7 kB / 0.8643 GB, free: 3.105 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005847/0.814, allocations: 0.489 MB / 0.8648 GB, free: 2.609 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003033/0.8143, allocations: 253.8 kB / 0.865 GB, free: 2.359 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003318/0.8146, allocations: 146.2 kB / 0.8652 GB, free: 2.211 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001919/0.8148, allocations: 330 kB / 0.8655 GB, free: 1.883 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000721/0.8155, allocations: 237.2 kB / 0.8657 GB, free: 1.652 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008685/0.8164, allocations: 315.3 kB / 0.866 GB, free: 1.328 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001575/0.818, allocations: 0.5433 MB / 0.8665 GB, free: 0.7734 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.869e-06/0.818, allocations: 0 / 0.8665 GB, free: 0.7734 MB / 0.6231 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.002714/0.8207, allocations: 0.7786 MB / 0.8673 GB, free: 15.98 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.014e-05/0.8207, allocations: 7.938 kB / 0.8673 GB, free: 15.97 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.166e-06/0.8207, allocations: 4.031 kB / 0.8673 GB, free: 15.97 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007971/0.8215, allocations: 84.7 kB / 0.8674 GB, free: 15.89 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00087/0.8224, allocations: 147.7 kB / 0.8675 GB, free: 15.75 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002823/0.8252, allocations: 1.543 MB / 0.869 GB, free: 14.08 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008275/0.826, allocations: 75.64 kB / 0.8691 GB, free: 14 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.798e-05/0.8261, allocations: 31.98 kB / 0.8691 GB, free: 13.97 MB / 0.6387 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 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,$whenCondition1,$whenCondition2) * 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 (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.0007204/0.8268, allocations: 279.4 kB / 0.8694 GB, free: 13.69 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003051/0.8271, allocations: 103.3 kB / 0.8695 GB, free: 13.59 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003354/0.8305, allocations: 0.9602 MB / 0.8704 GB, free: 12.62 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.724e-05/0.8305, allocations: 8 kB / 0.8705 GB, free: 12.62 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.391e-06/0.8305, allocations: 3.984 kB / 0.8705 GB, free: 12.61 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.281e-05/0.8305, allocations: 7.984 kB / 0.8705 GB, free: 12.61 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001668/0.8322, allocations: 0.9106 MB / 0.8714 GB, free: 11.65 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.721e-06/0.8322, allocations: 0 / 0.8714 GB, free: 11.65 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008168/0.833, allocations: 135.8 kB / 0.8715 GB, free: 11.52 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006272/0.8336, allocations: 76.81 kB / 0.8716 GB, free: 11.44 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.118e-05/0.8337, allocations: 23.98 kB / 0.8716 GB, free: 11.42 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002819/0.8365, allocations: 1.562 MB / 0.8731 GB, free: 9.734 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.185e-06/0.8365, allocations: 4.062 kB / 0.8731 GB, free: 9.73 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002704/0.8393, allocations: 0.8456 MB / 0.8739 GB, free: 8.859 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005905/0.8398, allocations: 199 kB / 0.8741 GB, free: 8.664 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001907/0.84, allocations: 23.94 kB / 0.8742 GB, free: 8.641 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000794/0.8408, allocations: 51.94 kB / 0.8742 GB, free: 8.59 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001651/0.841, allocations: 52.89 kB / 0.8743 GB, free: 8.539 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.215e-05/0.8411, allocations: 35.98 kB / 0.8743 GB, free: 8.504 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001067/0.8422, allocations: 0.5263 MB / 0.8748 GB, free: 7.98 MB / 0.6387 GB Notification: Performance of sort global known variables: time 9e-08/0.8422, allocations: 0 / 0.8748 GB, free: 7.98 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001285/0.8434, allocations: 322.9 kB / 0.8751 GB, free: 7.664 MB / 0.6387 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 (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.002556/0.846, allocations: 0.59 MB / 0.8757 GB, free: 7.285 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.002269/0.8483, allocations: 0.7121 MB / 0.8764 GB, free: 6.559 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 8.636e-06/0.8483, allocations: 4 kB / 0.8764 GB, free: 6.555 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.001285/0.8496, allocations: 460.4 kB / 0.8768 GB, free: 6.09 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002153/0.8517, allocations: 458.6 kB / 0.8773 GB, free: 5.688 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005921/0.8576, allocations: 1.942 MB / 0.8792 GB, free: 3.719 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000761/0.8584, allocations: 1.071 MB / 0.8802 GB, free: 2.621 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0008122/0.8592, allocations: 279.1 kB / 0.8805 GB, free: 2.344 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002401/0.8594, allocations: 103.4 kB / 0.8806 GB, free: 2.242 MB / 0.6387 GB Notification: Performance of SimCode: time 6.61e-07/0.8594, allocations: 0 / 0.8806 GB, free: 2.242 MB / 0.6387 GB Notification: Performance of Templates: time 0.03143/0.8909, allocations: 16.48 MB / 0.8967 GB, free: 1.906 MB / 0.6544 GB " [Timeout remaining time 659] make -j1 -f IDEAS_IDEAS.Utilities.IO.SignalExchange.Examples.WeatherStation.makefile [Timeout 660] (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) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.135084748268127] Failed to read output from testmodel.py, exit status != 0: 0.9003760740160942 0.915536159 0.129837957 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7f502d30d7b0>