Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature,fileNamePrefix="Buildings_11_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature,fileNamePrefix="Buildings_11_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001714/0.001714, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001657/0.001657, allocations: 194.5 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.35/1.35, allocations: 222.9 MB / 240.2 MB, free: 4.375 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.512/2.512, allocations: 469.8 MB / 0.7424 GB, free: 7.371 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001679/0.001679, allocations: 62.92 kB / 0.9087 GB, free: 34.37 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2321/0.2337, allocations: 159.2 MB / 1.064 GB, free: 14.16 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature): time 0.002868/0.2366, allocations: 1.876 MB / 1.066 GB, free: 12.27 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001902/0.2386, allocations: 1.581 MB / 1.067 GB, free: 10.68 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.209e-05/0.2386, allocations: 4 kB / 1.067 GB, free: 10.68 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.000162/0.2388, allocations: 23.8 kB / 1.067 GB, free: 10.65 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0002292/0.239, allocations: 80.53 kB / 1.068 GB, free: 10.57 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003688/0.2394, allocations: 170.6 kB / 1.068 GB, free: 10.41 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0002662/0.2397, allocations: 273.4 kB / 1.068 GB, free: 10.14 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001074/0.2398, allocations: 45.3 kB / 1.068 GB, free: 10.1 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 9.422e-05/0.2399, allocations: 99.69 kB / 1.068 GB, free: 10 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001982/0.2401, allocations: 107.7 kB / 1.068 GB, free: 9.895 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.846e-05/0.2402, allocations: 20 kB / 1.068 GB, free: 9.875 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001535/0.2403, allocations: 87.97 kB / 1.068 GB, free: 9.789 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 9.341e-05/0.2404, allocations: 83.8 kB / 1.068 GB, free: 9.707 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.000114/0.2405, allocations: 131.2 kB / 1.069 GB, free: 9.578 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0003232/0.2409, allocations: 315.1 kB / 1.069 GB, free: 9.27 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.006e-06/0.2409, allocations: 0 / 1.069 GB, free: 9.27 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.022e-06/0.2409, allocations: 4 kB / 1.069 GB, free: 9.266 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.981e-06/0.2409, allocations: 4 kB / 1.069 GB, free: 9.262 MB / 0.8262 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.0007002/0.2416, allocations: 0.5539 MB / 1.069 GB, free: 8.656 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.224e-05/0.2416, allocations: 8.031 kB / 1.069 GB, free: 8.648 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.852e-05/0.2417, allocations: 58.67 kB / 1.069 GB, free: 8.582 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001258/0.2418, allocations: 32.56 kB / 1.069 GB, free: 8.551 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002608/0.2421, allocations: 274.7 kB / 1.07 GB, free: 8.242 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.729e-05/0.2421, allocations: 12.38 kB / 1.07 GB, free: 8.23 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.739e-05/0.2421, allocations: 23.94 kB / 1.07 GB, free: 8.207 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003413/0.2425, allocations: 244.8 kB / 1.07 GB, free: 7.949 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.725e-06/0.2425, allocations: 0 / 1.07 GB, free: 7.949 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.508e-05/0.2425, allocations: 8 kB / 1.07 GB, free: 7.941 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.56e-06/0.2425, allocations: 4 kB / 1.07 GB, free: 7.938 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000816/0.2434, allocations: 0.749 MB / 1.071 GB, free: 7.188 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009066/0.2443, allocations: 0.6485 MB / 1.071 GB, free: 6.484 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004499/0.2448, allocations: 310.4 kB / 1.072 GB, free: 6.176 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001557/0.2449, allocations: 113.4 kB / 1.072 GB, free: 6.062 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.794e-05/0.245, allocations: 24.19 kB / 1.072 GB, free: 6.039 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002822/0.2453, allocations: 180.3 kB / 1.072 GB, free: 5.852 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=35): time 1.462e-06/0.2453, allocations: 0 / 1.072 GB, free: 5.852 MB / 0.8262 GB Notification: Performance of matching and sorting (n=35): time 0.0006046/0.2459, allocations: 380.9 kB / 1.072 GB, free: 5.473 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.404e-05/0.246, allocations: 132.5 kB / 1.072 GB, free: 5.312 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002683/0.2462, allocations: 313 kB / 1.073 GB, free: 5 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.765e-05/0.2463, allocations: 29.7 kB / 1.073 GB, free: 4.965 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 8.299e-05/0.2464, allocations: 132.7 kB / 1.073 GB, free: 4.828 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 8.922e-05/0.2464, allocations: 122.3 kB / 1.073 GB, free: 4.707 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.737e-05/0.2465, allocations: 69.55 kB / 1.073 GB, free: 4.633 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001254/0.2467, allocations: 334.8 kB / 1.073 GB, free: 4.297 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001266/0.2468, allocations: 83.95 kB / 1.074 GB, free: 4.215 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001713/0.247, allocations: 119.4 kB / 1.074 GB, free: 4.086 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003033/0.2473, allocations: 222.3 kB / 1.074 GB, free: 3.867 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.2473, allocations: 0 / 1.074 GB, free: 3.867 MB / 0.8262 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0004138/0.2477, allocations: 281 kB / 1.074 GB, free: 3.586 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.134e-05/0.2477, allocations: 7.938 kB / 1.074 GB, free: 3.578 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.477e-06/0.2477, allocations: 0 / 1.074 GB, free: 3.578 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.146e-05/0.2478, allocations: 4 kB / 1.074 GB, free: 3.574 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002006/0.248, allocations: 71.89 kB / 1.074 GB, free: 3.504 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.719e-06/0.248, allocations: 0 / 1.074 GB, free: 3.504 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001334/0.2481, allocations: 21.67 kB / 1.074 GB, free: 3.484 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.366e-05/0.2481, allocations: 23.92 kB / 1.074 GB, free: 3.461 MB / 0.8262 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.0001425/0.2483, allocations: 165.8 kB / 1.074 GB, free: 3.289 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.546e-05/0.2484, allocations: 31.61 kB / 1.074 GB, free: 3.258 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006096/0.249, allocations: 388.7 kB / 1.075 GB, free: 2.871 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.118e-06/0.249, allocations: 4 kB / 1.075 GB, free: 2.867 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.946e-06/0.249, allocations: 0 / 1.075 GB, free: 2.867 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.08e-06/0.249, allocations: 7.984 kB / 1.075 GB, free: 2.859 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003017/0.2493, allocations: 349.2 kB / 1.075 GB, free: 2.469 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.2493, allocations: 0 / 1.075 GB, free: 2.469 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001548/0.2495, allocations: 51.92 kB / 1.075 GB, free: 2.418 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.462e-06/0.2495, allocations: 11.92 kB / 1.075 GB, free: 2.406 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.98e-05/0.2495, allocations: 12 kB / 1.075 GB, free: 2.395 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.2495, allocations: 0 / 1.075 GB, free: 2.395 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.2495, allocations: 0 / 1.075 GB, free: 2.395 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004411/0.25, allocations: 329.6 kB / 1.076 GB, free: 2.055 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001208/0.2501, allocations: 140.7 kB / 1.076 GB, free: 1.898 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.007e-05/0.2501, allocations: 15.94 kB / 1.076 GB, free: 1.883 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001669/0.2503, allocations: 23.97 kB / 1.076 GB, free: 1.859 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.518e-05/0.2504, allocations: 19.97 kB / 1.076 GB, free: 1.84 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.626e-05/0.2504, allocations: 19.92 kB / 1.076 GB, free: 1.82 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001931/0.2506, allocations: 236.5 kB / 1.076 GB, free: 1.59 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2506, allocations: 0 / 1.076 GB, free: 1.59 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002581/0.2509, allocations: 67.98 kB / 1.076 GB, free: 1.523 MB / 0.8262 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.001827/0.2527, allocations: 1.174 MB / 1.077 GB, free: 484 kB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0004607/0.2532, allocations: 299.6 kB / 1.077 GB, free: 184 kB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.2532, allocations: 0 / 1.077 GB, free: 184 kB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001748/0.2534, allocations: 127.8 kB / 1.078 GB, free: 56 kB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002402/0.2536, allocations: 44.42 kB / 1.078 GB, free: 12 kB / 0.8262 GB Warning: Could not resolve URI (uri) at compile-time; copying all loaded packages into the FMU Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002615/0.2562, allocations: 2.512 MB / 1.08 GB, free: 13.42 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003306/0.2566, allocations: 0.766 MB / 1.081 GB, free: 12.62 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0002895/0.2569, allocations: 147 kB / 1.081 GB, free: 12.48 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001257/0.257, allocations: 96.39 kB / 1.081 GB, free: 12.38 MB / 0.8419 GB Notification: Performance of SimCode: time 1.914e-06/0.257, allocations: 0 / 1.081 GB, free: 12.38 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 100.9/101.1, allocations: 5.967 MB / 1.087 GB, free: 6.59 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.56/110.7, allocations: 11.67 kB / 1.087 GB, free: 6.582 MB / 0.8419 GB (rm -f Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe ; mkfifo Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe ; head -c 1048576 < Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe >> ../files/Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature_res.mat --tempDir=temp_Buildings_11_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature_fmu --startTime=0 --stopTime=8.64e+06 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature.fmu > Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe 2>&1)