Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.000777/0.000777, 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.0008436/0.0008436, allocations: 169.9 kB / 22.46 MB, free: 2.105 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.8749/0.8749, allocations: 177.1 MB / 202.8 MB, free: 5.754 MB / 186.7 MB " [Timeout remaining time 179] 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 0.7288/0.7288, allocations: 154.6 MB / 413.7 MB, free: 0.8086 MB / 378.7 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 179] 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: "" <> buildModelFMU(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.283e-06/1.283e-06, allocations: 0 / 0.6181 GB, free: 13.63 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.955e-05/2.083e-05, allocations: 4.672 kB / 0.6181 GB, free: 13.62 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature): time 0.002345/0.002366, allocations: 1.883 MB / 0.62 GB, free: 11.73 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001686/0.004052, allocations: 1.792 MB / 0.6217 GB, free: 9.926 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.288e-05/0.004134, allocations: 4 kB / 0.6217 GB, free: 9.922 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0002138/0.004348, allocations: 31.66 kB / 0.6217 GB, free: 9.891 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.0003376/0.004686, allocations: 119.3 kB / 0.6219 GB, free: 9.773 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003105/0.004996, allocations: 185.8 kB / 0.622 GB, free: 9.598 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.000239/0.005235, allocations: 293.3 kB / 0.6223 GB, free: 9.312 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001012/0.005337, allocations: 17.3 kB / 0.6223 GB, free: 9.293 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001237/0.00546, allocations: 139.8 kB / 0.6225 GB, free: 9.156 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001346/0.005595, allocations: 103.7 kB / 0.6226 GB, free: 9.055 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.763e-05/0.005623, allocations: 20 kB / 0.6226 GB, free: 9.035 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001623/0.005785, allocations: 127.8 kB / 0.6227 GB, free: 8.91 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 7.797e-05/0.005863, allocations: 95.72 kB / 0.6228 GB, free: 8.816 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 7.362e-05/0.005936, allocations: 83.75 kB / 0.6229 GB, free: 8.734 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0003431/0.00628, allocations: 394.7 kB / 0.6233 GB, free: 8.348 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.705e-06/0.006282, allocations: 4 kB / 0.6233 GB, free: 8.344 MB / 0.5886 GB Notification: Performance of FrontEnd: time 9.72e-07/0.006283, allocations: 0 / 0.6233 GB, free: 8.344 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 5.15e-06/0.006288, allocations: 3.938 kB / 0.6233 GB, free: 8.34 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.000576/0.006864, allocations: 0.5091 MB / 0.6238 GB, free: 7.797 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.731e-05/0.006902, allocations: 16.03 kB / 0.6238 GB, free: 7.781 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.507e-05/0.006947, allocations: 50.73 kB / 0.6238 GB, free: 7.723 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001039/0.007051, allocations: 40.7 kB / 0.6239 GB, free: 7.684 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002189/0.00727, allocations: 220.8 kB / 0.6241 GB, free: 7.445 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.542e-05/0.007285, allocations: 12.38 kB / 0.6241 GB, free: 7.434 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.163e-05/0.007307, allocations: 20.31 kB / 0.6241 GB, free: 7.414 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003032/0.00761, allocations: 365.8 kB / 0.6245 GB, free: 7.008 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.085e-06/0.007618, allocations: 0 / 0.6245 GB, free: 7.008 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.889e-05/0.007637, allocations: 15.98 kB / 0.6245 GB, free: 6.992 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.755e-06/0.007645, allocations: 7.984 kB / 0.6245 GB, free: 6.984 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005222/0.008167, allocations: 0.6982 MB / 0.6252 GB, free: 6.285 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007203/0.008887, allocations: 0.5738 MB / 0.6257 GB, free: 5.664 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003572/0.009244, allocations: 290.5 kB / 0.626 GB, free: 5.375 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001119/0.009356, allocations: 93.38 kB / 0.6261 GB, free: 5.281 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 3.205e-05/0.009388, allocations: 20.27 kB / 0.6261 GB, free: 5.262 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002814/0.00967, allocations: 227.6 kB / 0.6263 GB, free: 5.016 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=35): time 1.864e-06/0.009672, allocations: 0 / 0.6263 GB, free: 5.016 MB / 0.5886 GB Notification: Performance of matching and sorting (n=35): time 0.0005456/0.01022, allocations: 384 kB / 0.6267 GB, free: 4.637 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.821e-05/0.01028, allocations: 140.5 kB / 0.6268 GB, free: 4.469 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002227/0.0105, allocations: 321.9 kB / 0.6271 GB, free: 4.148 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 2.391e-05/0.01052, allocations: 33.7 kB / 0.6272 GB, free: 4.109 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 7.158e-05/0.01059, allocations: 136.7 kB / 0.6273 GB, free: 3.969 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 6.848e-05/0.01066, allocations: 115 kB / 0.6274 GB, free: 3.855 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.503e-05/0.01073, allocations: 73.64 kB / 0.6275 GB, free: 3.777 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 9.556e-05/0.01082, allocations: 338.8 kB / 0.6278 GB, free: 3.438 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.666e-05/0.01092, allocations: 79.95 kB / 0.6279 GB, free: 3.359 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001617/0.01108, allocations: 208.4 kB / 0.6281 GB, free: 3.125 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002455/0.01133, allocations: 212.6 kB / 0.6283 GB, free: 2.914 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.01133, allocations: 4 kB / 0.6283 GB, free: 2.91 MB / 0.5886 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0003046/0.01163, allocations: 285.7 kB / 0.6285 GB, free: 2.625 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.15e-05/0.01164, allocations: 8 kB / 0.6286 GB, free: 2.617 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.559e-06/0.01165, allocations: 0 / 0.6286 GB, free: 2.617 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.131e-05/0.01166, allocations: 0 / 0.6286 GB, free: 2.617 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001503/0.01181, allocations: 67.84 kB / 0.6286 GB, free: 2.551 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.545e-06/0.01182, allocations: 7.984 kB / 0.6286 GB, free: 2.543 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.266e-05/0.0119, allocations: 23.84 kB / 0.6286 GB, free: 2.52 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.758e-05/0.01192, allocations: 15.98 kB / 0.6287 GB, free: 2.504 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.0001138/0.01203, allocations: 162.7 kB / 0.6288 GB, free: 2.336 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.459e-05/0.01207, allocations: 35.81 kB / 0.6289 GB, free: 2.301 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004152/0.01248, allocations: 376.8 kB / 0.6292 GB, free: 1.93 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.504e-06/0.01248, allocations: 8 kB / 0.6292 GB, free: 1.922 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.571e-06/0.01249, allocations: 3.938 kB / 0.6292 GB, free: 1.918 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.119e-06/0.0125, allocations: 7.984 kB / 0.6292 GB, free: 1.91 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002114/0.01271, allocations: 284.4 kB / 0.6295 GB, free: 1.59 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.01271, allocations: 0 / 0.6295 GB, free: 1.59 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001023/0.01281, allocations: 63.91 kB / 0.6296 GB, free: 1.527 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.474e-06/0.01281, allocations: 0 / 0.6296 GB, free: 1.527 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.439e-05/0.01283, allocations: 11.98 kB / 0.6296 GB, free: 1.516 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.515e-06/0.01283, allocations: 0 / 0.6296 GB, free: 1.516 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.01283, allocations: 7.938 kB / 0.6296 GB, free: 1.508 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003205/0.01315, allocations: 330.3 kB / 0.6299 GB, free: 1.168 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 8.171e-05/0.01323, allocations: 79.67 kB / 0.63 GB, free: 1.09 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.491e-05/0.01326, allocations: 8 kB / 0.63 GB, free: 1.082 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.095e-05/0.01335, allocations: 19.98 kB / 0.63 GB, free: 1.062 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.433e-05/0.01339, allocations: 31.88 kB / 0.63 GB, free: 1.031 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.081e-05/0.01341, allocations: 16 kB / 0.63 GB, free: 1.016 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0001812/0.0136, allocations: 245.2 kB / 0.6303 GB, free: 0.7773 MB / 0.5886 GB Notification: Performance of sort global known variables: time 2.5e-07/0.0136, allocations: 0 / 0.6303 GB, free: 0.7773 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0002416/0.01384, allocations: 83.86 kB / 0.6304 GB, free: 0.6953 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.001249/0.01509, allocations: 1.242 MB / 0.6316 GB, free: 15.64 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0003063/0.01539, allocations: 232.1 kB / 0.6318 GB, free: 15.41 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.0154, allocations: 0 / 0.6318 GB, free: 15.41 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001267/0.01552, allocations: 119.8 kB / 0.6319 GB, free: 15.3 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002219/0.01574, allocations: 48.41 kB / 0.632 GB, free: 15.25 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002246/0.01799, allocations: 2.587 MB / 0.6345 GB, free: 12.58 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001156/0.01811, allocations: 159 kB / 0.6346 GB, free: 12.41 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0002023/0.01831, allocations: 142.9 kB / 0.6348 GB, free: 12.27 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001135/0.01842, allocations: 108.5 kB / 0.6349 GB, free: 12.16 MB / 0.6042 GB Notification: Performance of SimCode: time 6.01e-07/0.01842, allocations: 0 / 0.6349 GB, free: 12.16 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01948/0.0379, allocations: 7.339 MB / 0.642 GB, free: 4.98 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.371/7.409, allocations: 3.828 kB / 0.642 GB, free: 4.98 MB / 0.6042 GB " [Timeout remaining time 652] (rm -f IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.sim & python3 -m fmpy simulate --output-file IDEAS_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_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature.fmu > IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.215762479230762] Failed to read output from testmodel.py, exit status != 0: 7.548709571361542 7.557585668 7.549545773 Calling exit ...