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.0007566/0.0007566, allocations: 76.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0008045/0.0008045, allocations: 174.3 kB / 23.21 MB, free: 1.352 MB / 18.57 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 0.8558/0.8558, allocations: 177.1 MB / 203.5 MB, free: 5.77 MB / 186.7 MB " [Timeout remaining time 179] 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 0.7102/0.7102, allocations: 154.5 MB / 414.5 MB, free: 0.8633 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 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: Performance of FrontEnd - loaded program: time 1.252e-06/1.252e-06, allocations: 0 / 0.6192 GB, free: 13.3 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.6e-05/2.725e-05, allocations: 4.953 kB / 0.6192 GB, free: 13.3 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.SignalExchange.Examples.WeatherStation): time 0.00507/0.005097, allocations: 5.085 MB / 0.6242 GB, free: 8.184 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.415/0.4201, allocations: 133 MB / 0.7541 GB, free: 15.02 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009297/0.421, allocations: 34.59 kB / 0.7541 GB, free: 15 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0006881/0.4217, allocations: 380.6 kB / 0.7545 GB, free: 14.74 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.001443/0.4232, allocations: 0.5983 MB / 0.7551 GB, free: 14.39 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.001503/0.4247, allocations: 0.9056 MB / 0.756 GB, free: 13.91 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.001297/0.426, allocations: 1.621 MB / 0.7575 GB, free: 13.04 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006268/0.4266, allocations: 491.8 kB / 0.758 GB, free: 12.75 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008174/0.4274, allocations: 0.824 MB / 0.7588 GB, free: 12.36 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004179/0.4278, allocations: 436.2 kB / 0.7592 GB, free: 12.19 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0001337/0.428, allocations: 138.8 kB / 0.7594 GB, free: 12.19 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008702/0.4288, allocations: 0.4981 MB / 0.7598 GB, free: 12.08 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0002076/0.429, allocations: 340.4 kB / 0.7602 GB, free: 11.86 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0003044/0.4294, allocations: 440.7 kB / 0.7606 GB, free: 11.63 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.001999/0.4314, allocations: 2.048 MB / 0.7626 GB, free: 10.77 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.4314, allocations: 1.469 kB / 0.7626 GB, free: 10.77 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.623e-06/0.4314, allocations: 0 / 0.7626 GB, free: 10.77 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 2.15e-05/0.4314, allocations: 0 / 0.7626 GB, free: 10.77 MB / 0.6355 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.002016/0.4334, allocations: 1.668 MB / 0.7642 GB, free: 9.676 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.187e-05/0.4334, allocations: 15.2 kB / 0.7642 GB, free: 9.672 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000856/0.4343, allocations: 261.8 kB / 0.7645 GB, free: 9.586 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00112/0.4354, allocations: 0.8371 MB / 0.7653 GB, free: 9.078 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.673e-05/0.4355, allocations: 76.41 kB / 0.7654 GB, free: 9.043 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.265e-05/0.4355, allocations: 99.25 kB / 0.7655 GB, free: 9.008 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001288/0.4368, allocations: 1.286 MB / 0.7667 GB, free: 8.23 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.837e-05/0.4369, allocations: 2.188 kB / 0.7667 GB, free: 8.23 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.573e-05/0.4369, allocations: 43.03 kB / 0.7668 GB, free: 8.199 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.705e-05/0.4369, allocations: 24.88 kB / 0.7668 GB, free: 8.199 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001355/0.4383, allocations: 1.124 MB / 0.7679 GB, free: 7.918 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002874/0.4412, allocations: 2.348 MB / 0.7702 GB, free: 6.551 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001011/0.4422, allocations: 0.7432 MB / 0.7709 GB, free: 6.266 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003473/0.4425, allocations: 276.9 kB / 0.7712 GB, free: 6.156 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 6.423e-05/0.4426, allocations: 24.3 kB / 0.7712 GB, free: 6.152 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006504/0.4432, allocations: 0.5865 MB / 0.7718 GB, free: 5.828 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=78): time 3.006e-06/0.4432, allocations: 0 / 0.7718 GB, free: 5.828 MB / 0.6355 GB Notification: Performance of matching and sorting (n=78): time 0.00203/0.4453, allocations: 1.138 MB / 0.7729 GB, free: 5.406 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.037e-05/0.4453, allocations: 194.5 kB / 0.7731 GB, free: 5.184 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001001/0.4463, allocations: 0.7496 MB / 0.7738 GB, free: 4.875 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 5.307e-05/0.4464, allocations: 46.11 kB / 0.7738 GB, free: 4.828 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003421/0.4467, allocations: 0.515 MB / 0.7743 GB, free: 4.422 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001636/0.4469, allocations: 269.1 kB / 0.7746 GB, free: 4.207 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001994/0.4471, allocations: 165 kB / 0.7748 GB, free: 4.129 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 6.148e-05/0.4471, allocations: 336.4 kB / 0.7751 GB, free: 3.812 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003754/0.4475, allocations: 268.5 kB / 0.7753 GB, free: 3.715 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000423/0.4479, allocations: 488.9 kB / 0.7758 GB, free: 3.406 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007121/0.4486, allocations: 0.6062 MB / 0.7764 GB, free: 3.117 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.557e-06/0.4486, allocations: 0 / 0.7764 GB, free: 3.117 MB / 0.6355 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.001226/0.4499, allocations: 0.8626 MB / 0.7772 GB, free: 2.77 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.298e-05/0.4499, allocations: 5.75 kB / 0.7772 GB, free: 2.77 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.977e-06/0.4499, allocations: 1.469 kB / 0.7772 GB, free: 2.77 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003318/0.4502, allocations: 88.69 kB / 0.7773 GB, free: 2.746 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003647/0.4506, allocations: 152.6 kB / 0.7775 GB, free: 2.734 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001203/0.4518, allocations: 1.514 MB / 0.7789 GB, free: 1.359 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004813/0.4523, allocations: 85.25 kB / 0.779 GB, free: 1.32 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.888e-05/0.4523, allocations: 41.64 kB / 0.7791 GB, free: 1.309 MB / 0.6355 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.0004547/0.4528, allocations: 303.6 kB / 0.7794 GB, free: 1.086 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001128/0.4529, allocations: 101.3 kB / 0.7795 GB, free: 1.031 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00142/0.4543, allocations: 1.071 MB / 0.7805 GB, free: 0.6094 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.965e-06/0.4543, allocations: 8.562 kB / 0.7805 GB, free: 0.6094 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.515e-06/0.4543, allocations: 0 / 0.7805 GB, free: 0.6094 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.076e-06/0.4543, allocations: 5.672 kB / 0.7805 GB, free: 0.6094 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007452/0.4551, allocations: 0.718 MB / 0.7812 GB, free: 244 kB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.499e-06/0.4551, allocations: 3.938 kB / 0.7812 GB, free: 240 kB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002998/0.4554, allocations: 144.1 kB / 0.7814 GB, free: 224 kB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002151/0.4556, allocations: 74.61 kB / 0.7814 GB, free: 204 kB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.55e-05/0.4556, allocations: 24.42 kB / 0.7815 GB, free: 192 kB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001157/0.4568, allocations: 1.532 MB / 0.7829 GB, free: 14.8 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.4568, allocations: 1.656 kB / 0.7829 GB, free: 14.8 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001268/0.4581, allocations: 0.944 MB / 0.7839 GB, free: 14.39 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003006/0.4584, allocations: 221 kB / 0.7841 GB, free: 14.26 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.729e-05/0.4584, allocations: 25.56 kB / 0.7841 GB, free: 14.24 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002972/0.4587, allocations: 64.53 kB / 0.7842 GB, free: 14.23 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001159/0.4589, allocations: 73.16 kB / 0.7842 GB, free: 14.21 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.575e-05/0.4589, allocations: 33.98 kB / 0.7843 GB, free: 14.21 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0004818/0.4594, allocations: 0.5232 MB / 0.7848 GB, free: 13.99 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.7e-07/0.4594, allocations: 0 / 0.7848 GB, free: 13.99 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0008252/0.4602, allocations: 357 kB / 0.7851 GB, free: 13.89 MB / 0.6511 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.001008/0.4612, allocations: 0.6513 MB / 0.7858 GB, free: 13.65 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.001213/0.4624, allocations: 0.7976 MB / 0.7865 GB, free: 13.32 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.397e-06/0.4624, allocations: 4.188 kB / 0.7865 GB, free: 13.31 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0005274/0.463, allocations: 497.2 kB / 0.787 GB, free: 13.08 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009989/0.464, allocations: 449.5 kB / 0.7874 GB, free: 12.97 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002535/0.4665, allocations: 2 MB / 0.7894 GB, free: 11.91 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003464/0.4668, allocations: 0.516 MB / 0.7899 GB, free: 11.76 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002393/0.4671, allocations: 125.9 kB / 0.79 GB, free: 11.74 MB / 0.6511 GB Notification: Performance of SimCode: time 1.763e-06/0.4671, allocations: 0 / 0.79 GB, free: 11.74 MB / 0.6511 GB Notification: Performance of Templates: time 0.02141/0.4885, allocations: 22.81 MB / 0.8123 GB, free: 13.76 MB / 0.6667 GB " [Timeout remaining time 660] 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: 8.0604817122221] Failed to read output from testmodel.py, exit status != 0: 0.49451938830316067 0.50354988 0.070255258 Calling exit ...