Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature,fileNamePrefix="BuildingSystems_BuildingSystems_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.0009041/0.0009041, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.00542/0.00542, allocations: 169.9 kB / 16.27 MB, free: 6.652 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.298/1.298, allocations: 223.3 MB / 240.3 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001758/0.001758, allocations: 270.8 kB / 291.7 MB, free: 1.871 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9125/0.9125, allocations: 169.5 MB / 0.5004 GB, free: 14.07 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003649/0.0003649, allocations: 18.45 kB / 0.5988 GB, free: 27.99 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1257/0.126, allocations: 88.54 MB / 0.6852 GB, free: 14.95 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature): time 0.00186/0.1279, allocations: 1.585 MB / 0.6868 GB, free: 13.36 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001756/0.1297, allocations: 1.528 MB / 0.6883 GB, free: 11.82 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.299e-05/0.1298, allocations: 1.719 kB / 0.6883 GB, free: 11.82 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001569/0.1299, allocations: 23.91 kB / 0.6883 GB, free: 11.8 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001848/0.1301, allocations: 66.56 kB / 0.6884 GB, free: 11.73 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003346/0.1305, allocations: 153.7 kB / 0.6885 GB, free: 11.59 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002392/0.1307, allocations: 257.4 kB / 0.6888 GB, free: 11.34 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.025e-05/0.1308, allocations: 34.28 kB / 0.6888 GB, free: 11.3 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.134e-05/0.1309, allocations: 79.75 kB / 0.6889 GB, free: 11.23 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001733/0.1311, allocations: 100.2 kB / 0.689 GB, free: 11.13 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.952e-05/0.1311, allocations: 12.78 kB / 0.689 GB, free: 11.12 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001365/0.1313, allocations: 75.95 kB / 0.689 GB, free: 11.04 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 7.566e-05/0.1313, allocations: 73.66 kB / 0.6891 GB, free: 10.97 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001048/0.1315, allocations: 144.9 kB / 0.6893 GB, free: 10.82 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002779/0.1317, allocations: 303 kB / 0.6895 GB, free: 10.53 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.705e-06/0.1317, allocations: 0 / 0.6895 GB, free: 10.53 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.062e-06/0.1318, allocations: 0 / 0.6895 GB, free: 10.53 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.787e-06/0.1318, allocations: 0.9375 kB / 0.6895 GB, free: 10.53 MB / 494.1 MB 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.0005834/0.1324, allocations: 0.5028 MB / 0.69 GB, free: 9.98 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.311e-05/0.1324, allocations: 12.03 kB / 0.69 GB, free: 9.969 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.305e-05/0.1324, allocations: 54.73 kB / 0.6901 GB, free: 9.906 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001178/0.1326, allocations: 28.66 kB / 0.6901 GB, free: 9.879 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002333/0.1328, allocations: 278.7 kB / 0.6904 GB, free: 9.57 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.736e-05/0.1328, allocations: 16.31 kB / 0.6904 GB, free: 9.555 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.869e-05/0.1329, allocations: 23.88 kB / 0.6904 GB, free: 9.531 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003363/0.1332, allocations: 243.8 kB / 0.6907 GB, free: 9.277 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.843e-06/0.1332, allocations: 0 / 0.6907 GB, free: 9.277 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.352e-05/0.1333, allocations: 8 kB / 0.6907 GB, free: 9.27 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.225e-06/0.1333, allocations: 4 kB / 0.6907 GB, free: 9.266 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007666/0.134, allocations: 0.7451 MB / 0.6914 GB, free: 8.52 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008806/0.1349, allocations: 0.6613 MB / 0.692 GB, free: 7.812 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004378/0.1354, allocations: 309.9 kB / 0.6923 GB, free: 7.504 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001533/0.1355, allocations: 114.1 kB / 0.6925 GB, free: 7.391 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.566e-05/0.1356, allocations: 16.25 kB / 0.6925 GB, free: 7.375 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002799/0.1359, allocations: 186.3 kB / 0.6926 GB, free: 7.184 MB / 494.1 MB Notification: Performance of pre-optimization done (n=35): time 1.522e-06/0.1359, allocations: 0 / 0.6926 GB, free: 7.184 MB / 494.1 MB Notification: Performance of matching and sorting (n=35): time 0.0005635/0.1365, allocations: 382.3 kB / 0.693 GB, free: 6.805 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.698e-05/0.1365, allocations: 132.5 kB / 0.6931 GB, free: 6.645 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002495/0.1368, allocations: 309.5 kB / 0.6934 GB, free: 6.332 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.16e-05/0.1368, allocations: 34.77 kB / 0.6935 GB, free: 6.293 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.886e-05/0.1369, allocations: 136.6 kB / 0.6936 GB, free: 6.156 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.959e-05/0.137, allocations: 114.4 kB / 0.6937 GB, free: 6.043 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.885e-05/0.137, allocations: 30.7 kB / 0.6937 GB, free: 6.008 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.789e-05/0.1371, allocations: 339.3 kB / 0.6941 GB, free: 5.668 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001312/0.1373, allocations: 79.95 kB / 0.6941 GB, free: 5.59 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001572/0.1374, allocations: 131.2 kB / 0.6943 GB, free: 5.449 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002834/0.1377, allocations: 214.3 kB / 0.6945 GB, free: 5.238 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.1377, allocations: 4 kB / 0.6945 GB, free: 5.234 MB / 494.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0003766/0.1381, allocations: 281 kB / 0.6947 GB, free: 4.953 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.099e-05/0.1381, allocations: 7.938 kB / 0.6947 GB, free: 4.945 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.257e-06/0.1381, allocations: 0 / 0.6947 GB, free: 4.945 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.806e-06/0.1381, allocations: 4 kB / 0.6947 GB, free: 4.941 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001991/0.1383, allocations: 67.89 kB / 0.6948 GB, free: 4.875 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.198e-06/0.1384, allocations: 4 kB / 0.6948 GB, free: 4.871 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001409/0.1385, allocations: 27.78 kB / 0.6948 GB, free: 4.844 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.227e-05/0.1385, allocations: 15.98 kB / 0.6949 GB, free: 4.828 MB / 494.1 MB 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.0001339/0.1387, allocations: 163.1 kB / 0.695 GB, free: 4.66 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.161e-05/0.1387, allocations: 31.56 kB / 0.695 GB, free: 4.629 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006013/0.1393, allocations: 388.9 kB / 0.6954 GB, free: 4.234 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.24e-06/0.1393, allocations: 4 kB / 0.6954 GB, free: 4.23 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.766e-06/0.1394, allocations: 3.938 kB / 0.6954 GB, free: 4.227 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.898e-06/0.1394, allocations: 8.016 kB / 0.6954 GB, free: 4.219 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002703/0.1396, allocations: 341.3 kB / 0.6958 GB, free: 3.836 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/0.1397, allocations: 0 / 0.6958 GB, free: 3.836 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001618/0.1398, allocations: 63.84 kB / 0.6958 GB, free: 3.773 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.557e-06/0.1398, allocations: 3.938 kB / 0.6958 GB, free: 3.77 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.166e-05/0.1399, allocations: 12 kB / 0.6958 GB, free: 3.758 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.1399, allocations: 0 / 0.6958 GB, free: 3.758 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.1399, allocations: 4 kB / 0.6958 GB, free: 3.754 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000398/0.1403, allocations: 333.4 kB / 0.6962 GB, free: 3.41 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001132/0.1404, allocations: 144.7 kB / 0.6963 GB, free: 3.25 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.641e-05/0.1404, allocations: 11.92 kB / 0.6963 GB, free: 3.238 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001821/0.1406, allocations: 35.98 kB / 0.6963 GB, free: 3.203 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.828e-05/0.1407, allocations: 27.95 kB / 0.6964 GB, free: 3.176 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.347e-05/0.1407, allocations: 8 kB / 0.6964 GB, free: 3.168 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001842/0.1409, allocations: 240.4 kB / 0.6966 GB, free: 2.934 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1409, allocations: 0 / 0.6966 GB, free: 2.934 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002606/0.1412, allocations: 64 kB / 0.6967 GB, free: 2.871 MB / 494.1 MB 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.001337/0.1425, allocations: 1.179 MB / 0.6978 GB, free: 1.812 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0003314/0.1429, allocations: 227.7 kB / 0.698 GB, free: 1.59 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.1429, allocations: 3.938 kB / 0.698 GB, free: 1.586 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001652/0.143, allocations: 127.9 kB / 0.6982 GB, free: 1.461 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002655/0.1433, allocations: 40.42 kB / 0.6982 GB, free: 1.422 MB / 494.1 MB 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.00254/0.1459, allocations: 2.602 MB / 0.7007 GB, free: 14.73 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002622/0.1461, allocations: 0.7731 MB / 0.7015 GB, free: 13.94 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0002932/0.1464, allocations: 142.9 kB / 0.7016 GB, free: 13.8 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001249/0.1466, allocations: 95.39 kB / 0.7017 GB, free: 13.7 MB / 0.4981 GB Notification: Performance of SimCode: time 1.623e-06/0.1466, allocations: 0 / 0.7017 GB, free: 13.7 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 28.22/28.36, allocations: 5.528 MB / 0.7071 GB, free: 8.43 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003602/28.36, allocations: 300 kB / 0.7074 GB, free: 8.043 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.655/30.02, allocations: 0.625 kB / 0.7074 GB, free: 8.043 MB / 0.4981 GB (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature_fmu --startTime=0 --stopTime=8.64e+06 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature.fmu > BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe 2>&1)