Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.001267/0.001267, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001618/0.001618, allocations: 220.3 kB / 22.26 MB, free: 5.125 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.432/1.432, allocations: 230.6 MB / 256 MB, free: 7.977 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002504/0.002504, allocations: 279.1 kB / 312.7 MB, free: 2.797 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.25/1.25, allocations: 180.6 MB / 0.5369 GB, free: 12.97 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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(BuildingSystems.Utilities.IO.SignalExchange.Examples.WeatherStation,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_IO_SignalExchange_Examples_WeatherStation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.IO.SignalExchange.Examples.WeatherStation,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_IO_SignalExchange_Examples_WeatherStation",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: NcDataReader2 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: BuildingSystems 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.002973/0.002973, allocations: 111.8 kB / 0.7396 GB, free: 28.14 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1964/0.1994, allocations: 95.38 MB / 0.8327 GB, free: 8.668 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.IO.SignalExchange.Examples.WeatherStation): time 0.00861/0.208, allocations: 5.708 MB / 0.8383 GB, free: 2.934 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.6892/0.8972, allocations: 154.4 MB / 0.9891 GB, free: 2.91 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00128/0.8985, allocations: 36.97 kB / 0.9891 GB, free: 2.91 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001019/0.8995, allocations: 372.8 kB / 0.9895 GB, free: 2.91 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.002038/0.9016, allocations: 0.5798 MB / 0.99 GB, free: 2.902 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.002226/0.9038, allocations: 0.9175 MB / 0.9909 GB, free: 2.887 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.002416/0.9062, allocations: 1.575 MB / 0.9925 GB, free: 2.883 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009285/0.9072, allocations: 0.51 MB / 0.993 GB, free: 2.777 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001157/0.9083, allocations: 0.5705 MB / 0.9935 GB, free: 2.777 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007749/0.9091, allocations: 0.5773 MB / 0.9941 GB, free: 2.777 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001632/0.9092, allocations: 136 kB / 0.9942 GB, free: 2.777 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001141/0.9104, allocations: 0.527 MB / 0.9947 GB, free: 2.766 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0002868/0.9107, allocations: 345.5 kB / 0.9951 GB, free: 2.766 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0006121/0.9113, allocations: 0.6666 MB / 0.9957 GB, free: 2.766 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.002821/0.9141, allocations: 1.98 MB / 0.9977 GB, free: 2.641 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.54e-06/0.9141, allocations: 4 kB / 0.9977 GB, free: 2.637 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.385e-06/0.9141, allocations: 0 / 0.9977 GB, free: 2.637 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 2.391e-05/0.9141, allocations: 0 / 0.9977 GB, free: 2.637 MB / 0.7169 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.003308/0.9174, allocations: 1.675 MB / 0.9993 GB, free: 17.79 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.786e-05/0.9175, allocations: 10.81 kB / 0.9993 GB, free: 17.79 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002162/0.9177, allocations: 158.5 kB / 0.9995 GB, free: 17.75 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001573/0.9193, allocations: 269.1 kB / 0.9997 GB, free: 17.65 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001555/0.9208, allocations: 0.8484 MB / 1.001 GB, free: 17.36 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.341e-05/0.9209, allocations: 70.72 kB / 1.001 GB, free: 17.36 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001347/0.9211, allocations: 99.94 kB / 1.001 GB, free: 17.36 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001938/0.923, allocations: 1.027 MB / 1.002 GB, free: 17.21 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.834e-05/0.923, allocations: 7.594 kB / 1.002 GB, free: 17.2 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001025/0.9231, allocations: 40.81 kB / 1.002 GB, free: 17.2 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.279e-05/0.9232, allocations: 24.34 kB / 1.002 GB, free: 17.2 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002772/0.926, allocations: 1.168 MB / 1.003 GB, free: 17.19 MB / 0.7325 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00686/0.9328, allocations: 2.966 MB / 1.006 GB, free: 16.14 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001475/0.9343, allocations: 0.7537 MB / 1.007 GB, free: 16.1 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000497/0.9348, allocations: 281.1 kB / 1.007 GB, free: 16.09 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 8.027e-05/0.9349, allocations: 29.06 kB / 1.007 GB, free: 16.09 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008619/0.9357, allocations: 492.4 kB / 1.007 GB, free: 16.01 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=78): time 2.916e-06/0.9357, allocations: 0 / 1.007 GB, free: 16.01 MB / 0.7325 GB Notification: Performance of matching and sorting (n=78): time 0.00321/0.9389, allocations: 1.139 MB / 1.008 GB, free: 15.89 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001612/0.9391, allocations: 193 kB / 1.009 GB, free: 15.66 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001189/0.9403, allocations: 0.8243 MB / 1.009 GB, free: 15.52 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 9.197e-05/0.9404, allocations: 44.17 kB / 1.009 GB, free: 15.48 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004492/0.9408, allocations: 0.5273 MB / 1.01 GB, free: 15.27 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001841/0.941, allocations: 259.5 kB / 1.01 GB, free: 15.1 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002146/0.9412, allocations: 145.1 kB / 1.01 GB, free: 15.08 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001679/0.9414, allocations: 340.4 kB / 1.011 GB, free: 14.77 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004715/0.9419, allocations: 241.2 kB / 1.011 GB, free: 14.77 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000554/0.9424, allocations: 360.2 kB / 1.011 GB, free: 14.68 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009623/0.9434, allocations: 0.5739 MB / 1.012 GB, free: 14.64 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.9434, allocations: 0 / 1.012 GB, free: 14.64 MB / 0.7325 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.00182/0.9452, allocations: 0.8178 MB / 1.013 GB, free: 14.51 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.244e-05/0.9452, allocations: 13.61 kB / 1.013 GB, free: 14.51 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.508e-06/0.9452, allocations: 3.094 kB / 1.013 GB, free: 14.51 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006133/0.9459, allocations: 77.52 kB / 1.013 GB, free: 14.5 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005676/0.9464, allocations: 152.7 kB / 1.013 GB, free: 14.49 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002064/0.9485, allocations: 1.543 MB / 1.014 GB, free: 13.23 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008243/0.9493, allocations: 90.78 kB / 1.014 GB, free: 13.2 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.212e-05/0.9494, allocations: 31.97 kB / 1.014 GB, free: 13.2 MB / 0.7325 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.0005945/0.95, allocations: 297.8 kB / 1.015 GB, free: 13.07 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002024/0.9502, allocations: 108.2 kB / 1.015 GB, free: 13.02 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002217/0.9524, allocations: 1.071 MB / 1.016 GB, free: 12.9 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.097e-06/0.9524, allocations: 13.62 kB / 1.016 GB, free: 12.9 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.53e-06/0.9524, allocations: 3.938 kB / 1.016 GB, free: 12.89 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.008e-05/0.9524, allocations: 4.281 kB / 1.016 GB, free: 12.89 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001412/0.9538, allocations: 0.9948 MB / 1.017 GB, free: 12.71 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.199e-06/0.9538, allocations: 0 / 1.017 GB, free: 12.71 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005451/0.9544, allocations: 141.2 kB / 1.017 GB, free: 12.71 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004314/0.9548, allocations: 73.11 kB / 1.017 GB, free: 12.7 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.265e-05/0.9549, allocations: 24.23 kB / 1.017 GB, free: 12.7 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001951/0.9568, allocations: 1.577 MB / 1.019 GB, free: 11.42 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.9568, allocations: 2.469 kB / 1.019 GB, free: 11.42 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001915/0.9587, allocations: 0.9524 MB / 1.02 GB, free: 11.25 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004969/0.9592, allocations: 231.9 kB / 1.02 GB, free: 11.17 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001274/0.9594, allocations: 22.2 kB / 1.02 GB, free: 11.17 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005832/0.96, allocations: 60.48 kB / 1.02 GB, free: 11.17 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001353/0.9601, allocations: 72.14 kB / 1.02 GB, free: 11.16 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.479e-05/0.9602, allocations: 40.16 kB / 1.02 GB, free: 11.16 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0007402/0.9609, allocations: 0.5816 MB / 1.021 GB, free: 11.05 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.01e-07/0.9609, allocations: 0 / 1.021 GB, free: 11.05 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001042/0.9619, allocations: 343.2 kB / 1.021 GB, free: 10.98 MB / 0.7325 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.004029/0.966, allocations: 2.003 MB / 1.023 GB, free: 10.16 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001536/0.9675, allocations: 0.7671 MB / 1.024 GB, free: 10.02 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/0.9675, allocations: 6.281 kB / 1.024 GB, free: 10.02 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.000812/0.9683, allocations: 491.9 kB / 1.024 GB, free: 9.906 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001651/0.97, allocations: 475.3 kB / 1.025 GB, free: 9.855 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01146/0.9814, allocations: 7.077 MB / 1.031 GB, free: 7.754 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007705/0.9822, allocations: 1.1 MB / 1.033 GB, free: 7.039 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001052/0.9832, allocations: 288.9 kB / 1.033 GB, free: 6.953 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005608/0.9838, allocations: 481.3 kB / 1.033 GB, free: 6.941 MB / 0.7325 GB Notification: Performance of SimCode: time 1.062e-06/0.9838, allocations: 0 / 1.033 GB, free: 6.941 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07992/1.064, allocations: 26.79 MB / 1.059 GB, free: 10.84 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.4/15.47, allocations: 22.11 kB / 1.059 GB, free: 10.82 MB / 0.7481 GB " [Timeout remaining time 644] (rm -f BuildingSystems_BuildingSystems.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.IO.SignalExchange.Examples.WeatherStation.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_IO_SignalExchange_Examples_WeatherStation_fmu --startTime=0 --stopTime=864000 --stepSize=345.6 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_IO_SignalExchange_Examples_WeatherStation.fmu > BuildingSystems_BuildingSystems.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 19.870524029014632] Failed to read output from testmodel.py, exit status != 0: 15.69532238994725 15.719727305 14.80108469 Calling exit ...