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.001583/0.001582, allocations: 98.77 kB / 15.05 MB, free: 1.105 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.001906/0.001906, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.761/1.761, allocations: 223.2 MB / 239.9 MB, free: 5.277 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 1.063/1.063, allocations: 132.2 MB / 423.2 MB, free: 2.16 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003623/0.0003623, allocations: 8 kB / 0.5033 GB, free: 4.18 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6178/0.6182, allocations: 81.58 MB / 0.583 GB, free: 4.023 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature): time 0.002567/0.6208, allocations: 1.522 MB / 0.5845 GB, free: 2.938 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002505/0.6233, allocations: 1.445 MB / 0.5859 GB, free: 1.922 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001007/0.6235, allocations: 0 / 0.5859 GB, free: 1.922 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002589/0.6238, allocations: 25.64 kB / 0.5859 GB, free: 1.91 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003219/0.6241, allocations: 68.97 kB / 0.586 GB, free: 1.867 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005322/0.6246, allocations: 149.5 kB / 0.5861 GB, free: 1.793 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003215/0.625, allocations: 167.7 kB / 0.5863 GB, free: 1.715 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001398/0.6251, allocations: 31.81 kB / 0.5863 GB, free: 1.699 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001326/0.6252, allocations: 82.08 kB / 0.5864 GB, free: 1.668 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002475/0.6255, allocations: 75.08 kB / 0.5864 GB, free: 1.637 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 3.907e-05/0.6255, allocations: 9 kB / 0.5864 GB, free: 1.637 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002367/0.6258, allocations: 61.23 kB / 0.5865 GB, free: 1.621 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000148/0.6259, allocations: 72.48 kB / 0.5866 GB, free: 1.594 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 7.906e-05/0.626, allocations: 61.33 kB / 0.5866 GB, free: 1.543 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004217/0.6265, allocations: 228.1 kB / 0.5868 GB, free: 1.48 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.735e-06/0.6265, allocations: 1.125 kB / 0.5868 GB, free: 1.48 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.064e-06/0.6265, allocations: 0 / 0.5868 GB, free: 1.48 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.217e-05/0.6265, allocations: 0 / 0.5868 GB, free: 1.48 MB / 430.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.0008338/0.6273, allocations: 0.5108 MB / 0.5873 GB, free: 1.012 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.768e-05/0.6274, allocations: 9.469 kB / 0.5874 GB, free: 1.012 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.598e-05/0.6275, allocations: 50.19 kB / 0.5874 GB, free: 0.9648 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001906/0.6277, allocations: 32.81 kB / 0.5874 GB, free: 0.9492 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003304/0.628, allocations: 268.4 kB / 0.5877 GB, free: 0.6992 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.865e-05/0.6281, allocations: 15.8 kB / 0.5877 GB, free: 0.6914 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.104e-05/0.6281, allocations: 19.88 kB / 0.5877 GB, free: 0.6836 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004587/0.6286, allocations: 233.1 kB / 0.5879 GB, free: 0.5586 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.165e-05/0.6286, allocations: 0 / 0.5879 GB, free: 0.5586 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.079e-05/0.6286, allocations: 7.594 kB / 0.588 GB, free: 0.5547 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.124e-05/0.6286, allocations: 4.094 kB / 0.588 GB, free: 0.5547 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001358/0.63, allocations: 0.7452 MB / 0.5887 GB, free: 472 kB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001418/0.6314, allocations: 0.6464 MB / 0.5893 GB, free: 48 kB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006392/0.6321, allocations: 301.6 kB / 0.5896 GB, free: 15.93 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.058e-05/0.6322, allocations: 17.5 kB / 0.5896 GB, free: 15.93 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004437/0.6326, allocations: 186.8 kB / 0.5898 GB, free: 15.84 MB / 446.1 MB Notification: Performance of pre-optimization done (n=35): time 2.715e-06/0.6326, allocations: 0 / 0.5898 GB, free: 15.84 MB / 446.1 MB Notification: Performance of matching and sorting (n=35): time 0.0008454/0.6335, allocations: 363.6 kB / 0.5901 GB, free: 15.7 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.161e-05/0.6336, allocations: 133.2 kB / 0.5903 GB, free: 15.55 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004469/0.634, allocations: 308.1 kB / 0.5906 GB, free: 15.39 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 5.108e-05/0.6341, allocations: 36.02 kB / 0.5906 GB, free: 15.35 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001201/0.6342, allocations: 133.1 kB / 0.5907 GB, free: 15.23 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000134/0.6344, allocations: 114.8 kB / 0.5908 GB, free: 15.14 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.071e-05/0.6344, allocations: 9.875 kB / 0.5908 GB, free: 15.13 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001482/0.6346, allocations: 334.3 kB / 0.5912 GB, free: 14.81 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001732/0.6347, allocations: 80.98 kB / 0.5912 GB, free: 14.79 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002121/0.635, allocations: 131.8 kB / 0.5914 GB, free: 14.72 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002227/0.6352, allocations: 114.7 kB / 0.5915 GB, free: 14.67 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.6352, allocations: 0 / 0.5915 GB, free: 14.67 MB / 446.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0005713/0.6358, allocations: 284.2 kB / 0.5918 GB, free: 14.55 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.364e-05/0.6358, allocations: 5.422 kB / 0.5918 GB, free: 14.55 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.268e-06/0.6358, allocations: 4.609 kB / 0.5918 GB, free: 14.55 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.079e-05/0.6359, allocations: 2 kB / 0.5918 GB, free: 14.55 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002999/0.6362, allocations: 64.16 kB / 0.5918 GB, free: 14.54 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.094e-05/0.6362, allocations: 2.234 kB / 0.5918 GB, free: 14.54 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002162/0.6364, allocations: 30.62 kB / 0.5919 GB, free: 14.52 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.509e-05/0.6365, allocations: 14.19 kB / 0.5919 GB, free: 14.52 MB / 446.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 ($whenCondition1,$PRE.conTim.tNext,conTim.tNext) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002322/0.6367, allocations: 166.7 kB / 0.592 GB, free: 14.38 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.008e-05/0.6368, allocations: 29.88 kB / 0.5921 GB, free: 14.36 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008259/0.6376, allocations: 379.6 kB / 0.5924 GB, free: 14.2 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.216e-05/0.6376, allocations: 13.33 kB / 0.5924 GB, free: 14.2 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/0.6376, allocations: 4 kB / 0.5924 GB, free: 14.19 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.632e-06/0.6376, allocations: 1.312 kB / 0.5924 GB, free: 14.19 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004855/0.6381, allocations: 346.4 kB / 0.5928 GB, free: 13.93 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.16e-06/0.6381, allocations: 4.656 kB / 0.5928 GB, free: 13.93 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002122/0.6384, allocations: 57.92 kB / 0.5928 GB, free: 13.92 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.583e-06/0.6384, allocations: 2.062 kB / 0.5928 GB, free: 13.92 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.95e-05/0.6384, allocations: 10.09 kB / 0.5928 GB, free: 13.92 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.017e-06/0.6384, allocations: 5 kB / 0.5928 GB, free: 13.91 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.586e-06/0.6384, allocations: 5.016 kB / 0.5928 GB, free: 13.91 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006249/0.6391, allocations: 331.8 kB / 0.5932 GB, free: 13.75 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001998/0.6393, allocations: 150.1 kB / 0.5933 GB, free: 13.62 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.45e-05/0.6393, allocations: 11.14 kB / 0.5933 GB, free: 13.61 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002206/0.6396, allocations: 28.62 kB / 0.5933 GB, free: 13.61 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.273e-05/0.6397, allocations: 24.55 kB / 0.5934 GB, free: 13.6 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.298e-05/0.6397, allocations: 17.52 kB / 0.5934 GB, free: 13.6 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003057/0.64, allocations: 243 kB / 0.5936 GB, free: 13.46 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.64, allocations: 0 / 0.5936 GB, free: 13.46 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003991/0.6404, allocations: 72.23 kB / 0.5937 GB, free: 13.45 MB / 446.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001934/0.6424, allocations: 1.144 MB / 0.5948 GB, free: 12.69 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0004817/0.6429, allocations: 232.3 kB / 0.595 GB, free: 12.62 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.6429, allocations: 0 / 0.595 GB, free: 12.62 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002395/0.6431, allocations: 137.5 kB / 0.5952 GB, free: 12.58 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003049/0.6434, allocations: 31.36 kB / 0.5952 GB, free: 12.57 MB / 446.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.002915/0.6464, allocations: 1.511 MB / 0.5967 GB, free: 11.78 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006221/0.647, allocations: 0.7757 MB / 0.5974 GB, free: 11.07 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.000445/0.6475, allocations: 146 kB / 0.5976 GB, free: 11.03 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00018/0.6477, allocations: 98.56 kB / 0.5977 GB, free: 10.97 MB / 446.1 MB Notification: Performance of SimCode: time 9.92e-07/0.6477, allocations: 0 / 0.5977 GB, free: 10.97 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.04/1.688, allocations: 5.843 MB / 0.6034 GB, free: 8.48 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003257/1.688, allocations: 248.5 kB / 0.6036 GB, free: 8.234 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.426/4.114, allocations: 0 / 0.6036 GB, free: 8.234 MB / 446.1 MB (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/linux/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) Environment - environmentSimulation: