Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature,fileNamePrefix="IDEAS_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.001117/0.001117, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001109/0.001109, allocations: 190.5 kB / 16.25 MB, free: 6.637 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.177/1.177, allocations: 222.9 MB / 239.9 MB, free: 4.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.683/0.683, allocations: 132.2 MB / 422.3 MB, free: 1.945 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001065/0.001065, allocations: 60.56 kB / 0.5014 GB, free: 8.984 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1204/0.1215, allocations: 80.2 MB / 0.5797 GB, free: 9.004 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature): time 0.002759/0.1243, allocations: 1.91 MB / 0.5815 GB, free: 7.078 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001707/0.126, allocations: 1.542 MB / 0.5831 GB, free: 5.527 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.409e-05/0.1261, allocations: 4 kB / 0.5831 GB, free: 5.523 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001785/0.1263, allocations: 23.84 kB / 0.5831 GB, free: 5.5 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002122/0.1265, allocations: 67.69 kB / 0.5831 GB, free: 5.434 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003429/0.1268, allocations: 153.6 kB / 0.5833 GB, free: 5.293 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002558/0.1271, allocations: 281.4 kB / 0.5836 GB, free: 5.016 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.156e-05/0.1272, allocations: 37.25 kB / 0.5836 GB, free: 4.98 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.844e-05/0.1273, allocations: 99.8 kB / 0.5837 GB, free: 4.883 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001669/0.1275, allocations: 103.6 kB / 0.5838 GB, free: 4.781 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.118e-05/0.1275, allocations: 16 kB / 0.5838 GB, free: 4.766 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001348/0.1277, allocations: 87.97 kB / 0.5839 GB, free: 4.68 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 7.742e-05/0.1277, allocations: 87.8 kB / 0.584 GB, free: 4.594 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 9.672e-05/0.1278, allocations: 123.3 kB / 0.5841 GB, free: 4.473 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000284/0.1281, allocations: 315.1 kB / 0.5844 GB, free: 4.164 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.826e-06/0.1281, allocations: 3.938 kB / 0.5844 GB, free: 4.16 MB / 494.1 MB Notification: Performance of FrontEnd: time 9.82e-07/0.1281, allocations: 0 / 0.5844 GB, free: 4.16 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.338e-06/0.1282, allocations: 0 / 0.5844 GB, free: 4.16 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: 42 * Number of variables: 42 Notification: Performance of Generate backend data structure: time 0.0006486/0.1288, allocations: 0.5621 MB / 0.5849 GB, free: 3.551 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.911e-05/0.1288, allocations: 8.031 kB / 0.585 GB, free: 3.543 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.196e-05/0.1289, allocations: 54.73 kB / 0.585 GB, free: 3.48 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001264/0.129, allocations: 32.66 kB / 0.585 GB, free: 3.449 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002291/0.1293, allocations: 274.7 kB / 0.5853 GB, free: 3.141 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.471e-05/0.1293, allocations: 8.375 kB / 0.5853 GB, free: 3.133 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.756e-05/0.1293, allocations: 23.94 kB / 0.5853 GB, free: 3.109 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003303/0.1297, allocations: 232.8 kB / 0.5856 GB, free: 2.863 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.478e-06/0.1297, allocations: 0 / 0.5856 GB, free: 2.863 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.153e-05/0.1297, allocations: 7.938 kB / 0.5856 GB, free: 2.855 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.891e-06/0.1297, allocations: 8 kB / 0.5856 GB, free: 2.848 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007681/0.1305, allocations: 0.7451 MB / 0.5863 GB, free: 2.102 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008876/0.1314, allocations: 0.629 MB / 0.5869 GB, free: 1.418 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004214/0.1318, allocations: 305.9 kB / 0.5872 GB, free: 1.113 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000149/0.132, allocations: 117.4 kB / 0.5873 GB, free: 0.9961 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.707e-05/0.132, allocations: 20.19 kB / 0.5873 GB, free: 0.9766 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002808/0.1323, allocations: 179.4 kB / 0.5875 GB, free: 0.7891 MB / 494.1 MB Notification: Performance of pre-optimization done (n=35): time 1.573e-06/0.1323, allocations: 0 / 0.5875 GB, free: 0.7891 MB / 494.1 MB Notification: Performance of matching and sorting (n=35): time 0.0005823/0.1329, allocations: 381.8 kB / 0.5879 GB, free: 420 kB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.579e-05/0.133, allocations: 140.5 kB / 0.588 GB, free: 248 kB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002898/0.1333, allocations: 305 kB / 0.5883 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.673e-05/0.1333, allocations: 29.7 kB / 0.5883 GB, free: 15.9 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 7.021e-05/0.1334, allocations: 140.6 kB / 0.5885 GB, free: 15.76 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 7.765e-05/0.1335, allocations: 118.3 kB / 0.5886 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.214e-05/0.1336, allocations: 61.69 kB / 0.5886 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 8.992e-05/0.1337, allocations: 334.8 kB / 0.5889 GB, free: 15.24 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001231/0.1338, allocations: 87.95 kB / 0.589 GB, free: 15.15 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001642/0.134, allocations: 129.1 kB / 0.5892 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002825/0.1342, allocations: 218.2 kB / 0.5894 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.1343, allocations: 0 / 0.5894 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0003888/0.1346, allocations: 284.9 kB / 0.5896 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.033e-05/0.1347, allocations: 4 kB / 0.5896 GB, free: 14.51 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.737e-06/0.1347, allocations: 0 / 0.5896 GB, free: 14.51 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.237e-05/0.1347, allocations: 7.938 kB / 0.5896 GB, free: 14.5 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001933/0.1349, allocations: 67.91 kB / 0.5897 GB, free: 14.44 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.84e-06/0.1349, allocations: 0 / 0.5897 GB, free: 14.44 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000142/0.135, allocations: 23.83 kB / 0.5897 GB, free: 14.41 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.966e-05/0.1351, allocations: 12 kB / 0.5897 GB, free: 14.4 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.0001275/0.1352, allocations: 166.4 kB / 0.5899 GB, free: 14.23 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.963e-05/0.1353, allocations: 27.66 kB / 0.5899 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005846/0.1359, allocations: 396.7 kB / 0.5903 GB, free: 13.8 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.917e-06/0.1359, allocations: 4 kB / 0.5903 GB, free: 13.8 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.436e-06/0.1359, allocations: 0 / 0.5903 GB, free: 13.8 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.868e-06/0.1359, allocations: 4 kB / 0.5903 GB, free: 13.8 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002574/0.1361, allocations: 337.3 kB / 0.5906 GB, free: 13.42 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.1362, allocations: 0 / 0.5906 GB, free: 13.42 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001606/0.1363, allocations: 63.97 kB / 0.5907 GB, free: 13.36 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.1363, allocations: 3.938 kB / 0.5907 GB, free: 13.35 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.903e-05/0.1364, allocations: 11.94 kB / 0.5907 GB, free: 13.34 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.216e-06/0.1364, allocations: 4 kB / 0.5907 GB, free: 13.34 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.774e-06/0.1364, allocations: 4.047 kB / 0.5907 GB, free: 13.33 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004068/0.1368, allocations: 325.6 kB / 0.591 GB, free: 12.99 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001072/0.1369, allocations: 148.6 kB / 0.5912 GB, free: 12.83 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.762e-05/0.1369, allocations: 7.938 kB / 0.5912 GB, free: 12.82 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001639/0.1371, allocations: 23.97 kB / 0.5912 GB, free: 12.8 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.995e-05/0.1372, allocations: 27.83 kB / 0.5912 GB, free: 12.77 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.47e-05/0.1372, allocations: 15.98 kB / 0.5912 GB, free: 12.75 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001689/0.1374, allocations: 240.4 kB / 0.5915 GB, free: 12.52 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1374, allocations: 0 / 0.5915 GB, free: 12.52 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002607/0.1376, allocations: 71.94 kB / 0.5915 GB, free: 12.45 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.001355/0.139, allocations: 1.153 MB / 0.5927 GB, free: 11.45 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004389/0.1395, allocations: 307.6 kB / 0.593 GB, free: 11.14 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.1395, allocations: 0 / 0.593 GB, free: 11.14 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001681/0.1396, allocations: 131.7 kB / 0.5931 GB, free: 11.02 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002565/0.1399, allocations: 49.16 kB / 0.5931 GB, free: 10.97 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.00248/0.1424, allocations: 2.594 MB / 0.5957 GB, free: 8.293 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000255/0.1427, allocations: 0.7653 MB / 0.5964 GB, free: 7.5 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0002964/0.143, allocations: 151 kB / 0.5966 GB, free: 7.355 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001258/0.1431, allocations: 95.39 kB / 0.5966 GB, free: 7.262 MB / 0.4981 GB Notification: Performance of SimCode: time 2.5e-07/0.1431, allocations: 4 kB / 0.5967 GB, free: 7.258 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 29.32/29.46, allocations: 5.846 MB / 0.6024 GB, free: 1.656 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002555/29.46, allocations: 267.5 kB / 0.6026 GB, free: 1.305 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.627/31.09, allocations: 0 / 0.6026 GB, free: 1.305 MB / 0.4981 GB (rm -f IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature_fmu --startTime=0 --stopTime=8.64e+06 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature.fmu > IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe 2>&1)