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.001276/0.001276, allocations: 105.6 kB / 17.08 MB, free: 6.016 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.00141/0.00141, allocations: 193.3 kB / 20.03 MB, free: 3.082 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.435/1.435, allocations: 222.9 MB / 245.7 MB, free: 4.23 MB / 190.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.196/1.196, allocations: 175.5 MB / 473.4 MB, free: 4.816 MB / 366.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-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.001897/0.001897, allocations: 70.44 kB / 0.652 GB, free: 21.99 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1564/0.1583, allocations: 90.04 MB / 0.7399 GB, free: 368 kB / 0.545 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.SignalExchange.Examples.WeatherStation): time 0.007571/0.1659, allocations: 5.625 MB / 0.7454 GB, free: 10.71 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.5299/0.6959, allocations: 150.9 MB / 0.8928 GB, free: 304 kB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001139/0.697, allocations: 26.53 kB / 0.8928 GB, free: 292 kB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.0007577/0.6979, allocations: 358.2 kB / 0.8931 GB, free: 148 kB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.001627/0.6995, allocations: 0.5767 MB / 0.8937 GB, free: 15.97 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.001742/0.7013, allocations: 0.873 MB / 0.8946 GB, free: 15.91 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.001876/0.7032, allocations: 1.557 MB / 0.8961 GB, free: 15.67 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001323/0.7045, allocations: 0.7632 MB / 0.8968 GB, free: 15.47 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009716/0.7055, allocations: 0.5358 MB / 0.8974 GB, free: 15.46 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007021/0.7062, allocations: 0.5719 MB / 0.8979 GB, free: 15.45 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0002739/0.7065, allocations: 131.8 kB / 0.898 GB, free: 15.45 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001139/0.7076, allocations: 0.4888 MB / 0.8985 GB, free: 15.43 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0003114/0.7079, allocations: 336.4 kB / 0.8988 GB, free: 15.43 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0005642/0.7085, allocations: 0.6642 MB / 0.8995 GB, free: 15.37 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.002059/0.7106, allocations: 1.926 MB / 0.9014 GB, free: 15.04 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.7106, allocations: 3.938 kB / 0.9014 GB, free: 15.03 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.844e-06/0.7106, allocations: 1.156 kB / 0.9014 GB, free: 15.03 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 2.071e-05/0.7106, allocations: 0 / 0.9014 GB, free: 15.03 MB / 0.6856 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.00288/0.7135, allocations: 1.723 MB / 0.9031 GB, free: 14.08 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.775e-05/0.7136, allocations: 9.656 kB / 0.9031 GB, free: 14.08 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009715/0.7145, allocations: 227.2 kB / 0.9033 GB, free: 13.99 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001317/0.7159, allocations: 0.9191 MB / 0.9042 GB, free: 13.61 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.928e-05/0.7159, allocations: 72.81 kB / 0.9042 GB, free: 13.61 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001131/0.7161, allocations: 95.12 kB / 0.9043 GB, free: 13.61 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001623/0.7177, allocations: 1.033 MB / 0.9053 GB, free: 13.45 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.567e-05/0.7177, allocations: 3.984 kB / 0.9053 GB, free: 13.45 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.343e-05/0.7178, allocations: 44.53 kB / 0.9054 GB, free: 13.45 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.429e-05/0.7178, allocations: 23.94 kB / 0.9054 GB, free: 13.45 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001753/0.7196, allocations: 1.174 MB / 0.9066 GB, free: 13.43 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004235/0.7238, allocations: 3.064 MB / 0.9096 GB, free: 12.26 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001339/0.7252, allocations: 0.7951 MB / 0.9103 GB, free: 12.22 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004768/0.7257, allocations: 302.2 kB / 0.9106 GB, free: 12.21 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 7.656e-05/0.7258, allocations: 39.08 kB / 0.9107 GB, free: 12.2 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007957/0.7266, allocations: 489.3 kB / 0.9111 GB, free: 12.12 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=78): time 2.435e-06/0.7266, allocations: 4 kB / 0.9111 GB, free: 12.12 MB / 0.6856 GB Notification: Performance of matching and sorting (n=78): time 0.003072/0.7297, allocations: 1.205 MB / 0.9123 GB, free: 11.91 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001204/0.7298, allocations: 196.8 kB / 0.9125 GB, free: 11.68 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009471/0.7308, allocations: 0.7941 MB / 0.9133 GB, free: 11.54 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 7.362e-05/0.7308, allocations: 40.2 kB / 0.9133 GB, free: 11.5 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.000368/0.7312, allocations: 0.518 MB / 0.9138 GB, free: 11.29 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002139/0.7314, allocations: 261 kB / 0.9141 GB, free: 11.12 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002269/0.7317, allocations: 161.7 kB / 0.9142 GB, free: 11.1 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001463/0.7318, allocations: 340.5 kB / 0.9145 GB, free: 10.79 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004678/0.7323, allocations: 265.5 kB / 0.9148 GB, free: 10.79 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005594/0.7329, allocations: 358.2 kB / 0.9151 GB, free: 10.73 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009588/0.7338, allocations: 0.6036 MB / 0.9157 GB, free: 10.68 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.7339, allocations: 0 / 0.9157 GB, free: 10.68 MB / 0.6856 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.001842/0.7357, allocations: 0.8681 MB / 0.9166 GB, free: 10.55 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.035e-05/0.7357, allocations: 7.875 kB / 0.9166 GB, free: 10.55 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.764e-06/0.7357, allocations: 8.469 kB / 0.9166 GB, free: 10.55 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005784/0.7363, allocations: 84.17 kB / 0.9167 GB, free: 10.54 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005789/0.7369, allocations: 151.1 kB / 0.9168 GB, free: 10.53 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002101/0.739, allocations: 1.654 MB / 0.9184 GB, free: 9.125 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000806/0.7398, allocations: 100.6 kB / 0.9185 GB, free: 9.09 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.378e-05/0.7399, allocations: 31.42 kB / 0.9186 GB, free: 9.09 MB / 0.6856 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.0004937/0.7404, allocations: 297.9 kB / 0.9188 GB, free: 8.961 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001782/0.7406, allocations: 109.4 kB / 0.9189 GB, free: 8.902 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002103/0.7427, allocations: 1.074 MB / 0.92 GB, free: 8.777 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.713e-06/0.7427, allocations: 8 kB / 0.92 GB, free: 8.777 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.765e-06/0.7427, allocations: 0 / 0.92 GB, free: 8.777 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.286e-05/0.7428, allocations: 8.297 kB / 0.92 GB, free: 8.773 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001055/0.7438, allocations: 1.006 MB / 0.921 GB, free: 8.555 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.627e-06/0.7438, allocations: 0 / 0.921 GB, free: 8.555 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005107/0.7444, allocations: 147.4 kB / 0.9211 GB, free: 8.543 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000418/0.7448, allocations: 67.31 kB / 0.9212 GB, free: 8.535 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.231e-05/0.7448, allocations: 27.94 kB / 0.9212 GB, free: 8.535 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001891/0.7467, allocations: 1.668 MB / 0.9228 GB, free: 7.129 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.7468, allocations: 0 / 0.9228 GB, free: 7.129 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001824/0.7486, allocations: 0.9552 MB / 0.9238 GB, free: 6.957 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000407/0.749, allocations: 301.3 kB / 0.9241 GB, free: 6.785 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001268/0.7491, allocations: 20.94 kB / 0.9241 GB, free: 6.785 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005826/0.7497, allocations: 60.86 kB / 0.9241 GB, free: 6.785 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001372/0.7499, allocations: 66.53 kB / 0.9242 GB, free: 6.785 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.135e-05/0.75, allocations: 32.17 kB / 0.9242 GB, free: 6.785 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0006602/0.7506, allocations: 0.5623 MB / 0.9248 GB, free: 6.617 MB / 0.6856 GB Notification: Performance of sort global known variables: time 2.01e-07/0.7506, allocations: 4 kB / 0.9248 GB, free: 6.613 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.0008784/0.7515, allocations: 352.9 kB / 0.9251 GB, free: 6.535 MB / 0.6856 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.001822/0.7533, allocations: 0.6043 MB / 0.9257 GB, free: 6.277 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.00164/0.755, allocations: 0.828 MB / 0.9265 GB, free: 5.867 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.755, allocations: 0 / 0.9265 GB, free: 5.867 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0008885/0.7559, allocations: 0.5087 MB / 0.927 GB, free: 5.574 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001697/0.7576, allocations: 475.6 kB / 0.9275 GB, free: 5.34 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00333/0.761, allocations: 2.004 MB / 0.9294 GB, free: 4.125 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006771/0.7616, allocations: 1.093 MB / 0.9305 GB, free: 3.258 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003454/0.762, allocations: 128.7 kB / 0.9306 GB, free: 3.215 MB / 0.6856 GB Notification: Performance of SimCode: time 9.61e-07/0.762, allocations: 0 / 0.9306 GB, free: 3.215 MB / 0.6856 GB Notification: Performance of Templates: time 0.02881/0.7908, allocations: 22.38 MB / 0.9525 GB, free: 6.375 MB / 0.7012 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: 11.920135453998228] Failed to read output from testmodel.py, exit status != 0: 0.7973978399968473 0.8111202909999999 0.097889477 Calling exit ...