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.001097/0.001097, allocations: 99.36 kB / 15.33 MB, free: 0.5078 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.001135/0.001135, allocations: 195.7 kB / 16.25 MB, free: 6.633 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.234/1.234, allocations: 222.9 MB / 239.9 MB, free: 4.52 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8526/0.8526, allocations: 135.1 MB / 425.2 MB, free: 11.93 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001143/0.001143, allocations: 63.3 kB / 0.505 GB, free: 5.551 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1256/0.1268, allocations: 80.93 MB / 0.584 GB, free: 4.785 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature): time 0.002779/0.1296, allocations: 1.901 MB / 0.5859 GB, free: 2.867 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001713/0.1313, allocations: 1.545 MB / 0.5874 GB, free: 1.312 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.177e-05/0.1314, allocations: 3.938 kB / 0.5874 GB, free: 1.309 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001878/0.1316, allocations: 23.91 kB / 0.5874 GB, free: 1.285 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002309/0.1318, allocations: 75.69 kB / 0.5875 GB, free: 1.211 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000335/0.1322, allocations: 142.6 kB / 0.5876 GB, free: 1.074 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002555/0.1324, allocations: 277.4 kB / 0.5879 GB, free: 0.8047 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.572e-05/0.1325, allocations: 33.27 kB / 0.5879 GB, free: 0.7734 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.013e-05/0.1326, allocations: 91.83 kB / 0.588 GB, free: 0.6836 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001771/0.1328, allocations: 111.6 kB / 0.5881 GB, free: 0.5742 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.081e-05/0.1329, allocations: 23.94 kB / 0.5881 GB, free: 0.5508 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001382/0.133, allocations: 83.98 kB / 0.5882 GB, free: 480 kB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 7.946e-05/0.1331, allocations: 87.8 kB / 0.5883 GB, free: 392 kB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 9.775e-05/0.1332, allocations: 119.2 kB / 0.5884 GB, free: 272 kB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002986/0.1335, allocations: 315.1 kB / 0.5887 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.409e-06/0.1335, allocations: 4 kB / 0.5887 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.233e-06/0.1335, allocations: 0 / 0.5887 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.35e-06/0.1335, allocations: 0 / 0.5887 GB, free: 15.95 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.0006647/0.1342, allocations: 0.5616 MB / 0.5892 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 2.882e-05/0.1342, allocations: 12.03 kB / 0.5893 GB, free: 15.33 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.176e-05/0.1343, allocations: 50.73 kB / 0.5893 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001303/0.1344, allocations: 32.64 kB / 0.5893 GB, free: 15.24 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000236/0.1347, allocations: 270.7 kB / 0.5896 GB, free: 14.94 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.319e-05/0.1347, allocations: 20.38 kB / 0.5896 GB, free: 14.92 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.497e-05/0.1347, allocations: 19.94 kB / 0.5896 GB, free: 14.9 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003374/0.1351, allocations: 228.8 kB / 0.5898 GB, free: 14.66 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.586e-06/0.1351, allocations: 3.938 kB / 0.5899 GB, free: 14.65 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.517e-05/0.1351, allocations: 11.98 kB / 0.5899 GB, free: 14.64 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.581e-06/0.1351, allocations: 4 kB / 0.5899 GB, free: 14.64 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007885/0.1359, allocations: 0.7412 MB / 0.5906 GB, free: 13.89 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008897/0.1368, allocations: 0.6329 MB / 0.5912 GB, free: 13.21 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004259/0.1373, allocations: 305.9 kB / 0.5915 GB, free: 12.89 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001486/0.1374, allocations: 117.3 kB / 0.5916 GB, free: 12.78 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 4.053e-05/0.1375, allocations: 20.25 kB / 0.5916 GB, free: 12.76 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00029/0.1378, allocations: 183.4 kB / 0.5918 GB, free: 12.57 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=35): time 1.623e-06/0.1378, allocations: 0 / 0.5918 GB, free: 12.57 MB / 0.4981 GB Notification: Performance of matching and sorting (n=35): time 0.0005845/0.1384, allocations: 378.4 kB / 0.5922 GB, free: 12.19 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.582e-05/0.1384, allocations: 136.5 kB / 0.5923 GB, free: 12.03 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002443/0.1387, allocations: 313 kB / 0.5926 GB, free: 11.71 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3e-05/0.1387, allocations: 29.7 kB / 0.5926 GB, free: 11.68 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.908e-05/0.1388, allocations: 132.6 kB / 0.5928 GB, free: 11.55 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 8.074e-05/0.1389, allocations: 118.3 kB / 0.5929 GB, free: 11.43 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.256e-05/0.139, allocations: 69.69 kB / 0.5929 GB, free: 11.36 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.679e-05/0.1391, allocations: 338.8 kB / 0.5933 GB, free: 11.02 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001289/0.1392, allocations: 79.95 kB / 0.5933 GB, free: 10.94 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001645/0.1394, allocations: 125.8 kB / 0.5934 GB, free: 10.8 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002897/0.1397, allocations: 221 kB / 0.5937 GB, free: 10.59 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.1397, allocations: 0 / 0.5937 GB, free: 10.59 MB / 0.4981 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0004061/0.1401, allocations: 281 kB / 0.5939 GB, free: 10.3 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.019e-05/0.1401, allocations: 4 kB / 0.5939 GB, free: 10.3 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.656e-06/0.1401, allocations: 0 / 0.5939 GB, free: 10.3 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.159e-05/0.1401, allocations: 7.938 kB / 0.5939 GB, free: 10.29 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001964/0.1403, allocations: 67.84 kB / 0.594 GB, free: 10.23 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.769e-06/0.1404, allocations: 0 / 0.594 GB, free: 10.23 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001414/0.1405, allocations: 27.73 kB / 0.594 GB, free: 10.2 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.261e-05/0.1405, allocations: 15.98 kB / 0.594 GB, free: 10.18 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.0001356/0.1407, allocations: 161.8 kB / 0.5942 GB, free: 10.02 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.209e-05/0.1407, allocations: 31.72 kB / 0.5942 GB, free: 9.984 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006061/0.1413, allocations: 388.8 kB / 0.5946 GB, free: 9.598 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.68e-06/0.1414, allocations: 8 kB / 0.5946 GB, free: 9.59 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.1414, allocations: 0 / 0.5946 GB, free: 9.59 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.069e-06/0.1414, allocations: 3.984 kB / 0.5946 GB, free: 9.586 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002707/0.1417, allocations: 341.2 kB / 0.5949 GB, free: 9.203 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.1417, allocations: 0 / 0.5949 GB, free: 9.203 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001634/0.1418, allocations: 63.91 kB / 0.595 GB, free: 9.141 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.1418, allocations: 0 / 0.595 GB, free: 9.141 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.071e-05/0.1419, allocations: 15.92 kB / 0.595 GB, free: 9.125 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.907e-06/0.1419, allocations: 4 kB / 0.595 GB, free: 9.121 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.62e-07/0.1419, allocations: 3.938 kB / 0.595 GB, free: 9.117 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004183/0.1423, allocations: 313.7 kB / 0.5953 GB, free: 8.789 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001138/0.1424, allocations: 148.7 kB / 0.5955 GB, free: 8.625 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.032e-05/0.1425, allocations: 7.938 kB / 0.5955 GB, free: 8.617 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001737/0.1426, allocations: 27.98 kB / 0.5955 GB, free: 8.59 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.877e-05/0.1427, allocations: 27.81 kB / 0.5955 GB, free: 8.562 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.627e-05/0.1427, allocations: 16 kB / 0.5955 GB, free: 8.547 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001801/0.1429, allocations: 236.4 kB / 0.5958 GB, free: 8.316 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1429, allocations: 0 / 0.5958 GB, free: 8.316 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002674/0.1432, allocations: 75.84 kB / 0.5958 GB, free: 8.242 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.001354/0.1446, allocations: 1.162 MB / 0.597 GB, free: 7.227 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004663/0.145, allocations: 311.5 kB / 0.5973 GB, free: 6.922 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.145, allocations: 0 / 0.5973 GB, free: 6.922 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001769/0.1452, allocations: 128.6 kB / 0.5974 GB, free: 6.797 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002576/0.1455, allocations: 44.34 kB / 0.5974 GB, free: 6.75 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.002578/0.1481, allocations: 2.589 MB / 0.6 GB, free: 4.078 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002565/0.1483, allocations: 0.7614 MB / 0.6007 GB, free: 3.293 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0002927/0.1486, allocations: 147 kB / 0.6008 GB, free: 3.148 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001319/0.1488, allocations: 99.39 kB / 0.6009 GB, free: 3.051 MB / 0.4981 GB Notification: Performance of SimCode: time 2.4e-07/0.1488, allocations: 0 / 0.6009 GB, free: 3.051 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.075/2.224, allocations: 5.853 MB / 0.6067 GB, free: 52.02 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001647/2.224, allocations: 278.9 kB / 0.6069 GB, free: 51.67 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.073/4.297, allocations: 2.391 kB / 0.6069 GB, free: 51.67 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)