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.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.001333/0.001333, allocations: 80.59 kB / 19.76 MB, free: 2.039 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.001433/0.001433, allocations: 158 kB / 23 MB, free: 4.945 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.57/1.57, allocations: 177.2 MB / 203.4 MB, free: 9.285 MB / 190.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.8237/0.8237, allocations: 101.3 MB / 361.1 MB, free: 10.08 MB / 334.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [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.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_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: 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.002124/0.002124, allocations: 68.52 kB / 0.5356 GB, free: 5.562 MB / 446.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. Notification: Performance of FrontEnd - Absyn->SCode: time 0.1938/0.1959, allocations: 85.88 MB / 0.6195 GB, free: 1.898 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.SignalExchange.Examples.WeatherStation): time 0.007274/0.2032, allocations: 4.462 MB / 0.6238 GB, free: 13.42 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.5143/0.7175, allocations: 132.8 MB / 0.7535 GB, free: 11.79 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001233/0.7188, allocations: 36.66 kB / 0.7536 GB, free: 11.77 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0008429/0.7196, allocations: 350.2 kB / 0.7539 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.002101/0.7217, allocations: 0.5111 MB / 0.7544 GB, free: 11.24 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.002673/0.7244, allocations: 0.861 MB / 0.7552 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.002448/0.7268, allocations: 1.37 MB / 0.7566 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009934/0.7278, allocations: 0.5235 MB / 0.7571 GB, free: 9.742 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001144/0.729, allocations: 0.7669 MB / 0.7578 GB, free: 9.348 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006856/0.7297, allocations: 468 kB / 0.7583 GB, free: 9.105 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001987/0.7299, allocations: 120.6 kB / 0.7584 GB, free: 9.105 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001231/0.7311, allocations: 0.4904 MB / 0.7589 GB, free: 8.996 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0003083/0.7314, allocations: 322.4 kB / 0.7592 GB, free: 8.785 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0004711/0.7319, allocations: 471.1 kB / 0.7596 GB, free: 8.492 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.002939/0.7348, allocations: 1.825 MB / 0.7614 GB, free: 7.688 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 1.137e-05/0.7348, allocations: 4 kB / 0.7614 GB, free: 7.684 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.224e-06/0.7348, allocations: 2.938 kB / 0.7614 GB, free: 7.684 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.085e-05/0.7348, allocations: 0 / 0.7614 GB, free: 7.684 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: 239 * Number of variables: 239 Notification: Performance of Generate backend data structure: time 0.003509/0.7384, allocations: 1.562 MB / 0.7629 GB, free: 6.473 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.03e-05/0.7384, allocations: 14.69 kB / 0.763 GB, free: 6.469 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001509/0.7399, allocations: 259.5 kB / 0.7632 GB, free: 6.348 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001638/0.7415, allocations: 0.8093 MB / 0.764 GB, free: 5.719 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.41e-05/0.7416, allocations: 68.53 kB / 0.7641 GB, free: 5.688 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001116/0.7417, allocations: 88.53 kB / 0.7642 GB, free: 5.66 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001877/0.7436, allocations: 1.228 MB / 0.7654 GB, free: 4.73 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.686e-05/0.7436, allocations: 3.938 kB / 0.7654 GB, free: 4.727 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.146e-05/0.7437, allocations: 41.41 kB / 0.7654 GB, free: 4.695 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.586e-05/0.7437, allocations: 26.09 kB / 0.7654 GB, free: 4.691 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001631/0.7454, allocations: 1.067 MB / 0.7665 GB, free: 4.168 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003986/0.7493, allocations: 2.237 MB / 0.7686 GB, free: 2.496 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001244/0.7506, allocations: 0.662 MB / 0.7693 GB, free: 2.156 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004654/0.7511, allocations: 248 kB / 0.7695 GB, free: 2.027 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 7.604e-05/0.7511, allocations: 25.22 kB / 0.7696 GB, free: 2.02 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008654/0.752, allocations: 0.5061 MB / 0.77 GB, free: 1.625 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=69): time 3.807e-06/0.752, allocations: 3.938 kB / 0.77 GB, free: 1.621 MB / 0.6075 GB Notification: Performance of matching and sorting (n=69): time 0.002972/0.755, allocations: 1.007 MB / 0.771 GB, free: 1.113 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001271/0.7551, allocations: 188.7 kB / 0.7712 GB, free: 0.8945 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009537/0.7561, allocations: 0.7094 MB / 0.7719 GB, free: 496 kB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 6.99e-05/0.7561, allocations: 40.42 kB / 0.7719 GB, free: 452 kB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004943/0.7566, allocations: 0.5009 MB / 0.7724 GB, free: 15.99 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002262/0.7568, allocations: 243.1 kB / 0.7727 GB, free: 15.78 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002287/0.7571, allocations: 147.3 kB / 0.7728 GB, free: 15.69 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001606/0.7572, allocations: 327.7 kB / 0.7731 GB, free: 15.37 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004658/0.7577, allocations: 234.3 kB / 0.7733 GB, free: 15.26 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000649/0.7583, allocations: 447.1 kB / 0.7738 GB, free: 14.92 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001008/0.7594, allocations: 0.5446 MB / 0.7743 GB, free: 14.62 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.616e-06/0.7594, allocations: 0 / 0.7743 GB, free: 14.62 MB / 0.6231 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001828/0.7612, allocations: 0.7817 MB / 0.7751 GB, free: 14.22 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.749e-05/0.7612, allocations: 5.719 kB / 0.7751 GB, free: 14.22 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.7612, allocations: 0 / 0.7751 GB, free: 14.22 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006341/0.7618, allocations: 93.23 kB / 0.7752 GB, free: 14.17 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005923/0.7624, allocations: 143.5 kB / 0.7753 GB, free: 14.13 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002185/0.7646, allocations: 1.51 MB / 0.7768 GB, free: 12.7 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006352/0.7653, allocations: 75.58 kB / 0.7768 GB, free: 12.65 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.227e-05/0.7653, allocations: 32.88 kB / 0.7769 GB, free: 12.64 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: 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.0004543/0.7658, allocations: 277.5 kB / 0.7771 GB, free: 12.42 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001543/0.7659, allocations: 94.2 kB / 0.7772 GB, free: 12.37 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002224/0.7682, allocations: 0.9718 MB / 0.7782 GB, free: 11.82 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.472e-06/0.7682, allocations: 8 kB / 0.7782 GB, free: 11.82 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.084e-06/0.7682, allocations: 0 / 0.7782 GB, free: 11.82 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.1e-05/0.7682, allocations: 3.984 kB / 0.7782 GB, free: 11.82 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000882/0.7691, allocations: 0.6773 MB / 0.7788 GB, free: 11.36 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.461e-06/0.7691, allocations: 3.938 kB / 0.7789 GB, free: 11.35 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005293/0.7696, allocations: 131.6 kB / 0.779 GB, free: 11.32 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004765/0.7701, allocations: 73.94 kB / 0.779 GB, free: 11.29 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.126e-05/0.7701, allocations: 21.8 kB / 0.7791 GB, free: 11.27 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002025/0.7721, allocations: 1.538 MB / 0.7806 GB, free: 9.812 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.7721, allocations: 3.938 kB / 0.7806 GB, free: 9.809 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001842/0.774, allocations: 0.847 MB / 0.7814 GB, free: 9.344 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003709/0.7744, allocations: 191.1 kB / 0.7816 GB, free: 9.203 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001051/0.7745, allocations: 17.16 kB / 0.7816 GB, free: 9.191 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005375/0.775, allocations: 56.42 kB / 0.7817 GB, free: 9.16 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001197/0.7751, allocations: 65.17 kB / 0.7817 GB, free: 9.121 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.14e-05/0.7752, allocations: 30.47 kB / 0.7817 GB, free: 9.109 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0006885/0.7759, allocations: 0.4969 MB / 0.7822 GB, free: 8.824 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1e-07/0.7759, allocations: 0 / 0.7822 GB, free: 8.824 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0008082/0.7767, allocations: 326.5 kB / 0.7825 GB, free: 8.715 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: 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.00199/0.7787, allocations: 0.627 MB / 0.7832 GB, free: 8.445 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001728/0.7804, allocations: 0.7127 MB / 0.7839 GB, free: 8.062 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 4.789e-06/0.7804, allocations: 3.188 kB / 0.7839 GB, free: 8.062 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0008501/0.7812, allocations: 458.6 kB / 0.7843 GB, free: 7.789 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001666/0.7829, allocations: 440.3 kB / 0.7847 GB, free: 7.582 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004288/0.7872, allocations: 1.956 MB / 0.7866 GB, free: 6.418 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000495/0.7877, allocations: 0.4896 MB / 0.7871 GB, free: 6.129 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0008777/0.7886, allocations: 274.8 kB / 0.7874 GB, free: 5.988 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002424/0.7888, allocations: 104.6 kB / 0.7875 GB, free: 5.957 MB / 0.6231 GB Notification: Performance of SimCode: time 1.162e-06/0.7888, allocations: 0 / 0.7875 GB, free: 5.957 MB / 0.6231 GB Notification: Performance of Templates: time 0.03209/0.8209, allocations: 16.36 MB / 0.8034 GB, free: 9.41 MB / 0.6387 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 -s gbode -gbnls=internal -gberr=embedded -gbm=radauIIA3 -lv LOG_STATS > IDEAS_IDEAS.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.8190054460428655] Failed to read output from testmodel.py, exit status != 0: 0.8296570111997426 0.844739168 0.10665693700000001 Calling exit ...