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.001544/0.001544, allocations: 79.28 kB / 19.18 MB, free: 2.516 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.001414/0.001414, allocations: 163.1 kB / 22.46 MB, free: 5.375 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.433/1.433, allocations: 177.1 MB / 202.8 MB, free: 9.145 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:686:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 4.0.0/package.mo): time 1.194/1.194, allocations: 154.6 MB / 413.8 MB, free: 5.227 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.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 4.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 178] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.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: Performance of FrontEnd - loaded program: time 1.453e-06/1.453e-06, allocations: 0 / 0.6185 GB, free: 4.59 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.637e-05/2.782e-05, allocations: 3 kB / 0.6186 GB, free: 4.586 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.SignalExchange.Examples.WeatherStation): time 0.008218/0.008246, allocations: 5.095 MB / 0.6235 GB, free: 15.47 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.5876/0.5958, allocations: 133 MB / 0.7534 GB, free: 5.684 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001065/0.5969, allocations: 34.81 kB / 0.7535 GB, free: 5.664 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0007676/0.5976, allocations: 379.7 kB / 0.7538 GB, free: 5.512 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.001626/0.5993, allocations: 0.5942 MB / 0.7544 GB, free: 5.238 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.00178/0.601, allocations: 0.9152 MB / 0.7553 GB, free: 4.777 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.00151/0.6025, allocations: 1.613 MB / 0.7569 GB, free: 3.91 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000754/0.6033, allocations: 494.2 kB / 0.7573 GB, free: 3.613 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009562/0.6043, allocations: 0.8179 MB / 0.7581 GB, free: 3.227 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005386/0.6048, allocations: 434.4 kB / 0.7586 GB, free: 3.059 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0002561/0.6051, allocations: 138 kB / 0.7587 GB, free: 3.055 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00198/0.607, allocations: 0.5071 MB / 0.7592 GB, free: 2.938 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0004841/0.6075, allocations: 347.7 kB / 0.7595 GB, free: 2.707 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.000819/0.6083, allocations: 434.6 kB / 0.7599 GB, free: 2.488 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.003617/0.612, allocations: 2.044 MB / 0.7619 GB, free: 1.633 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.612, allocations: 5.938 kB / 0.7619 GB, free: 1.629 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.773e-06/0.612, allocations: 0 / 0.7619 GB, free: 1.629 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 2.071e-05/0.612, allocations: 0 / 0.7619 GB, free: 1.629 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: 252 * Number of variables: 252 Notification: Performance of Generate backend data structure: time 0.003753/0.6157, allocations: 1.658 MB / 0.7635 GB, free: 0.5391 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.932e-05/0.6158, allocations: 13.06 kB / 0.7636 GB, free: 0.5352 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002379/0.6182, allocations: 261.5 kB / 0.7638 GB, free: 460 kB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002233/0.6204, allocations: 0.8417 MB / 0.7646 GB, free: 15.93 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001175/0.6205, allocations: 76.25 kB / 0.7647 GB, free: 15.9 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002028/0.6207, allocations: 101.1 kB / 0.7648 GB, free: 15.86 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002888/0.6236, allocations: 1.284 MB / 0.7661 GB, free: 15.09 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.475e-05/0.6236, allocations: 7.281 kB / 0.7661 GB, free: 15.08 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001433/0.6238, allocations: 40.12 kB / 0.7661 GB, free: 15.05 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.541e-05/0.6238, allocations: 24.56 kB / 0.7661 GB, free: 15.05 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00296/0.6268, allocations: 1.124 MB / 0.7672 GB, free: 14.61 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006214/0.633, allocations: 2.351 MB / 0.7695 GB, free: 12.86 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002204/0.6352, allocations: 0.7427 MB / 0.7702 GB, free: 12.48 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007771/0.636, allocations: 271.2 kB / 0.7705 GB, free: 12.34 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001025/0.6361, allocations: 26.38 kB / 0.7705 GB, free: 12.33 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001353/0.6374, allocations: 0.5822 MB / 0.7711 GB, free: 11.89 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=78): time 3.447e-06/0.6374, allocations: 0 / 0.7711 GB, free: 11.89 MB / 0.6231 GB Notification: Performance of matching and sorting (n=78): time 0.004573/0.642, allocations: 1.144 MB / 0.7722 GB, free: 11.32 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001896/0.6422, allocations: 191.9 kB / 0.7724 GB, free: 11.1 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001517/0.6437, allocations: 0.7508 MB / 0.7731 GB, free: 10.68 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0001152/0.6438, allocations: 42.36 kB / 0.7732 GB, free: 10.63 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007306/0.6446, allocations: 0.5122 MB / 0.7737 GB, free: 10.18 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003528/0.6449, allocations: 272 kB / 0.7739 GB, free: 9.941 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003672/0.6453, allocations: 156 kB / 0.7741 GB, free: 9.848 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0002193/0.6455, allocations: 337.4 kB / 0.7744 GB, free: 9.52 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000802/0.6463, allocations: 270.2 kB / 0.7747 GB, free: 9.387 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001042/0.6473, allocations: 494.7 kB / 0.7751 GB, free: 9.02 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001696/0.649, allocations: 0.6063 MB / 0.7757 GB, free: 8.691 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.17e-06/0.649, allocations: 0 / 0.7757 GB, free: 8.691 MB / 0.6231 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.002983/0.652, allocations: 0.8634 MB / 0.7766 GB, free: 8.25 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 3.319e-05/0.6521, allocations: 12.95 kB / 0.7766 GB, free: 8.242 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.381e-05/0.6521, allocations: 0 / 0.7766 GB, free: 8.242 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008489/0.6529, allocations: 78.59 kB / 0.7766 GB, free: 8.207 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000965/0.6539, allocations: 165 kB / 0.7768 GB, free: 8.16 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003145/0.657, allocations: 1.509 MB / 0.7783 GB, free: 6.723 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001197/0.6582, allocations: 81.02 kB / 0.7784 GB, free: 6.672 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.74e-05/0.6583, allocations: 35.75 kB / 0.7784 GB, free: 6.66 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: 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.000631/0.659, allocations: 295.9 kB / 0.7787 GB, free: 6.434 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002129/0.6592, allocations: 107.4 kB / 0.7788 GB, free: 6.375 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002567/0.6617, allocations: 1.079 MB / 0.7798 GB, free: 5.77 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.458e-06/0.6617, allocations: 8.406 kB / 0.7798 GB, free: 5.77 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.628e-06/0.6617, allocations: 0 / 0.7798 GB, free: 5.77 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.258e-05/0.6618, allocations: 7.922 kB / 0.7798 GB, free: 5.762 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001132/0.6629, allocations: 0.7183 MB / 0.7805 GB, free: 5.273 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.694e-06/0.6629, allocations: 3.938 kB / 0.7805 GB, free: 5.27 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005311/0.6634, allocations: 142.9 kB / 0.7807 GB, free: 5.234 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004501/0.6639, allocations: 77.91 kB / 0.7808 GB, free: 5.191 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.668e-05/0.6639, allocations: 28.19 kB / 0.7808 GB, free: 5.172 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001954/0.6659, allocations: 1.524 MB / 0.7823 GB, free: 3.734 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.6659, allocations: 0 / 0.7823 GB, free: 3.734 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00203/0.6679, allocations: 0.9457 MB / 0.7832 GB, free: 3.219 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004341/0.6684, allocations: 217.5 kB / 0.7834 GB, free: 3.055 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001654/0.6685, allocations: 21.55 kB / 0.7834 GB, free: 3.039 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006401/0.6692, allocations: 72.64 kB / 0.7835 GB, free: 3 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001613/0.6693, allocations: 75.36 kB / 0.7836 GB, free: 2.953 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.161e-05/0.6694, allocations: 35.44 kB / 0.7836 GB, free: 2.941 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.000772/0.6702, allocations: 0.525 MB / 0.7841 GB, free: 2.641 MB / 0.6231 GB Notification: Performance of sort global known variables: time 9e-08/0.6702, allocations: 3.938 kB / 0.7841 GB, free: 2.637 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001229/0.6714, allocations: 362.8 kB / 0.7845 GB, free: 2.523 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: 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.00283/0.6742, allocations: 0.6458 MB / 0.7851 GB, free: 2.273 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.00273/0.677, allocations: 0.7842 MB / 0.7859 GB, free: 1.859 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 4.278e-06/0.677, allocations: 0 / 0.7859 GB, free: 1.859 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.001493/0.6785, allocations: 0.4886 MB / 0.7863 GB, free: 1.566 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00279/0.6813, allocations: 459.2 kB / 0.7868 GB, free: 1.355 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005753/0.687, allocations: 1.963 MB / 0.7887 GB, free: 172 kB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000902/0.6879, allocations: 0.5073 MB / 0.7892 GB, free: 15.88 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001363/0.6893, allocations: 287.5 kB / 0.7895 GB, free: 15.73 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004309/0.6897, allocations: 113.9 kB / 0.7896 GB, free: 15.7 MB / 0.6387 GB Notification: Performance of SimCode: time 1.072e-06/0.6897, allocations: 0 / 0.7896 GB, free: 15.7 MB / 0.6387 GB Notification: Performance of Templates: time 0.0483/0.738, allocations: 17.56 MB / 0.8067 GB, free: 3.566 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 -lv LOG_STATS > IDEAS_IDEAS.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.0337796956300735] Failed to read output from testmodel.py, exit status != 0: 0.7477274015545845 0.7628745299999999 0.14762759599999994 Calling exit ...