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.0008683/0.0008683, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.005045/0.005045, allocations: 172.7 kB / 16.27 MB, free: 6.66 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.193/1.193, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6865/0.6865, allocations: 132.3 MB / 423.8 MB, free: 1.973 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002745/0.0002745, allocations: 8 kB / 0.5041 GB, free: 3.781 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3228/0.3231, allocations: 81.58 MB / 0.5838 GB, free: 4.031 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature): time 0.001772/0.3249, allocations: 1.566 MB / 0.5853 GB, free: 2.91 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.00175/0.3266, allocations: 1.527 MB / 0.5868 GB, free: 1.832 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.453e-05/0.3267, allocations: 1.719 kB / 0.5868 GB, free: 1.832 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001831/0.3269, allocations: 19.69 kB / 0.5868 GB, free: 1.824 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002299/0.3271, allocations: 65.16 kB / 0.5869 GB, free: 1.785 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004217/0.3276, allocations: 153.3 kB / 0.587 GB, free: 1.711 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002739/0.3279, allocations: 256.8 kB / 0.5873 GB, free: 1.605 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.833e-05/0.328, allocations: 35.31 kB / 0.5873 GB, free: 1.586 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001155/0.3281, allocations: 84.02 kB / 0.5874 GB, free: 1.555 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001993/0.3283, allocations: 91.77 kB / 0.5875 GB, free: 1.52 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 3.534e-05/0.3283, allocations: 8.594 kB / 0.5875 GB, free: 1.52 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001779/0.3285, allocations: 74.03 kB / 0.5875 GB, free: 1.5 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 8.997e-05/0.3286, allocations: 81.23 kB / 0.5876 GB, free: 1.465 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001084/0.3287, allocations: 133.5 kB / 0.5877 GB, free: 1.367 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003624/0.3291, allocations: 307.1 kB / 0.588 GB, free: 1.254 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.3291, allocations: 0.7969 kB / 0.588 GB, free: 1.254 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.3291, allocations: 1.188 kB / 0.588 GB, free: 1.254 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.622e-06/0.3291, allocations: 3.938 kB / 0.588 GB, free: 1.25 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.0006185/0.3298, allocations: 0.4938 MB / 0.5885 GB, free: 0.793 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.437e-05/0.3298, allocations: 10.56 kB / 0.5885 GB, free: 0.793 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.703e-05/0.3299, allocations: 57.95 kB / 0.5886 GB, free: 0.7383 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001359/0.33, allocations: 33.31 kB / 0.5886 GB, free: 0.7227 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000233/0.3303, allocations: 270.6 kB / 0.5889 GB, free: 484 kB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.854e-05/0.3303, allocations: 11.44 kB / 0.5889 GB, free: 480 kB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.783e-05/0.3303, allocations: 22.38 kB / 0.5889 GB, free: 468 kB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003624/0.3307, allocations: 233.1 kB / 0.5891 GB, free: 344 kB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.368e-06/0.3307, allocations: 0.8438 kB / 0.5891 GB, free: 344 kB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.582e-05/0.3307, allocations: 9.625 kB / 0.5891 GB, free: 336 kB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.304e-06/0.3307, allocations: 5.344 kB / 0.5891 GB, free: 336 kB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008946/0.3316, allocations: 0.7472 MB / 0.5899 GB, free: 240 kB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001027/0.3327, allocations: 0.6451 MB / 0.5905 GB, free: 15.82 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004911/0.3332, allocations: 301.8 kB / 0.5908 GB, free: 15.71 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001653/0.3334, allocations: 108.8 kB / 0.5909 GB, free: 15.68 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.395e-05/0.3334, allocations: 20.42 kB / 0.5909 GB, free: 15.67 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000307/0.3337, allocations: 189.2 kB / 0.5911 GB, free: 15.57 MB / 446.1 MB Notification: Performance of pre-optimization done (n=35): time 3.136e-06/0.3337, allocations: 0 / 0.5911 GB, free: 15.57 MB / 446.1 MB Notification: Performance of matching and sorting (n=35): time 0.0006749/0.3344, allocations: 378.7 kB / 0.5915 GB, free: 15.43 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.068e-05/0.3345, allocations: 133.8 kB / 0.5916 GB, free: 15.27 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002984/0.3348, allocations: 305.2 kB / 0.5919 GB, free: 15.11 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.227e-05/0.3348, allocations: 36.45 kB / 0.5919 GB, free: 15.07 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.366e-05/0.3349, allocations: 136.1 kB / 0.592 GB, free: 14.95 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.184e-05/0.335, allocations: 115.5 kB / 0.5921 GB, free: 14.86 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.453e-05/0.3351, allocations: 31.19 kB / 0.5922 GB, free: 14.84 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001206/0.3352, allocations: 337.7 kB / 0.5925 GB, free: 14.52 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001372/0.3353, allocations: 84.52 kB / 0.5926 GB, free: 14.49 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001827/0.3355, allocations: 129 kB / 0.5927 GB, free: 14.43 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003095/0.3359, allocations: 215.5 kB / 0.5929 GB, free: 14.34 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.3359, allocations: 4 kB / 0.5929 GB, free: 14.34 MB / 446.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0004302/0.3363, allocations: 283.3 kB / 0.5932 GB, free: 14.22 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.202e-05/0.3363, allocations: 4.5 kB / 0.5932 GB, free: 14.22 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.3363, allocations: 1.328 kB / 0.5932 GB, free: 14.22 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.398e-05/0.3364, allocations: 5.219 kB / 0.5932 GB, free: 14.21 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002146/0.3366, allocations: 65.33 kB / 0.5933 GB, free: 14.21 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.792e-06/0.3366, allocations: 1.688 kB / 0.5933 GB, free: 14.21 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001583/0.3368, allocations: 26.38 kB / 0.5933 GB, free: 14.2 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.491e-05/0.3368, allocations: 17.64 kB / 0.5933 GB, free: 14.19 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 (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.0001595/0.337, allocations: 164.6 kB / 0.5935 GB, free: 14.05 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.494e-05/0.337, allocations: 30.25 kB / 0.5935 GB, free: 14.04 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006646/0.3377, allocations: 393.6 kB / 0.5939 GB, free: 13.86 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.58e-06/0.3377, allocations: 4.469 kB / 0.5939 GB, free: 13.86 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.3377, allocations: 1.469 kB / 0.5939 GB, free: 13.86 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.08e-06/0.3377, allocations: 1.453 kB / 0.5939 GB, free: 13.86 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003499/0.3381, allocations: 345.8 kB / 0.5942 GB, free: 13.6 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/0.3381, allocations: 0 / 0.5942 GB, free: 13.6 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001659/0.3382, allocations: 58.45 kB / 0.5943 GB, free: 13.6 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.457e-06/0.3383, allocations: 1.406 kB / 0.5943 GB, free: 13.6 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.515e-05/0.3383, allocations: 18.05 kB / 0.5943 GB, free: 13.59 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.607e-06/0.3383, allocations: 1.875 kB / 0.5943 GB, free: 13.59 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.3383, allocations: 0.5312 kB / 0.5943 GB, free: 13.59 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004241/0.3387, allocations: 321.6 kB / 0.5946 GB, free: 13.43 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001346/0.3389, allocations: 154.1 kB / 0.5947 GB, free: 13.3 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.257e-05/0.3389, allocations: 11.55 kB / 0.5947 GB, free: 13.29 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001877/0.3391, allocations: 31.72 kB / 0.5948 GB, free: 13.29 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.684e-05/0.3392, allocations: 29.62 kB / 0.5948 GB, free: 13.28 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.724e-05/0.3392, allocations: 12.92 kB / 0.5948 GB, free: 13.28 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002167/0.3394, allocations: 237.3 kB / 0.595 GB, free: 13.15 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3395, allocations: 4 kB / 0.595 GB, free: 13.15 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002964/0.3398, allocations: 68.2 kB / 0.5951 GB, free: 13.13 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 (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.001401/0.3412, allocations: 1.166 MB / 0.5962 GB, free: 12.36 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003633/0.3415, allocations: 229.9 kB / 0.5965 GB, free: 12.3 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.013e-06/0.3415, allocations: 0 / 0.5965 GB, free: 12.3 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001778/0.3417, allocations: 134.4 kB / 0.5966 GB, free: 12.26 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002982/0.342, allocations: 40.98 kB / 0.5966 GB, free: 12.23 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.002919/0.345, allocations: 2.602 MB / 0.5992 GB, free: 10.53 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003047/0.3453, allocations: 0.768 MB / 0.5999 GB, free: 9.82 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.000341/0.3456, allocations: 142.8 kB / 0.6001 GB, free: 9.785 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001393/0.3458, allocations: 97.61 kB / 0.6002 GB, free: 9.727 MB / 446.1 MB Notification: Performance of SimCode: time 2.2e-07/0.3458, allocations: 0 / 0.6002 GB, free: 9.727 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 27.84/28.18, allocations: 5.483 MB / 0.6055 GB, free: 7.266 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002106/28.18, allocations: 273.2 kB / 0.6058 GB, free: 6.902 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.634/29.82, allocations: 3.5 kB / 0.6058 GB, free: 6.902 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/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)