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.006468/0.006468, allocations: 105 kB / 15.74 MB, free: 6.035 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.001186/0.001186, allocations: 195.6 kB / 16.67 MB, free: 5.969 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.367/1.367, allocations: 222.9 MB / 240.4 MB, free: 4.188 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9604/0.9604, allocations: 135.1 MB / 425.7 MB, free: 11.96 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002441/0.002441, allocations: 59.91 kB / 0.5852 GB, free: 3.824 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5016/0.5041, allocations: 80.92 MB / 0.6642 GB, free: 7.281 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature): time 0.002932/0.507, allocations: 1.854 MB / 0.666 GB, free: 5.836 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001967/0.509, allocations: 1.571 MB / 0.6675 GB, free: 4.602 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.647e-05/0.5091, allocations: 1.406 kB / 0.6675 GB, free: 4.602 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.000168/0.5093, allocations: 28.86 kB / 0.6676 GB, free: 4.578 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.000271/0.5096, allocations: 80.88 kB / 0.6676 GB, free: 4.516 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004221/0.51, allocations: 172.4 kB / 0.6678 GB, free: 4.398 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002534/0.5103, allocations: 276.2 kB / 0.6681 GB, free: 4.238 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 9.59e-05/0.5104, allocations: 29.61 kB / 0.6681 GB, free: 4.227 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001462/0.5106, allocations: 100.3 kB / 0.6682 GB, free: 4.172 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002053/0.5108, allocations: 100.7 kB / 0.6683 GB, free: 4.109 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 4.239e-05/0.5108, allocations: 18.72 kB / 0.6683 GB, free: 4.109 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001754/0.511, allocations: 88.05 kB / 0.6684 GB, free: 4.078 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 8.532e-05/0.5111, allocations: 87.27 kB / 0.6685 GB, free: 4.023 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001093/0.5112, allocations: 119 kB / 0.6686 GB, free: 3.938 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003757/0.5116, allocations: 324.2 kB / 0.6689 GB, free: 3.719 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.5116, allocations: 3.938 kB / 0.6689 GB, free: 3.715 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.062e-06/0.5116, allocations: 0 / 0.6689 GB, free: 3.715 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.137e-05/0.5116, allocations: 0 / 0.6689 GB, free: 3.715 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.0007163/0.5124, allocations: 0.5536 MB / 0.6694 GB, free: 3.195 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.56e-05/0.5124, allocations: 9.156 kB / 0.6694 GB, free: 3.195 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.056e-05/0.5125, allocations: 54.23 kB / 0.6695 GB, free: 3.141 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001589/0.5126, allocations: 35.86 kB / 0.6695 GB, free: 3.121 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000221/0.5129, allocations: 274.1 kB / 0.6698 GB, free: 2.848 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.004e-05/0.5129, allocations: 15.5 kB / 0.6698 GB, free: 2.84 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.716e-05/0.5129, allocations: 19.19 kB / 0.6698 GB, free: 2.832 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003333/0.5133, allocations: 238 kB / 0.67 GB, free: 2.664 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.327e-06/0.5133, allocations: 0 / 0.67 GB, free: 2.664 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.478e-05/0.5133, allocations: 10.62 kB / 0.6701 GB, free: 2.656 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.953e-06/0.5133, allocations: 3.844 kB / 0.6701 GB, free: 2.656 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007713/0.5141, allocations: 0.75 MB / 0.6708 GB, free: 2.309 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009352/0.515, allocations: 0.6286 MB / 0.6714 GB, free: 1.781 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004483/0.5155, allocations: 306.4 kB / 0.6717 GB, free: 1.641 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001505/0.5157, allocations: 106.5 kB / 0.6718 GB, free: 1.59 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 4.231e-05/0.5157, allocations: 21 kB / 0.6718 GB, free: 1.578 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003299/0.516, allocations: 187.1 kB / 0.672 GB, free: 1.449 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=35): time 1.793e-06/0.5161, allocations: 4 kB / 0.672 GB, free: 1.445 MB / 0.4981 GB Notification: Performance of matching and sorting (n=35): time 0.0006229/0.5167, allocations: 376.5 kB / 0.6724 GB, free: 1.266 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.315e-05/0.5167, allocations: 136.6 kB / 0.6725 GB, free: 1.105 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000253/0.517, allocations: 314.6 kB / 0.6728 GB, free: 0.9062 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.657e-05/0.517, allocations: 31.2 kB / 0.6728 GB, free: 0.8711 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.043e-05/0.5171, allocations: 123.4 kB / 0.6729 GB, free: 0.7578 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 6.997e-05/0.5172, allocations: 120.7 kB / 0.6731 GB, free: 0.6523 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.357e-05/0.5173, allocations: 69.69 kB / 0.6731 GB, free: 0.6055 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 6.02e-05/0.5173, allocations: 343.2 kB / 0.6734 GB, free: 276 kB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000134/0.5175, allocations: 79.92 kB / 0.6735 GB, free: 240 kB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001682/0.5176, allocations: 131 kB / 0.6736 GB, free: 156 kB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003001/0.5179, allocations: 220.8 kB / 0.6739 GB, free: 44 kB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.518, allocations: 0 / 0.6739 GB, free: 44 kB / 0.4981 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.000471/0.5184, allocations: 282.8 kB / 0.6741 GB, free: 15.9 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.488e-05/0.5185, allocations: 4.656 kB / 0.6741 GB, free: 15.9 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/0.5185, allocations: 0 / 0.6741 GB, free: 15.9 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.112e-05/0.5185, allocations: 9.094 kB / 0.6741 GB, free: 15.89 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002179/0.5187, allocations: 61.31 kB / 0.6742 GB, free: 15.88 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.226e-06/0.5187, allocations: 1.281 kB / 0.6742 GB, free: 15.88 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001606/0.5189, allocations: 24.92 kB / 0.6742 GB, free: 15.87 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.839e-05/0.519, allocations: 16.67 kB / 0.6742 GB, free: 15.86 MB / 0.5137 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.0001758/0.5191, allocations: 163.5 kB / 0.6744 GB, free: 15.71 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.158e-05/0.5192, allocations: 28.75 kB / 0.6744 GB, free: 15.7 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006983/0.5199, allocations: 394.2 kB / 0.6748 GB, free: 15.47 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.821e-06/0.5199, allocations: 3.812 kB / 0.6748 GB, free: 15.47 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.091e-06/0.5199, allocations: 0 / 0.6748 GB, free: 15.47 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.292e-06/0.5199, allocations: 7.984 kB / 0.6748 GB, free: 15.46 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00035/0.5203, allocations: 340.2 kB / 0.6751 GB, free: 15.15 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/0.5203, allocations: 1.344 kB / 0.6751 GB, free: 15.15 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001764/0.5205, allocations: 57.12 kB / 0.6752 GB, free: 15.14 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.721e-06/0.5205, allocations: 2.094 kB / 0.6752 GB, free: 15.14 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.445e-05/0.5205, allocations: 16.36 kB / 0.6752 GB, free: 15.13 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.476e-06/0.5205, allocations: 1.219 kB / 0.6752 GB, free: 15.13 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.5205, allocations: 0 / 0.6752 GB, free: 15.13 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005304/0.5211, allocations: 331.1 kB / 0.6755 GB, free: 14.93 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001551/0.5213, allocations: 143.5 kB / 0.6757 GB, free: 14.79 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.801e-05/0.5213, allocations: 17.69 kB / 0.6757 GB, free: 14.78 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001814/0.5215, allocations: 19.45 kB / 0.6757 GB, free: 14.77 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.052e-05/0.5216, allocations: 25.08 kB / 0.6757 GB, free: 14.76 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.134e-05/0.5216, allocations: 13.47 kB / 0.6757 GB, free: 14.75 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0002589/0.5219, allocations: 242.2 kB / 0.676 GB, free: 14.6 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.61e-07/0.5219, allocations: 0 / 0.676 GB, free: 14.6 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003476/0.5222, allocations: 64.56 kB / 0.676 GB, free: 14.59 MB / 0.5137 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.001761/0.524, allocations: 1.163 MB / 0.6772 GB, free: 13.76 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0004487/0.5245, allocations: 236.2 kB / 0.6774 GB, free: 13.66 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.5245, allocations: 0 / 0.6774 GB, free: 13.66 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0002105/0.5247, allocations: 135.7 kB / 0.6775 GB, free: 13.61 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003434/0.525, allocations: 46.73 kB / 0.6776 GB, free: 13.58 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0034/0.5285, allocations: 2.515 MB / 0.68 GB, free: 11.79 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005484/0.529, allocations: 0.7658 MB / 0.6808 GB, free: 11.05 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0004129/0.5295, allocations: 140.3 kB / 0.6809 GB, free: 10.99 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001813/0.5297, allocations: 101.1 kB / 0.681 GB, free: 10.91 MB / 0.5137 GB Notification: Performance of SimCode: time 2.815e-06/0.5297, allocations: 1.156 kB / 0.681 GB, free: 10.91 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03082/0.5605, allocations: 6.081 MB / 0.6869 GB, free: 7.809 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.089/8.649, allocations: 13 kB / 0.6869 GB, free: 7.801 MB / 0.5137 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)