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.000997/0.000997, allocations: 109.9 kB / 18.93 MB, free: 1.27 MB / 13.93 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.0009834/0.0009834, allocations: 217.7 kB / 22.25 MB, free: 3.699 MB / 13.93 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.945/0.945, allocations: 230.6 MB / 256 MB, free: 9.801 MB / 202.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.7785/0.7785, allocations: 203.8 MB / 0.5042 GB, free: 10.73 MB / 410.7 MB " [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: "" <> buildModelFMU(IDEAS.Utilities.IO.SignalExchange.Examples.WeatherStation,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_IO_SignalExchange_Examples_WeatherStation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.IO.SignalExchange.Examples.WeatherStation,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_IO_SignalExchange_Examples_WeatherStation",fmuType="me",version="2.0",platforms={"static"}) [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.0011/0.0011, allocations: 65.23 kB / 0.7182 GB, free: 4.367 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4804/0.4815, allocations: 102 MB / 0.8178 GB, free: 1.266 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.SignalExchange.Examples.WeatherStation): time 0.005651/0.4871, allocations: 5.74 MB / 0.8234 GB, free: 13.21 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.1371/0.6242, allocations: 154.4 MB / 0.9742 GB, free: 5.289 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00101/0.6252, allocations: 31.69 kB / 0.9743 GB, free: 5.258 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0007726/0.6259, allocations: 377.3 kB / 0.9746 GB, free: 4.887 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.001638/0.6276, allocations: 0.5869 MB / 0.9752 GB, free: 4.301 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.001685/0.6293, allocations: 0.916 MB / 0.9761 GB, free: 3.395 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.001418/0.6307, allocations: 1.585 MB / 0.9776 GB, free: 1.801 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008878/0.6316, allocations: 0.5029 MB / 0.9781 GB, free: 1.262 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005733/0.6321, allocations: 0.5643 MB / 0.9787 GB, free: 0.6953 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000459/0.6326, allocations: 0.5892 MB / 0.9793 GB, free: 108 kB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 0.0001341/0.6327, allocations: 136 kB / 0.9794 GB, free: 15.97 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008572/0.6336, allocations: 0.5269 MB / 0.9799 GB, free: 15.45 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 0.000214/0.6338, allocations: 334.9 kB / 0.9802 GB, free: 15.12 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 0.0003683/0.6342, allocations: 0.6761 MB / 0.9809 GB, free: 14.44 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.001731/0.6359, allocations: 1.971 MB / 0.9828 GB, free: 12.46 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 7.344e-06/0.6359, allocations: 0 / 0.9828 GB, free: 12.46 MB / 0.7605 GB Notification: Performance of FrontEnd: time 2.655e-06/0.6359, allocations: 0 / 0.9828 GB, free: 12.46 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 3.039e-05/0.636, allocations: 7.938 kB / 0.9828 GB, free: 12.45 MB / 0.7605 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.002443/0.6384, allocations: 1.671 MB / 0.9844 GB, free: 10.74 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 4.873e-05/0.6384, allocations: 12.03 kB / 0.9845 GB, free: 10.73 MB / 0.7605 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001239/0.6386, allocations: 152.4 kB / 0.9846 GB, free: 10.57 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008347/0.6394, allocations: 267.8 kB / 0.9849 GB, free: 10.31 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001477/0.6409, allocations: 0.8463 MB / 0.9857 GB, free: 9.438 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.196e-05/0.6409, allocations: 74 kB / 0.9858 GB, free: 9.367 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.65e-05/0.641, allocations: 96 kB / 0.9858 GB, free: 9.273 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001319/0.6423, allocations: 1.039 MB / 0.9869 GB, free: 8.191 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.118e-05/0.6424, allocations: 0 / 0.9869 GB, free: 8.191 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.48e-05/0.6424, allocations: 44 kB / 0.9869 GB, free: 8.148 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.41e-05/0.6424, allocations: 28 kB / 0.9869 GB, free: 8.121 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001147/0.6436, allocations: 1.167 MB / 0.9881 GB, free: 6.953 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002944/0.6465, allocations: 3.016 MB / 0.991 GB, free: 3.805 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009187/0.6474, allocations: 0.7455 MB / 0.9917 GB, free: 3.059 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005693/0.648, allocations: 274.7 kB / 0.992 GB, free: 2.789 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 5.515e-05/0.6481, allocations: 28.61 kB / 0.992 GB, free: 2.762 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005543/0.6486, allocations: 494.9 kB / 0.9925 GB, free: 2.262 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=78): time 2.314e-06/0.6486, allocations: 4 kB / 0.9925 GB, free: 2.258 MB / 0.7605 GB Notification: Performance of matching and sorting (n=78): time 0.001799/0.6504, allocations: 1.138 MB / 0.9936 GB, free: 1.109 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.749e-05/0.6505, allocations: 188.6 kB / 0.9938 GB, free: 0.8828 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007897/0.6513, allocations: 0.8186 MB / 0.9946 GB, free: 40 kB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 5.842e-05/0.6514, allocations: 41.78 kB / 0.9946 GB, free: 15.99 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002838/0.6516, allocations: 0.532 MB / 0.9952 GB, free: 15.45 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001379/0.6518, allocations: 265.7 kB / 0.9954 GB, free: 15.19 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001348/0.6519, allocations: 142.6 kB / 0.9955 GB, free: 15.05 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 8.236e-05/0.652, allocations: 341.9 kB / 0.9959 GB, free: 14.71 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003086/0.6523, allocations: 245.8 kB / 0.9961 GB, free: 14.47 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003888/0.6527, allocations: 350.6 kB / 0.9964 GB, free: 14.1 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006734/0.6534, allocations: 0.5838 MB / 0.997 GB, free: 13.5 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.6534, allocations: 0 / 0.997 GB, free: 13.5 MB / 0.7761 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001094/0.6545, allocations: 0.8179 MB / 0.9978 GB, free: 12.67 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.727e-05/0.6545, allocations: 8 kB / 0.9978 GB, free: 12.66 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.223e-06/0.6545, allocations: 3.938 kB / 0.9978 GB, free: 12.66 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002996/0.6548, allocations: 88.8 kB / 0.9979 GB, free: 12.57 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003134/0.6551, allocations: 147.8 kB / 0.998 GB, free: 12.43 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001579/0.6567, allocations: 1.535 MB / 0.9995 GB, free: 10.77 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003973/0.6571, allocations: 95.56 kB / 0.9996 GB, free: 10.68 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.685e-05/0.6571, allocations: 31.97 kB / 0.9997 GB, free: 10.65 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 15 (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 (84): * Single equations (assignments): 83 * 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.000378/0.6575, allocations: 293.6 kB / 0.9999 GB, free: 10.35 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001184/0.6576, allocations: 107.3 kB / 1 GB, free: 10.25 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001318/0.6589, allocations: 1.084 MB / 1.001 GB, free: 9.152 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.891e-06/0.6589, allocations: 11.94 kB / 1.001 GB, free: 9.141 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.345e-06/0.6589, allocations: 0 / 1.001 GB, free: 9.141 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.092e-06/0.6589, allocations: 7.984 kB / 1.001 GB, free: 9.133 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007756/0.6597, allocations: 0.993 MB / 1.002 GB, free: 8.098 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.939e-06/0.6597, allocations: 0 / 1.002 GB, free: 8.098 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002938/0.66, allocations: 147.7 kB / 1.002 GB, free: 7.953 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002348/0.6603, allocations: 80.72 kB / 1.002 GB, free: 7.871 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.574e-05/0.6603, allocations: 23.98 kB / 1.002 GB, free: 7.848 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001222/0.6615, allocations: 1.562 MB / 1.004 GB, free: 6.164 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.953e-06/0.6615, allocations: 8.062 kB / 1.004 GB, free: 6.156 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001262/0.6628, allocations: 0.9518 MB / 1.005 GB, free: 5.184 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003341/0.6631, allocations: 218.9 kB / 1.005 GB, free: 4.969 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.612e-05/0.6632, allocations: 24 kB / 1.005 GB, free: 4.945 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003107/0.6635, allocations: 59.92 kB / 1.005 GB, free: 4.887 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001141/0.6636, allocations: 76.81 kB / 1.005 GB, free: 4.812 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.452e-05/0.6637, allocations: 39.97 kB / 1.005 GB, free: 4.773 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0005438/0.6642, allocations: 0.5704 MB / 1.006 GB, free: 4.191 MB / 0.7761 GB Notification: Performance of sort global known variables: time 7e-08/0.6642, allocations: 0 / 1.006 GB, free: 4.191 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.001011/0.6652, allocations: 351 kB / 1.006 GB, free: 3.848 MB / 0.7761 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.002296/0.6675, allocations: 2 MB / 1.008 GB, free: 2.023 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.001097/0.6686, allocations: 0.7648 MB / 1.009 GB, free: 1.25 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 3.095e-06/0.6686, allocations: 0 / 1.009 GB, free: 1.25 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0005283/0.6691, allocations: 496.4 kB / 1.009 GB, free: 0.7539 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001076/0.6702, allocations: 485.3 kB / 1.01 GB, free: 328 kB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008095/0.6783, allocations: 7.066 MB / 1.017 GB, free: 9.098 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004823/0.6788, allocations: 1.11 MB / 1.018 GB, free: 7.965 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.0006959/0.6795, allocations: 283.8 kB / 1.018 GB, free: 7.684 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004415/0.6799, allocations: 475.2 kB / 1.018 GB, free: 7.219 MB / 0.7917 GB Notification: Performance of SimCode: time 1.382e-06/0.6799, allocations: 0 / 1.018 GB, free: 7.219 MB / 0.7917 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04196/0.7219, allocations: 26.72 MB / 1.045 GB, free: 12.67 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.374/10.1, allocations: 10.61 kB / 1.045 GB, free: 12.66 MB / 0.823 GB " [Timeout remaining time 650] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_IO_SignalExchange_Examples_WeatherStation_fmu --startTime=0 --stopTime=864000 --stepSize=345.6 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_IO_SignalExchange_Examples_WeatherStation.fmu > IDEAS_dev_IDEAS.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.07602857798338] Failed to read output from testmodel.py, exit status != 0: 10.247939296998084 10.256564312 9.618582454 Calling exit ...