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.001549/0.001549, allocations: 77.7 kB / 19.76 MB, free: 2.031 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.00129/0.00129, allocations: 157.9 kB / 23.01 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.397/1.397, allocations: 177.2 MB / 203.4 MB, free: 8.961 MB / 190.1 MB " [Timeout remaining time 179] 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.8049/0.8049, allocations: 101.3 MB / 361.1 MB, free: 9.543 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.002145/0.002145, allocations: 66.61 kB / 0.5356 GB, free: 5.266 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.1375/0.1397, allocations: 85.88 MB / 0.6195 GB, free: 1.59 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.SignalExchange.Examples.WeatherStation): time 0.006729/0.1464, allocations: 4.463 MB / 0.6238 GB, free: 13.11 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.4278/0.5742, allocations: 132.8 MB / 0.7535 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007514/0.575, allocations: 35.16 kB / 0.7536 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0007258/0.5757, allocations: 344.4 kB / 0.7539 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.001386/0.5771, allocations: 0.526 MB / 0.7544 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001744/0.5788, allocations: 0.8583 MB / 0.7553 GB, free: 10.56 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001303/0.5801, allocations: 1.36 MB / 0.7566 GB, free: 9.848 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007761/0.5809, allocations: 0.5389 MB / 0.7571 GB, free: 9.512 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005444/0.5814, allocations: 0.5065 MB / 0.7576 GB, free: 9.246 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005432/0.582, allocations: 465.7 kB / 0.758 GB, free: 9.008 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001667/0.5822, allocations: 121.2 kB / 0.7582 GB, free: 9.008 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007593/0.5829, allocations: 0.4899 MB / 0.7586 GB, free: 8.895 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.000303/0.5832, allocations: 311.9 kB / 0.7589 GB, free: 8.691 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0004434/0.5837, allocations: 481.2 kB / 0.7594 GB, free: 8.391 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.001752/0.5854, allocations: 1.83 MB / 0.7612 GB, free: 7.598 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.5854, allocations: 0 / 0.7612 GB, free: 7.598 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.363e-06/0.5854, allocations: 0 / 0.7612 GB, free: 7.598 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.394e-05/0.5854, allocations: 0 / 0.7612 GB, free: 7.598 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.002308/0.5877, allocations: 1.561 MB / 0.7627 GB, free: 6.473 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 2.849e-05/0.5878, allocations: 16.34 kB / 0.7627 GB, free: 6.469 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001435/0.5892, allocations: 255.8 kB / 0.763 GB, free: 6.348 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001322/0.5905, allocations: 0.8117 MB / 0.7638 GB, free: 5.719 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.941e-05/0.5906, allocations: 76.39 kB / 0.7638 GB, free: 5.68 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.938e-05/0.5907, allocations: 93.59 kB / 0.7639 GB, free: 5.648 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001701/0.5924, allocations: 1.214 MB / 0.7651 GB, free: 4.73 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.312e-05/0.5924, allocations: 0 / 0.7651 GB, free: 4.73 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.14e-05/0.5925, allocations: 42.56 kB / 0.7652 GB, free: 4.699 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.653e-05/0.5925, allocations: 26.3 kB / 0.7652 GB, free: 4.695 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001687/0.5942, allocations: 1.076 MB / 0.7662 GB, free: 4.164 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003635/0.5978, allocations: 2.23 MB / 0.7684 GB, free: 2.504 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001188/0.599, allocations: 0.6676 MB / 0.7691 GB, free: 2.156 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004464/0.5995, allocations: 244 kB / 0.7693 GB, free: 2.031 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 6.025e-05/0.5995, allocations: 20.64 kB / 0.7693 GB, free: 2.027 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007774/0.6003, allocations: 0.5182 MB / 0.7698 GB, free: 1.621 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=69): time 2.064e-06/0.6003, allocations: 0 / 0.7698 GB, free: 1.621 MB / 0.6075 GB Notification: Performance of matching and sorting (n=69): time 0.00282/0.6031, allocations: 1.01 MB / 0.7708 GB, free: 1.109 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001179/0.6032, allocations: 188.7 kB / 0.771 GB, free: 0.8906 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008105/0.6041, allocations: 0.7057 MB / 0.7717 GB, free: 496 kB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 5.79e-05/0.6041, allocations: 40.39 kB / 0.7717 GB, free: 452 kB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.000421/0.6045, allocations: 0.4969 MB / 0.7722 GB, free: 16 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002041/0.6047, allocations: 246.8 kB / 0.7724 GB, free: 15.78 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002051/0.6049, allocations: 144.3 kB / 0.7726 GB, free: 15.7 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001584/0.6051, allocations: 329.5 kB / 0.7729 GB, free: 15.38 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004523/0.6056, allocations: 235 kB / 0.7731 GB, free: 15.26 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006332/0.6062, allocations: 455 kB / 0.7735 GB, free: 14.91 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001004/0.6072, allocations: 0.5377 MB / 0.7741 GB, free: 14.62 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/0.6072, allocations: 0 / 0.7741 GB, free: 14.62 MB / 0.6231 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001783/0.609, allocations: 0.7849 MB / 0.7748 GB, free: 14.21 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.244e-05/0.609, allocations: 2.969 kB / 0.7748 GB, free: 14.21 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.64e-06/0.609, allocations: 2.344 kB / 0.7748 GB, free: 14.21 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006217/0.6096, allocations: 79.69 kB / 0.7749 GB, free: 14.18 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005708/0.6102, allocations: 149.1 kB / 0.7751 GB, free: 14.14 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002115/0.6123, allocations: 1.511 MB / 0.7765 GB, free: 12.7 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005784/0.6129, allocations: 73.97 kB / 0.7766 GB, free: 12.65 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.945e-05/0.6129, allocations: 29.39 kB / 0.7766 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.0003845/0.6133, allocations: 281.5 kB / 0.7769 GB, free: 12.43 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000165/0.6135, allocations: 98.36 kB / 0.777 GB, free: 12.37 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002189/0.6157, allocations: 0.9653 MB / 0.7779 GB, free: 11.83 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.132e-06/0.6157, allocations: 7.969 kB / 0.7779 GB, free: 11.83 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.285e-06/0.6157, allocations: 0 / 0.7779 GB, free: 11.83 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.329e-05/0.6157, allocations: 8.016 kB / 0.7779 GB, free: 11.82 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008192/0.6165, allocations: 0.6869 MB / 0.7786 GB, free: 11.35 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.6165, allocations: 6.156 kB / 0.7786 GB, free: 11.34 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005348/0.6171, allocations: 135.4 kB / 0.7788 GB, free: 11.31 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004542/0.6175, allocations: 78.25 kB / 0.7788 GB, free: 11.27 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.812e-05/0.6176, allocations: 21.33 kB / 0.7788 GB, free: 11.25 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001972/0.6195, allocations: 1.535 MB / 0.7803 GB, free: 9.801 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.6195, allocations: 0 / 0.7803 GB, free: 9.801 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001761/0.6213, allocations: 0.844 MB / 0.7812 GB, free: 9.34 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003678/0.6217, allocations: 188.1 kB / 0.7814 GB, free: 9.199 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001035/0.6218, allocations: 25.77 kB / 0.7814 GB, free: 9.18 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005297/0.6223, allocations: 43.89 kB / 0.7814 GB, free: 9.16 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001093/0.6224, allocations: 64.84 kB / 0.7815 GB, free: 9.121 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.516e-05/0.6225, allocations: 26.73 kB / 0.7815 GB, free: 9.113 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0005852/0.6231, allocations: 0.5006 MB / 0.782 GB, free: 8.824 MB / 0.6231 GB Notification: Performance of sort global known variables: time 7e-08/0.6231, allocations: 0 / 0.782 GB, free: 8.824 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0006924/0.6237, allocations: 322.9 kB / 0.7823 GB, free: 8.719 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.001985/0.6257, allocations: 0.6266 MB / 0.7829 GB, free: 8.449 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001415/0.6271, allocations: 0.7255 MB / 0.7836 GB, free: 8.055 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.6272, allocations: 0 / 0.7836 GB, free: 8.055 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0008237/0.628, allocations: 455.1 kB / 0.7841 GB, free: 7.785 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001505/0.6295, allocations: 440.4 kB / 0.7845 GB, free: 7.574 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003874/0.6334, allocations: 1.958 MB / 0.7864 GB, free: 6.41 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004723/0.6338, allocations: 0.489 MB / 0.7869 GB, free: 6.121 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0007011/0.6345, allocations: 263.7 kB / 0.7871 GB, free: 5.992 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002253/0.6348, allocations: 109.8 kB / 0.7872 GB, free: 5.953 MB / 0.6231 GB Notification: Performance of SimCode: time 3.31e-07/0.6348, allocations: 0 / 0.7872 GB, free: 5.953 MB / 0.6231 GB Notification: Performance of Templates: time 0.02693/0.6617, allocations: 16.36 MB / 0.8032 GB, free: 9.324 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 ida -lv LOG_STATS > IDEAS_IDEAS.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.2777905240654945] Failed to read output from testmodel.py, exit status != 0: 0.6691654379246756 0.684107225 0.095616855 Calling exit ...