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.001781/0.001781, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002036/0.002036, allocations: 198.7 kB / 16.54 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.448/2.448, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.723/1.723, allocations: 135.1 MB / 425.5 MB, free: 12.01 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00259/0.00259, allocations: 60.09 kB / 0.5054 GB, free: 5.223 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2354/0.238, allocations: 80.93 MB / 0.5845 GB, free: 4.457 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature): time 0.005821/0.2439, allocations: 1.856 MB / 0.5863 GB, free: 2.586 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.004371/0.2483, allocations: 1.577 MB / 0.5878 GB, free: 1 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000133/0.2485, allocations: 0 / 0.5878 GB, free: 1 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003366/0.2489, allocations: 23.78 kB / 0.5878 GB, free: 0.9766 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005633/0.2495, allocations: 75.61 kB / 0.5879 GB, free: 0.9023 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008825/0.2504, allocations: 166.5 kB / 0.5881 GB, free: 0.7422 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005165/0.2509, allocations: 277.4 kB / 0.5883 GB, free: 484 kB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001819/0.2511, allocations: 33.33 kB / 0.5884 GB, free: 452 kB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002204/0.2514, allocations: 103.7 kB / 0.5885 GB, free: 348 kB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003699/0.2518, allocations: 99.7 kB / 0.5886 GB, free: 248 kB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 8.388e-05/0.2519, allocations: 16 kB / 0.5886 GB, free: 232 kB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003324/0.2522, allocations: 91.91 kB / 0.5887 GB, free: 140 kB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001667/0.2524, allocations: 87.73 kB / 0.5888 GB, free: 52 kB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00025/0.2527, allocations: 123.3 kB / 0.5889 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0006517/0.2533, allocations: 319 kB / 0.5892 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/0.2534, allocations: 0 / 0.5892 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.993e-06/0.2534, allocations: 0 / 0.5892 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.117e-05/0.2534, allocations: 0 / 0.5892 GB, free: 15.62 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.001298/0.2547, allocations: 0.5578 MB / 0.5897 GB, free: 15.01 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.381e-05/0.2548, allocations: 8.031 kB / 0.5897 GB, free: 15 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.799e-05/0.2549, allocations: 54.73 kB / 0.5898 GB, free: 14.94 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002909/0.2552, allocations: 32.59 kB / 0.5898 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004966/0.2557, allocations: 274.7 kB / 0.5901 GB, free: 14.6 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.353e-05/0.2558, allocations: 12.38 kB / 0.5901 GB, free: 14.59 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.359e-05/0.2558, allocations: 23.92 kB / 0.5901 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006941/0.2565, allocations: 236.5 kB / 0.5903 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.416e-05/0.2566, allocations: 0 / 0.5903 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.746e-05/0.2566, allocations: 8 kB / 0.5903 GB, free: 14.31 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.28e-05/0.2567, allocations: 4 kB / 0.5903 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001801/0.2585, allocations: 0.749 MB / 0.5911 GB, free: 13.55 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00201/0.2605, allocations: 0.6358 MB / 0.5917 GB, free: 12.87 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001038/0.2616, allocations: 307.3 kB / 0.592 GB, free: 12.55 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003576/0.262, allocations: 117.3 kB / 0.5921 GB, free: 12.44 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 8.434e-05/0.2621, allocations: 16.25 kB / 0.5921 GB, free: 12.42 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006968/0.2628, allocations: 179.4 kB / 0.5923 GB, free: 12.23 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=35): time 3.887e-06/0.2628, allocations: 0 / 0.5923 GB, free: 12.23 MB / 0.4981 GB Notification: Performance of matching and sorting (n=35): time 0.001384/0.2642, allocations: 374.4 kB / 0.5926 GB, free: 11.86 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001124/0.2643, allocations: 136.5 kB / 0.5928 GB, free: 11.7 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005789/0.2649, allocations: 316.9 kB / 0.5931 GB, free: 11.38 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.487e-05/0.265, allocations: 29.7 kB / 0.5931 GB, free: 11.35 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001721/0.2652, allocations: 140.6 kB / 0.5932 GB, free: 11.21 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001957/0.2654, allocations: 118.3 kB / 0.5934 GB, free: 11.09 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001764/0.2656, allocations: 61.69 kB / 0.5934 GB, free: 11.02 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0002072/0.2658, allocations: 338.8 kB / 0.5937 GB, free: 10.68 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002941/0.2662, allocations: 83.95 kB / 0.5938 GB, free: 10.6 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003929/0.2666, allocations: 129.8 kB / 0.5939 GB, free: 10.46 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007122/0.2673, allocations: 213.1 kB / 0.5941 GB, free: 10.25 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.238e-06/0.2673, allocations: 0 / 0.5941 GB, free: 10.25 MB / 0.4981 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0009623/0.2683, allocations: 285 kB / 0.5944 GB, free: 9.969 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.51e-05/0.2683, allocations: 4 kB / 0.5944 GB, free: 9.965 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.027e-06/0.2684, allocations: 0 / 0.5944 GB, free: 9.965 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.983e-05/0.2684, allocations: 7.938 kB / 0.5944 GB, free: 9.957 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004724/0.2689, allocations: 59.91 kB / 0.5945 GB, free: 9.898 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.018e-05/0.2689, allocations: 3.938 kB / 0.5945 GB, free: 9.895 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003092/0.2693, allocations: 35.73 kB / 0.5945 GB, free: 9.859 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.55e-05/0.2693, allocations: 12 kB / 0.5945 GB, free: 9.848 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.0003156/0.2696, allocations: 169.7 kB / 0.5947 GB, free: 9.672 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001259/0.2698, allocations: 23.72 kB / 0.5947 GB, free: 9.648 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001384/0.2712, allocations: 388.9 kB / 0.5951 GB, free: 9.262 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.189e-05/0.2712, allocations: 8 kB / 0.5951 GB, free: 9.254 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.394e-06/0.2712, allocations: 0 / 0.5951 GB, free: 9.254 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.614e-06/0.2713, allocations: 4 kB / 0.5951 GB, free: 9.25 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006145/0.2719, allocations: 341.2 kB / 0.5954 GB, free: 8.867 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.785e-06/0.2719, allocations: 4 kB / 0.5954 GB, free: 8.863 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004043/0.2723, allocations: 63.91 kB / 0.5955 GB, free: 8.801 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.433e-06/0.2724, allocations: 0 / 0.5955 GB, free: 8.801 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.853e-05/0.2724, allocations: 11.94 kB / 0.5955 GB, free: 8.789 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.255e-06/0.2724, allocations: 4 kB / 0.5955 GB, free: 8.785 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.981e-06/0.2725, allocations: 3.984 kB / 0.5955 GB, free: 8.781 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001009/0.2735, allocations: 321.7 kB / 0.5958 GB, free: 8.445 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002631/0.2738, allocations: 144.7 kB / 0.596 GB, free: 8.285 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.345e-05/0.2739, allocations: 7.938 kB / 0.596 GB, free: 8.277 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003674/0.2742, allocations: 23.97 kB / 0.596 GB, free: 8.254 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00011/0.2744, allocations: 27.83 kB / 0.596 GB, free: 8.227 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.899e-05/0.2745, allocations: 15.98 kB / 0.596 GB, free: 8.211 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.000409/0.2749, allocations: 236.4 kB / 0.5963 GB, free: 7.98 MB / 0.4981 GB Notification: Performance of sort global known variables: time 5.21e-07/0.2749, allocations: 4 kB / 0.5963 GB, free: 7.977 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0006402/0.2755, allocations: 75.84 kB / 0.5963 GB, free: 7.902 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.003131/0.2787, allocations: 1.155 MB / 0.5975 GB, free: 6.895 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.00106/0.2798, allocations: 303.6 kB / 0.5977 GB, free: 6.598 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 5.53e-06/0.2798, allocations: 0 / 0.5977 GB, free: 6.598 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0004225/0.2803, allocations: 140.6 kB / 0.5979 GB, free: 6.461 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006058/0.2809, allocations: 49.72 kB / 0.5979 GB, free: 6.418 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.005821/0.2867, allocations: 2.503 MB / 0.6004 GB, free: 3.832 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005382/0.2873, allocations: 0.7653 MB / 0.6011 GB, free: 3.043 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0007476/0.2881, allocations: 142.9 kB / 0.6013 GB, free: 2.902 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002797/0.2884, allocations: 99.39 kB / 0.6013 GB, free: 2.805 MB / 0.4981 GB Notification: Performance of SimCode: time 1.042e-06/0.2884, allocations: 0 / 0.6013 GB, free: 2.805 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 5.137/5.425, allocations: 5.936 MB / 0.6071 GB, free: 51.69 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.07/23.49, allocations: 4.828 kB / 0.6072 GB, free: 51.69 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 & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature_res.csv --start-time 0 --stop-time 8.64e+06 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 3456 IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature.fmu > IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe 2>&1)