Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature,fileNamePrefix="Buildings_latest_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.0009811/0.0009811, allocations: 91.38 kB / 15.36 MB, free: 0.7383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.007335/0.007335, allocations: 171.5 kB / 16.26 MB, free: 6.613 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.194/1.194, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.398/2.398, allocations: 462.6 MB / 0.7364 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0002848/0.0002848, allocations: 11.19 kB / 0.9029 GB, free: 36.38 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2275/0.2278, allocations: 159.6 MB / 1.059 GB, free: 4.844 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature): time 0.001857/0.2297, allocations: 1.593 MB / 1.06 GB, free: 3.242 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001861/0.2316, allocations: 1.534 MB / 1.062 GB, free: 1.699 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.738e-05/0.2317, allocations: 4 kB / 1.062 GB, free: 1.695 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.000171/0.2318, allocations: 19.91 kB / 1.062 GB, free: 1.676 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.000217/0.2321, allocations: 63.69 kB / 1.062 GB, free: 1.613 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003756/0.2324, allocations: 162.7 kB / 1.062 GB, free: 1.457 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0002527/0.2327, allocations: 261.3 kB / 1.062 GB, free: 1.203 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 9.751e-05/0.2328, allocations: 33.3 kB / 1.062 GB, free: 1.172 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001013/0.2329, allocations: 87.75 kB / 1.062 GB, free: 1.086 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001804/0.2331, allocations: 91.7 kB / 1.063 GB, free: 0.9961 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 3.016e-05/0.2331, allocations: 8 kB / 1.063 GB, free: 0.9883 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001572/0.2333, allocations: 79.91 kB / 1.063 GB, free: 0.9102 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 7.887e-05/0.2334, allocations: 79.8 kB / 1.063 GB, free: 0.832 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001121/0.2335, allocations: 141 kB / 1.063 GB, free: 0.6875 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.000293/0.2338, allocations: 299 kB / 1.063 GB, free: 404 kB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.2338, allocations: 4 kB / 1.063 GB, free: 400 kB / 0.8106 GB Notification: Performance of FrontEnd: time 1.142e-06/0.2338, allocations: 0 / 1.063 GB, free: 400 kB / 0.8106 GB Notification: Performance of Transformations before backend: time 7.154e-06/0.2338, allocations: 0 / 1.063 GB, free: 400 kB / 0.8106 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.0006401/0.2345, allocations: 0.4995 MB / 1.064 GB, free: 15.84 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.417e-05/0.2345, allocations: 11.97 kB / 1.064 GB, free: 15.83 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.481e-05/0.2346, allocations: 54.73 kB / 1.064 GB, free: 15.77 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000128/0.2347, allocations: 36.56 kB / 1.064 GB, free: 15.73 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002449/0.235, allocations: 282.6 kB / 1.064 GB, free: 15.42 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.841e-05/0.235, allocations: 16.36 kB / 1.064 GB, free: 15.4 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.985e-05/0.235, allocations: 19.94 kB / 1.064 GB, free: 15.38 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003381/0.2354, allocations: 236.9 kB / 1.064 GB, free: 15.13 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.185e-06/0.2354, allocations: 3.984 kB / 1.064 GB, free: 15.13 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.279e-05/0.2354, allocations: 8 kB / 1.064 GB, free: 15.12 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.841e-06/0.2354, allocations: 8 kB / 1.064 GB, free: 15.11 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007742/0.2362, allocations: 0.7451 MB / 1.065 GB, free: 14.37 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009061/0.2371, allocations: 0.6539 MB / 1.066 GB, free: 13.66 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004296/0.2376, allocations: 301.9 kB / 1.066 GB, free: 13.36 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001574/0.2377, allocations: 113.4 kB / 1.066 GB, free: 13.25 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 4.002e-05/0.2378, allocations: 24.23 kB / 1.066 GB, free: 13.22 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002873/0.2381, allocations: 183.4 kB / 1.066 GB, free: 13.03 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=35): time 1.623e-06/0.2381, allocations: 0 / 1.066 GB, free: 13.03 MB / 0.8262 GB Notification: Performance of matching and sorting (n=35): time 0.0005883/0.2387, allocations: 375.1 kB / 1.067 GB, free: 12.66 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.353e-05/0.2388, allocations: 136.5 kB / 1.067 GB, free: 12.5 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002526/0.239, allocations: 309 kB / 1.067 GB, free: 12.18 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.735e-05/0.2391, allocations: 29.7 kB / 1.067 GB, free: 12.15 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 8.096e-05/0.2391, allocations: 140.7 kB / 1.067 GB, free: 12 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 7.882e-05/0.2392, allocations: 114.3 kB / 1.067 GB, free: 11.89 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.358e-05/0.2393, allocations: 29.7 kB / 1.067 GB, free: 11.86 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 9.926e-05/0.2394, allocations: 338.8 kB / 1.068 GB, free: 11.52 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001274/0.2395, allocations: 83.81 kB / 1.068 GB, free: 11.43 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001633/0.2397, allocations: 127.5 kB / 1.068 GB, free: 11.3 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002863/0.24, allocations: 216.6 kB / 1.068 GB, free: 11.08 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.24, allocations: 4 kB / 1.068 GB, free: 11.08 MB / 0.8262 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0003796/0.2404, allocations: 285.5 kB / 1.068 GB, free: 10.79 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.668e-05/0.2404, allocations: 13.66 kB / 1.068 GB, free: 10.78 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.837e-06/0.2404, allocations: 0 / 1.068 GB, free: 10.78 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.518e-06/0.2404, allocations: 0 / 1.068 GB, free: 10.78 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001995/0.2406, allocations: 59.91 kB / 1.068 GB, free: 10.72 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.784e-06/0.2406, allocations: 4 kB / 1.068 GB, free: 10.72 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001453/0.2408, allocations: 27.77 kB / 1.068 GB, free: 10.69 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.55e-05/0.2408, allocations: 19.98 kB / 1.068 GB, free: 10.67 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.000134/0.241, allocations: 167.7 kB / 1.069 GB, free: 10.5 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.771e-05/0.241, allocations: 27.66 kB / 1.069 GB, free: 10.47 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006132/0.2416, allocations: 392.4 kB / 1.069 GB, free: 10.08 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.809e-06/0.2416, allocations: 4 kB / 1.069 GB, free: 10.07 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.2416, allocations: 0 / 1.069 GB, free: 10.07 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.142e-06/0.2417, allocations: 8.016 kB / 1.069 GB, free: 10.07 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002846/0.2419, allocations: 345.2 kB / 1.069 GB, free: 9.68 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.242, allocations: 3.938 kB / 1.069 GB, free: 9.676 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001657/0.2421, allocations: 59.97 kB / 1.069 GB, free: 9.617 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.319e-06/0.2421, allocations: 7.875 kB / 1.069 GB, free: 9.609 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.828e-05/0.2422, allocations: 15.98 kB / 1.069 GB, free: 9.594 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.2422, allocations: 0 / 1.069 GB, free: 9.594 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.2422, allocations: 0 / 1.069 GB, free: 9.594 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004185/0.2426, allocations: 322.2 kB / 1.07 GB, free: 9.262 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001112/0.2427, allocations: 148.6 kB / 1.07 GB, free: 9.098 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.895e-05/0.2428, allocations: 15.94 kB / 1.07 GB, free: 9.082 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001814/0.243, allocations: 27.97 kB / 1.07 GB, free: 9.055 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.889e-05/0.243, allocations: 23.97 kB / 1.07 GB, free: 9.031 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.687e-05/0.243, allocations: 19.98 kB / 1.07 GB, free: 9.012 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.000182/0.2432, allocations: 236.4 kB / 1.07 GB, free: 8.781 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2432, allocations: 0 / 1.07 GB, free: 8.781 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002703/0.2435, allocations: 68 kB / 1.07 GB, free: 8.715 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.001347/0.2449, allocations: 1.169 MB / 1.071 GB, free: 7.664 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003396/0.2452, allocations: 232.1 kB / 1.072 GB, free: 7.438 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.2452, allocations: 0 / 1.072 GB, free: 7.438 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001693/0.2454, allocations: 131.8 kB / 1.072 GB, free: 7.309 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002642/0.2457, allocations: 48.66 kB / 1.072 GB, free: 7.266 MB / 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.002629/0.2483, allocations: 2.598 MB / 1.074 GB, free: 4.582 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002641/0.2486, allocations: 0.7655 MB / 1.075 GB, free: 3.789 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.000302/0.2489, allocations: 142.9 kB / 1.075 GB, free: 3.648 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001267/0.249, allocations: 99.39 kB / 1.075 GB, free: 3.551 MB / 0.8262 GB Notification: Performance of SimCode: time 3.1e-07/0.249, allocations: 0 / 1.075 GB, free: 3.551 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.609/2.858, allocations: 5.511 MB / 1.081 GB, free: 14.25 MB / 0.8419 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002478/2.858, allocations: 292.5 kB / 1.081 GB, free: 13.87 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.651/5.509, allocations: 0 / 1.081 GB, free: 13.87 MB / 0.8419 GB (rm -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature_res.mat --tempDir=temp_Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature_fmu --startTime=0 --stopTime=8.64e+06 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature.fmu > Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe 2>&1)