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.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/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0006958/0.0006958, allocations: 91.14 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.003924/0.003924, allocations: 174 kB / 16.27 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.285/1.285, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8385/0.8385, allocations: 135.3 MB / 426.7 MB, free: 14.31 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002876/0.0002877, allocations: 8 kB / 0.5077 GB, free: 4.688 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1253/0.1256, allocations: 82.31 MB / 0.5881 GB, free: 2.559 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature): time 0.001892/0.1275, allocations: 1.556 MB / 0.5896 GB, free: 0.9883 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001883/0.1294, allocations: 1.522 MB / 0.5911 GB, free: 15.46 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.94e-05/0.1295, allocations: 0 / 0.5911 GB, free: 15.46 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001812/0.1297, allocations: 23.86 kB / 0.5911 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002257/0.1299, allocations: 67.73 kB / 0.5912 GB, free: 15.37 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003841/0.1303, allocations: 150.7 kB / 0.5913 GB, free: 15.22 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002504/0.1306, allocations: 253.4 kB / 0.5916 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001026/0.1307, allocations: 45.17 kB / 0.5916 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 9.32e-05/0.1308, allocations: 79.83 kB / 0.5917 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001891/0.131, allocations: 91.7 kB / 0.5918 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.372e-05/0.131, allocations: 8 kB / 0.5918 GB, free: 14.76 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001642/0.1312, allocations: 75.97 kB / 0.5919 GB, free: 14.68 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 8.016e-05/0.1313, allocations: 83.72 kB / 0.5919 GB, free: 14.6 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001097/0.1314, allocations: 137 kB / 0.5921 GB, free: 14.46 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003071/0.1317, allocations: 291 kB / 0.5923 GB, free: 14.18 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/0.1317, allocations: 0 / 0.5923 GB, free: 14.18 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.142e-06/0.1317, allocations: 0 / 0.5923 GB, free: 14.18 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.851e-06/0.1317, allocations: 4 kB / 0.5924 GB, free: 14.17 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 42 * Number of variables: 42 Notification: Performance of Generate backend data structure: time 0.0006308/0.1324, allocations: 0.5072 MB / 0.5928 GB, free: 13.62 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.153e-05/0.1324, allocations: 8.031 kB / 0.5929 GB, free: 13.61 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.801e-05/0.1325, allocations: 54.73 kB / 0.5929 GB, free: 13.55 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001228/0.1326, allocations: 28.66 kB / 0.5929 GB, free: 13.52 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002393/0.1328, allocations: 270.7 kB / 0.5932 GB, free: 13.21 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.805e-05/0.1329, allocations: 16.31 kB / 0.5932 GB, free: 13.2 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.697e-05/0.1329, allocations: 19.94 kB / 0.5932 GB, free: 13.18 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003211/0.1332, allocations: 232.8 kB / 0.5934 GB, free: 12.93 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.093e-06/0.1332, allocations: 0 / 0.5934 GB, free: 12.93 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.749e-05/0.1333, allocations: 12 kB / 0.5935 GB, free: 12.92 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.831e-06/0.1333, allocations: 4 kB / 0.5935 GB, free: 12.92 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007373/0.134, allocations: 0.7412 MB / 0.5942 GB, free: 12.18 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009124/0.135, allocations: 0.6485 MB / 0.5948 GB, free: 11.47 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004221/0.1354, allocations: 305.9 kB / 0.5951 GB, free: 11.16 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001491/0.1355, allocations: 121.3 kB / 0.5952 GB, free: 11.04 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 4.064e-05/0.1356, allocations: 20.23 kB / 0.5952 GB, free: 11.02 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002919/0.1359, allocations: 179.4 kB / 0.5954 GB, free: 10.83 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=35): time 1.563e-06/0.1359, allocations: 0 / 0.5954 GB, free: 10.83 MB / 0.4981 GB Notification: Performance of matching and sorting (n=35): time 0.0005688/0.1365, allocations: 382.3 kB / 0.5958 GB, free: 10.45 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.379e-05/0.1365, allocations: 136.5 kB / 0.5959 GB, free: 10.29 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002443/0.1368, allocations: 309 kB / 0.5962 GB, free: 9.98 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.823e-05/0.1368, allocations: 29.7 kB / 0.5962 GB, free: 9.945 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 7.22e-05/0.1369, allocations: 140.6 kB / 0.5964 GB, free: 9.805 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 8.021e-05/0.137, allocations: 114.3 kB / 0.5965 GB, free: 9.691 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.774e-05/0.137, allocations: 29.7 kB / 0.5965 GB, free: 9.656 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.362e-05/0.1371, allocations: 338.8 kB / 0.5968 GB, free: 9.316 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001269/0.1373, allocations: 79.95 kB / 0.5969 GB, free: 9.238 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001541/0.1374, allocations: 129.7 kB / 0.597 GB, free: 9.102 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000276/0.1377, allocations: 213.1 kB / 0.5972 GB, free: 8.891 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.1377, allocations: 0 / 0.5972 GB, free: 8.891 MB / 0.4981 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0003681/0.1381, allocations: 281 kB / 0.5975 GB, free: 8.609 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.559e-05/0.1381, allocations: 15.92 kB / 0.5975 GB, free: 8.594 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.1381, allocations: 0 / 0.5975 GB, free: 8.594 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.253e-05/0.1381, allocations: 3.938 kB / 0.5975 GB, free: 8.59 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001932/0.1383, allocations: 63.91 kB / 0.5976 GB, free: 8.527 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.753e-06/0.1384, allocations: 4 kB / 0.5976 GB, free: 8.523 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001434/0.1385, allocations: 27.83 kB / 0.5976 GB, free: 8.496 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.334e-05/0.1385, allocations: 20 kB / 0.5976 GB, free: 8.477 MB / 0.4981 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.000135/0.1387, allocations: 161.8 kB / 0.5978 GB, free: 8.309 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.75e-05/0.1387, allocations: 23.72 kB / 0.5978 GB, free: 8.285 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000588/0.1393, allocations: 400.6 kB / 0.5982 GB, free: 7.887 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.25e-06/0.1393, allocations: 8.031 kB / 0.5982 GB, free: 7.879 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.1393, allocations: 0 / 0.5982 GB, free: 7.879 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.1393, allocations: 0 / 0.5982 GB, free: 7.879 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002681/0.1396, allocations: 341.3 kB / 0.5985 GB, free: 7.496 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.1396, allocations: 0 / 0.5985 GB, free: 7.496 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001751/0.1398, allocations: 59.91 kB / 0.5986 GB, free: 7.438 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.135e-06/0.1398, allocations: 0 / 0.5986 GB, free: 7.438 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.731e-05/0.1398, allocations: 11.94 kB / 0.5986 GB, free: 7.426 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.168e-06/0.1398, allocations: 4 kB / 0.5986 GB, free: 7.422 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.1398, allocations: 3.938 kB / 0.5986 GB, free: 7.418 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003923/0.1402, allocations: 329.7 kB / 0.5989 GB, free: 7.074 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001167/0.1404, allocations: 152.6 kB / 0.5991 GB, free: 6.906 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.698e-05/0.1404, allocations: 11.92 kB / 0.5991 GB, free: 6.895 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001776/0.1406, allocations: 27.98 kB / 0.5991 GB, free: 6.867 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.309e-05/0.1407, allocations: 31.95 kB / 0.5991 GB, free: 6.836 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.339e-05/0.1407, allocations: 8 kB / 0.5991 GB, free: 6.828 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.000177/0.1409, allocations: 240.4 kB / 0.5994 GB, free: 6.594 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.6e-07/0.1409, allocations: 0 / 0.5994 GB, free: 6.594 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002697/0.1412, allocations: 67.94 kB / 0.5994 GB, free: 6.527 MB / 0.4981 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.001324/0.1425, allocations: 1.171 MB / 0.6006 GB, free: 5.496 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003364/0.1428, allocations: 231.6 kB / 0.6008 GB, free: 5.27 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.1428, allocations: 0 / 0.6008 GB, free: 5.27 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001868/0.143, allocations: 131.8 kB / 0.6009 GB, free: 5.141 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002659/0.1433, allocations: 36.42 kB / 0.601 GB, free: 5.102 MB / 0.4981 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.002619/0.1459, allocations: 2.602 MB / 0.6035 GB, free: 2.414 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002598/0.1462, allocations: 0.7614 MB / 0.6042 GB, free: 1.629 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0002843/0.1465, allocations: 142.9 kB / 0.6044 GB, free: 1.488 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001231/0.1466, allocations: 99.39 kB / 0.6045 GB, free: 1.391 MB / 0.4981 GB Notification: Performance of SimCode: time 3.61e-07/0.1466, allocations: 0 / 0.6045 GB, free: 1.391 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 28.04/28.18, allocations: 5.474 MB / 0.6098 GB, free: 48.64 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002362/28.18, allocations: 284.9 kB / 0.6101 GB, free: 48.29 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.777/29.96, allocations: 0 / 0.6101 GB, free: 48.29 MB / 0.4981 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature_fmu --startTime=0 --stopTime=8.64e+06 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature.fmu > IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe 2>&1)