Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.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.0009108/0.0009108, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.001/0.001, allocations: 165.9 kB / 22.45 MB, free: 2.109 MB / 18.57 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.8935/0.8935, allocations: 177.1 MB / 202.8 MB, free: 5.727 MB / 186.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.7173/0.7173, allocations: 154.6 MB / 413.7 MB, free: 0.832 MB / 378.7 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 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.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.024e-06/2.024e-06, allocations: 0 / 0.6181 GB, free: 13.7 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.636e-05/1.839e-05, allocations: 5.375 kB / 0.6181 GB, free: 13.7 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature): time 0.002377/0.002396, allocations: 1.883 MB / 0.6199 GB, free: 11.8 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001839/0.004234, allocations: 1.784 MB / 0.6217 GB, free: 10.01 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.521e-05/0.00432, allocations: 0 / 0.6217 GB, free: 10.01 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0002502/0.00457, allocations: 31.72 kB / 0.6217 GB, free: 9.98 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.000434/0.005004, allocations: 132.7 kB / 0.6218 GB, free: 9.852 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004122/0.005416, allocations: 166.4 kB / 0.622 GB, free: 9.695 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0003232/0.005739, allocations: 301.2 kB / 0.6223 GB, free: 9.398 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001086/0.005848, allocations: 25.28 kB / 0.6223 GB, free: 9.371 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001296/0.005977, allocations: 139.8 kB / 0.6224 GB, free: 9.234 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001541/0.006132, allocations: 91.81 kB / 0.6225 GB, free: 9.145 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 3.125e-05/0.006163, allocations: 20 kB / 0.6225 GB, free: 9.125 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002021/0.006365, allocations: 127.8 kB / 0.6226 GB, free: 9 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 9.29e-05/0.006458, allocations: 91.78 kB / 0.6227 GB, free: 8.91 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 7.881e-05/0.006537, allocations: 83.75 kB / 0.6228 GB, free: 8.828 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0003928/0.006929, allocations: 406.6 kB / 0.6232 GB, free: 8.43 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.154e-06/0.006932, allocations: 0 / 0.6232 GB, free: 8.43 MB / 0.5886 GB Notification: Performance of FrontEnd: time 7.61e-07/0.006932, allocations: 0 / 0.6232 GB, free: 8.43 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 5.099e-06/0.006937, allocations: 4 kB / 0.6232 GB, free: 8.426 MB / 0.5886 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.0007046/0.007642, allocations: 0.5014 MB / 0.6237 GB, free: 7.895 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.451e-05/0.007687, allocations: 13.47 kB / 0.6237 GB, free: 7.883 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.78e-05/0.007734, allocations: 54.67 kB / 0.6238 GB, free: 7.82 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001165/0.007851, allocations: 44.7 kB / 0.6238 GB, free: 7.777 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002283/0.008079, allocations: 220.7 kB / 0.624 GB, free: 7.539 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.767e-05/0.008097, allocations: 16.38 kB / 0.624 GB, free: 7.523 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.973e-05/0.008116, allocations: 16.38 kB / 0.624 GB, free: 7.508 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003373/0.008454, allocations: 377.6 kB / 0.6244 GB, free: 7.09 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.306e-06/0.008462, allocations: 0 / 0.6244 GB, free: 7.09 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.852e-05/0.008481, allocations: 11.94 kB / 0.6244 GB, free: 7.078 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.651e-06/0.008486, allocations: 4 kB / 0.6244 GB, free: 7.074 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000566/0.009052, allocations: 0.6943 MB / 0.6251 GB, free: 6.379 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007936/0.009846, allocations: 0.5771 MB / 0.6257 GB, free: 5.758 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000371/0.01022, allocations: 290.6 kB / 0.6259 GB, free: 5.469 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001287/0.01035, allocations: 101.3 kB / 0.626 GB, free: 5.367 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 4.193e-05/0.01039, allocations: 20.27 kB / 0.6261 GB, free: 5.348 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003098/0.0107, allocations: 227 kB / 0.6263 GB, free: 5.102 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=35): time 1.593e-06/0.0107, allocations: 0 / 0.6263 GB, free: 5.102 MB / 0.5886 GB Notification: Performance of matching and sorting (n=35): time 0.0005573/0.01126, allocations: 375.8 kB / 0.6266 GB, free: 4.73 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.764e-05/0.01133, allocations: 148.4 kB / 0.6268 GB, free: 4.555 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000257/0.01159, allocations: 317.9 kB / 0.6271 GB, free: 4.23 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 2.687e-05/0.01162, allocations: 37.7 kB / 0.6271 GB, free: 4.188 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 8.83e-05/0.01171, allocations: 136.7 kB / 0.6272 GB, free: 4.047 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 7.646e-05/0.01178, allocations: 119 kB / 0.6273 GB, free: 3.93 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.877e-05/0.01185, allocations: 69.64 kB / 0.6274 GB, free: 3.855 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 9.752e-05/0.01195, allocations: 334.8 kB / 0.6277 GB, free: 3.52 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.762e-05/0.01205, allocations: 83.95 kB / 0.6278 GB, free: 3.438 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001632/0.01221, allocations: 213.4 kB / 0.628 GB, free: 3.199 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002299/0.01244, allocations: 208.7 kB / 0.6282 GB, free: 2.992 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.01244, allocations: 0 / 0.6282 GB, free: 2.992 MB / 0.5886 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0003072/0.01275, allocations: 281.7 kB / 0.6285 GB, free: 2.711 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.634e-05/0.01277, allocations: 14.17 kB / 0.6285 GB, free: 2.699 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.01277, allocations: 4 kB / 0.6285 GB, free: 2.695 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.366e-05/0.01278, allocations: 0 / 0.6285 GB, free: 2.695 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001535/0.01294, allocations: 67.84 kB / 0.6286 GB, free: 2.629 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.554e-06/0.01295, allocations: 4 kB / 0.6286 GB, free: 2.625 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.537e-05/0.01303, allocations: 31.83 kB / 0.6286 GB, free: 2.594 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.717e-05/0.01305, allocations: 15.94 kB / 0.6286 GB, free: 2.578 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (conTim.tNext,$PRE.conTim.tNext,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000131/0.01318, allocations: 162.7 kB / 0.6288 GB, free: 2.41 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.637e-05/0.01322, allocations: 31.81 kB / 0.6288 GB, free: 2.379 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004331/0.01365, allocations: 380.9 kB / 0.6292 GB, free: 2.004 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.589e-06/0.01365, allocations: 4 kB / 0.6292 GB, free: 2 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.923e-06/0.01366, allocations: 3.938 kB / 0.6292 GB, free: 1.996 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.589e-06/0.01366, allocations: 4 kB / 0.6292 GB, free: 1.992 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002377/0.0139, allocations: 284.5 kB / 0.6294 GB, free: 1.672 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.0139, allocations: 0 / 0.6294 GB, free: 1.672 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001112/0.01402, allocations: 59.91 kB / 0.6295 GB, free: 1.613 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.256e-06/0.01402, allocations: 4 kB / 0.6295 GB, free: 1.609 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.705e-05/0.01404, allocations: 11.98 kB / 0.6295 GB, free: 1.598 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.775e-06/0.01404, allocations: 0 / 0.6295 GB, free: 1.598 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.138e-06/0.01404, allocations: 7.875 kB / 0.6295 GB, free: 1.59 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003472/0.01439, allocations: 338.2 kB / 0.6299 GB, free: 1.242 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000109/0.0145, allocations: 71.69 kB / 0.6299 GB, free: 1.172 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.133e-05/0.01453, allocations: 8 kB / 0.6299 GB, free: 1.164 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.188e-05/0.01462, allocations: 27.97 kB / 0.63 GB, free: 1.137 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.124e-05/0.01468, allocations: 27.89 kB / 0.63 GB, free: 1.109 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.493e-05/0.01471, allocations: 12 kB / 0.63 GB, free: 1.098 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0001614/0.01487, allocations: 249.2 kB / 0.6302 GB, free: 0.8555 MB / 0.5886 GB Notification: Performance of sort global known variables: time 7e-08/0.01487, allocations: 0 / 0.6302 GB, free: 0.8555 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0002398/0.01511, allocations: 79.88 kB / 0.6303 GB, free: 0.7773 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,conTim.tNext) * Number of discrete states: 1 (conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (35): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001283/0.01639, allocations: 1.246 MB / 0.6315 GB, free: 15.71 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.00031/0.0167, allocations: 224.3 kB / 0.6317 GB, free: 15.5 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.0167, allocations: 0 / 0.6317 GB, free: 15.5 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001292/0.01683, allocations: 120.3 kB / 0.6319 GB, free: 15.38 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002067/0.01704, allocations: 52 kB / 0.6319 GB, free: 15.33 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002232/0.01927, allocations: 2.58 MB / 0.6344 GB, free: 12.67 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001093/0.01938, allocations: 154.9 kB / 0.6346 GB, free: 12.5 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0002076/0.01959, allocations: 146.9 kB / 0.6347 GB, free: 12.36 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001202/0.01971, allocations: 112.4 kB / 0.6348 GB, free: 12.25 MB / 0.6042 GB Notification: Performance of SimCode: time 8.31e-07/0.01971, allocations: 0 / 0.6348 GB, free: 12.25 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02485/0.04456, allocations: 7.351 MB / 0.642 GB, free: 5.055 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.246/7.291, allocations: 7.297 kB / 0.642 GB, free: 5.055 MB / 0.6042 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature_res.csv --start-time 0 --stop-time 8.64e+06 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 3456 IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature.fmu > IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.191747354343534] Failed to read output from testmodel.py, exit status != 0: 7.428519350476563 7.439932864 7.431223711 Calling exit ...