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.001327/0.001327, allocations: 80.2 kB / 19.18 MB, free: 2.527 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.00143/0.00143, allocations: 174.4 kB / 22.46 MB, free: 5.355 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.448/1.448, allocations: 177.1 MB / 202.8 MB, free: 9.184 MB / 190.1 MB " [Timeout remaining time 178] 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 1.233/1.233, allocations: 154.6 MB / 413.7 MB, free: 5.309 MB / 382.1 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 178] 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.353e-06/1.353e-06, allocations: 0 / 0.6185 GB, free: 4.684 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.808e-05/2.944e-05, allocations: 2.281 kB / 0.6185 GB, free: 4.68 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.SignalExchange.Examples.WeatherStation): time 0.007519/0.007548, allocations: 5.099 MB / 0.6235 GB, free: 15.57 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.5804/0.588, allocations: 133 MB / 0.7534 GB, free: 5.797 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00133/0.5893, allocations: 43.75 kB / 0.7534 GB, free: 5.77 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001025/0.5903, allocations: 375.7 kB / 0.7538 GB, free: 5.621 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.002199/0.5925, allocations: 0.5945 MB / 0.7543 GB, free: 5.348 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.002132/0.5946, allocations: 0.901 MB / 0.7552 GB, free: 4.887 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.002023/0.5967, allocations: 1.618 MB / 0.7568 GB, free: 4.016 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009019/0.5976, allocations: 493.9 kB / 0.7573 GB, free: 3.719 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001214/0.5988, allocations: 0.8196 MB / 0.7581 GB, free: 3.328 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005642/0.5993, allocations: 443.8 kB / 0.7585 GB, free: 3.152 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0002079/0.5996, allocations: 133.9 kB / 0.7586 GB, free: 3.152 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001133/0.6007, allocations: 0.5041 MB / 0.7591 GB, free: 3.039 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0002622/0.601, allocations: 344.4 kB / 0.7594 GB, free: 2.812 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0004168/0.6014, allocations: 433.5 kB / 0.7599 GB, free: 2.594 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.002428/0.6038, allocations: 2.051 MB / 0.7619 GB, free: 1.73 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.071e-06/0.6038, allocations: 0 / 0.7619 GB, free: 1.73 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.633e-06/0.6038, allocations: 5.656 kB / 0.7619 GB, free: 1.727 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.209e-05/0.6038, allocations: 0 / 0.7619 GB, free: 1.727 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.003319/0.6072, allocations: 1.664 MB / 0.7635 GB, free: 0.6367 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.825e-05/0.6072, allocations: 10.59 kB / 0.7635 GB, free: 0.6367 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00167/0.6089, allocations: 262.8 kB / 0.7637 GB, free: 0.5508 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00148/0.6104, allocations: 0.8374 MB / 0.7646 GB, free: 44 kB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.991e-05/0.6104, allocations: 75.56 kB / 0.7646 GB, free: 8 kB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001544/0.6106, allocations: 101 kB / 0.7647 GB, free: 15.97 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0021/0.6127, allocations: 1.28 MB / 0.766 GB, free: 15.2 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.88e-05/0.6127, allocations: 6.875 kB / 0.766 GB, free: 15.19 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001072/0.6128, allocations: 44.72 kB / 0.766 GB, free: 15.16 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.824e-05/0.6128, allocations: 23.28 kB / 0.7661 GB, free: 15.16 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002035/0.6149, allocations: 1.121 MB / 0.7672 GB, free: 14.71 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004911/0.6198, allocations: 2.355 MB / 0.7695 GB, free: 12.96 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001526/0.6213, allocations: 0.7523 MB / 0.7702 GB, free: 12.57 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005455/0.6219, allocations: 276 kB / 0.7704 GB, free: 12.43 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 8.059e-05/0.6219, allocations: 21.2 kB / 0.7705 GB, free: 12.42 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009747/0.6229, allocations: 0.5778 MB / 0.771 GB, free: 11.99 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=78): time 2.665e-06/0.6229, allocations: 0 / 0.771 GB, free: 11.99 MB / 0.6231 GB Notification: Performance of matching and sorting (n=78): time 0.003383/0.6263, allocations: 1.138 MB / 0.7721 GB, free: 11.42 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001456/0.6264, allocations: 192.6 kB / 0.7723 GB, free: 11.2 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001145/0.6276, allocations: 0.7563 MB / 0.7731 GB, free: 10.77 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 8.817e-05/0.6277, allocations: 42.64 kB / 0.7731 GB, free: 10.73 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005502/0.6282, allocations: 0.524 MB / 0.7736 GB, free: 10.26 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002706/0.6285, allocations: 263 kB / 0.7739 GB, free: 10.03 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002924/0.6288, allocations: 163.9 kB / 0.774 GB, free: 9.934 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001996/0.629, allocations: 335.4 kB / 0.7743 GB, free: 9.605 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005672/0.6295, allocations: 262.1 kB / 0.7746 GB, free: 9.477 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007285/0.6303, allocations: 494 kB / 0.7751 GB, free: 9.117 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00115/0.6314, allocations: 0.6068 MB / 0.7757 GB, free: 8.785 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.018e-06/0.6314, allocations: 3.938 kB / 0.7757 GB, free: 8.781 MB / 0.6231 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.002207/0.6336, allocations: 0.8624 MB / 0.7765 GB, free: 8.34 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.641e-05/0.6337, allocations: 7.531 kB / 0.7765 GB, free: 8.34 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.05e-05/0.6337, allocations: 0 / 0.7765 GB, free: 8.34 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006602/0.6343, allocations: 82.75 kB / 0.7766 GB, free: 8.301 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006648/0.635, allocations: 164.7 kB / 0.7767 GB, free: 8.254 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002618/0.6376, allocations: 1.508 MB / 0.7782 GB, free: 6.816 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009837/0.6386, allocations: 84.98 kB / 0.7783 GB, free: 6.762 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.136e-05/0.6387, allocations: 36.19 kB / 0.7783 GB, free: 6.75 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.0007142/0.6394, allocations: 295.4 kB / 0.7786 GB, free: 6.523 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002296/0.6396, allocations: 103.4 kB / 0.7787 GB, free: 6.469 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002465/0.6421, allocations: 1.075 MB / 0.7798 GB, free: 5.871 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.876e-06/0.6421, allocations: 7.969 kB / 0.7798 GB, free: 5.871 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.465e-06/0.6421, allocations: 0 / 0.7798 GB, free: 5.871 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.171e-05/0.6421, allocations: 3.984 kB / 0.7798 GB, free: 5.867 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001136/0.6433, allocations: 0.7202 MB / 0.7805 GB, free: 5.371 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.678e-06/0.6433, allocations: 6.656 kB / 0.7805 GB, free: 5.367 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005403/0.6438, allocations: 146.2 kB / 0.7806 GB, free: 5.328 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004515/0.6443, allocations: 70.16 kB / 0.7807 GB, free: 5.293 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.289e-05/0.6443, allocations: 27.94 kB / 0.7807 GB, free: 5.273 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002064/0.6464, allocations: 1.525 MB / 0.7822 GB, free: 3.832 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.787e-06/0.6464, allocations: 8.125 kB / 0.7822 GB, free: 3.824 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002149/0.6485, allocations: 0.9458 MB / 0.7831 GB, free: 3.309 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005083/0.649, allocations: 219.8 kB / 0.7834 GB, free: 3.145 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001436/0.6492, allocations: 20.97 kB / 0.7834 GB, free: 3.129 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000652/0.6498, allocations: 62.19 kB / 0.7834 GB, free: 3.098 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001734/0.65, allocations: 71.56 kB / 0.7835 GB, free: 3.055 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.883e-05/0.6501, allocations: 37.12 kB / 0.7835 GB, free: 3.039 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0007552/0.6508, allocations: 0.5307 MB / 0.7841 GB, free: 2.734 MB / 0.6231 GB Notification: Performance of sort global known variables: time 7.1e-08/0.6508, allocations: 0 / 0.7841 GB, free: 2.734 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001164/0.652, allocations: 360.4 kB / 0.7844 GB, free: 2.621 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.002113/0.6541, allocations: 0.6384 MB / 0.785 GB, free: 2.375 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.00172/0.6558, allocations: 0.7977 MB / 0.7858 GB, free: 1.945 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.477e-06/0.6558, allocations: 2.219 kB / 0.7858 GB, free: 1.945 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0009538/0.6568, allocations: 491.7 kB / 0.7863 GB, free: 1.664 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001896/0.6587, allocations: 459.4 kB / 0.7867 GB, free: 1.457 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003825/0.6625, allocations: 1.961 MB / 0.7886 GB, free: 276 kB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005473/0.6631, allocations: 0.5113 MB / 0.7891 GB, free: 15.98 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0009051/0.664, allocations: 284 kB / 0.7894 GB, free: 15.83 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002861/0.6643, allocations: 114.3 kB / 0.7895 GB, free: 15.8 MB / 0.6387 GB Notification: Performance of SimCode: time 7.52e-07/0.6643, allocations: 0 / 0.7895 GB, free: 15.8 MB / 0.6387 GB Notification: Performance of Templates: time 0.03212/0.6964, allocations: 17.59 MB / 0.8067 GB, free: 3.629 MB / 0.6387 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: 7.096453033387661] Failed to read output from testmodel.py, exit status != 0: 0.7056099213659763 0.720761381 0.113692867 Calling exit ...