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.0009929/0.0009929, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001007/0.001007, allocations: 193 kB / 16.14 MB, free: 6.695 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.224/1.224, allocations: 222.9 MB / 239.8 MB, free: 4.598 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8343/0.8343, allocations: 135.1 MB / 425.1 MB, free: 11.88 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001048/0.001048, allocations: 64.31 kB / 0.5048 GB, free: 5.668 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1239/0.125, allocations: 80.92 MB / 0.5838 GB, free: 4.91 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature): time 0.002713/0.1277, allocations: 1.909 MB / 0.5857 GB, free: 2.984 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001805/0.1295, allocations: 1.549 MB / 0.5872 GB, free: 1.426 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.022e-05/0.1296, allocations: 4 kB / 0.5872 GB, free: 1.422 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000143/0.1297, allocations: 27.91 kB / 0.5872 GB, free: 1.395 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001808/0.1299, allocations: 59.69 kB / 0.5873 GB, free: 1.336 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003486/0.1303, allocations: 151.2 kB / 0.5874 GB, free: 1.191 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002182/0.1305, allocations: 253.4 kB / 0.5877 GB, free: 0.9453 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.563e-05/0.1306, allocations: 33.33 kB / 0.5877 GB, free: 0.9141 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.773e-05/0.1307, allocations: 83.77 kB / 0.5878 GB, free: 0.832 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001581/0.1309, allocations: 101.5 kB / 0.5879 GB, free: 0.7344 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.132e-05/0.1309, allocations: 16 kB / 0.5879 GB, free: 0.7188 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001457/0.1311, allocations: 75.98 kB / 0.588 GB, free: 0.6445 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 7.897e-05/0.1312, allocations: 79.73 kB / 0.588 GB, free: 0.5664 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 8.869e-05/0.1312, allocations: 111.3 kB / 0.5881 GB, free: 468 kB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002695/0.1315, allocations: 299.1 kB / 0.5884 GB, free: 168 kB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.264e-06/0.1315, allocations: 3.938 kB / 0.5884 GB, free: 164 kB / 494.1 MB Notification: Performance of FrontEnd: time 5.31e-07/0.1315, allocations: 0 / 0.5884 GB, free: 164 kB / 494.1 MB Notification: Performance of Transformations before backend: time 3.206e-06/0.1315, allocations: 0 / 0.5884 GB, free: 164 kB / 494.1 MB 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.0006048/0.1322, allocations: 0.5579 MB / 0.589 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 2.586e-05/0.1322, allocations: 16.03 kB / 0.589 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.308e-05/0.1322, allocations: 50.73 kB / 0.589 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001312/0.1324, allocations: 32.64 kB / 0.5891 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002223/0.1326, allocations: 278.6 kB / 0.5893 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.493e-05/0.1326, allocations: 12.38 kB / 0.5893 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.525e-05/0.1327, allocations: 27.92 kB / 0.5894 GB, free: 15.1 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000319/0.133, allocations: 228.7 kB / 0.5896 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.039e-06/0.133, allocations: 4 kB / 0.5896 GB, free: 14.85 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.361e-05/0.133, allocations: 11.98 kB / 0.5896 GB, free: 14.84 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.438e-06/0.133, allocations: 4 kB / 0.5896 GB, free: 14.84 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007618/0.1338, allocations: 0.7412 MB / 0.5903 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008551/0.1347, allocations: 0.629 MB / 0.591 GB, free: 13.41 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004255/0.1351, allocations: 309.9 kB / 0.5912 GB, free: 13.09 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001425/0.1353, allocations: 105.4 kB / 0.5913 GB, free: 12.99 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.433e-05/0.1353, allocations: 20.25 kB / 0.5914 GB, free: 12.97 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002791/0.1356, allocations: 187.4 kB / 0.5915 GB, free: 12.77 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=35): time 1.402e-06/0.1356, allocations: 0 / 0.5915 GB, free: 12.77 MB / 0.4981 GB Notification: Performance of matching and sorting (n=35): time 0.0005786/0.1362, allocations: 374.4 kB / 0.5919 GB, free: 12.4 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.504e-05/0.1362, allocations: 140.5 kB / 0.592 GB, free: 12.23 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002422/0.1365, allocations: 305 kB / 0.5923 GB, free: 11.93 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.619e-05/0.1365, allocations: 33.7 kB / 0.5924 GB, free: 11.89 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.832e-05/0.1366, allocations: 132.6 kB / 0.5925 GB, free: 11.76 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 7.552e-05/0.1367, allocations: 122.3 kB / 0.5926 GB, free: 11.64 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.096e-05/0.1368, allocations: 73.62 kB / 0.5927 GB, free: 11.56 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.57e-05/0.1369, allocations: 334.8 kB / 0.593 GB, free: 11.22 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000128/0.137, allocations: 79.95 kB / 0.5931 GB, free: 11.14 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001714/0.1372, allocations: 129.7 kB / 0.5932 GB, free: 11.01 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002942/0.1375, allocations: 221.1 kB / 0.5934 GB, free: 10.79 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.1375, allocations: 0 / 0.5934 GB, free: 10.79 MB / 0.4981 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0003943/0.1379, allocations: 277 kB / 0.5937 GB, free: 10.51 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 9.738e-06/0.1379, allocations: 8 kB / 0.5937 GB, free: 10.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.546e-06/0.1379, allocations: 4 kB / 0.5937 GB, free: 10.5 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.107e-06/0.1379, allocations: 3.938 kB / 0.5937 GB, free: 10.5 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001921/0.1381, allocations: 63.91 kB / 0.5937 GB, free: 10.43 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.32e-06/0.1381, allocations: 4 kB / 0.5937 GB, free: 10.43 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001434/0.1383, allocations: 27.73 kB / 0.5938 GB, free: 10.4 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.103e-05/0.1383, allocations: 11.98 kB / 0.5938 GB, free: 10.39 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.0001809/0.1385, allocations: 161.8 kB / 0.5939 GB, free: 10.22 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.461e-05/0.1386, allocations: 27.72 kB / 0.594 GB, free: 10.2 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007516/0.1393, allocations: 400.7 kB / 0.5943 GB, free: 9.797 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.308e-06/0.1393, allocations: 4 kB / 0.5944 GB, free: 9.793 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.715e-06/0.1393, allocations: 0 / 0.5944 GB, free: 9.793 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/0.1394, allocations: 3.984 kB / 0.5944 GB, free: 9.789 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003564/0.1397, allocations: 341.2 kB / 0.5947 GB, free: 9.406 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/0.1397, allocations: 0 / 0.5947 GB, free: 9.406 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000288/0.14, allocations: 59.91 kB / 0.5947 GB, free: 9.348 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.494e-06/0.14, allocations: 4 kB / 0.5947 GB, free: 9.344 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.63e-05/0.1401, allocations: 19.92 kB / 0.5948 GB, free: 9.324 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.884e-06/0.1401, allocations: 0 / 0.5948 GB, free: 9.324 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.1401, allocations: 0 / 0.5948 GB, free: 9.324 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005586/0.1407, allocations: 317.7 kB / 0.5951 GB, free: 8.992 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001087/0.1408, allocations: 144.7 kB / 0.5952 GB, free: 8.832 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.03e-05/0.1408, allocations: 11.94 kB / 0.5952 GB, free: 8.82 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001715/0.141, allocations: 23.98 kB / 0.5952 GB, free: 8.797 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.282e-05/0.1411, allocations: 35.84 kB / 0.5953 GB, free: 8.762 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.415e-05/0.1411, allocations: 8 kB / 0.5953 GB, free: 8.754 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001798/0.1413, allocations: 244.4 kB / 0.5955 GB, free: 8.516 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.6e-07/0.1413, allocations: 0 / 0.5955 GB, free: 8.516 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002648/0.1416, allocations: 71.84 kB / 0.5956 GB, free: 8.445 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.00139/0.143, allocations: 1.162 MB / 0.5967 GB, free: 7.422 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003442/0.1433, allocations: 231.6 kB / 0.5969 GB, free: 7.195 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.1433, allocations: 0 / 0.5969 GB, free: 7.195 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001831/0.1435, allocations: 135.7 kB / 0.5971 GB, free: 7.062 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002533/0.1438, allocations: 43.28 kB / 0.5971 GB, free: 7.02 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.002662/0.1464, allocations: 2.579 MB / 0.5996 GB, free: 4.355 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002817/0.1467, allocations: 0.7692 MB / 0.6004 GB, free: 3.562 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0003049/0.147, allocations: 151 kB / 0.6005 GB, free: 3.414 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001532/0.1472, allocations: 99.33 kB / 0.6006 GB, free: 3.316 MB / 0.4981 GB Notification: Performance of SimCode: time 2.5e-07/0.1472, allocations: 0 / 0.6006 GB, free: 3.316 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 28.23/28.38, allocations: 5.71 MB / 0.6062 GB, free: 51.38 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000163/28.38, allocations: 276.2 kB / 0.6065 GB, free: 51.03 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.654/30.03, allocations: 0 / 0.6065 GB, free: 51.03 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)