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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) Running command: translateModel(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature") translateModel(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.01176/0.01176, allocations: 172 kB / 15.11 MB, free: 5.969 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8121/0.8121, allocations: 135.2 MB / 151.1 MB, free: 13.78 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.729/1.729, allocations: 223.2 MB / 406.9 MB, free: 3.191 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009792/0.0009792, allocations: 98.83 kB / 489.9 MB, free: 10.85 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004163/0.0004163, allocations: 12 kB / 0.5691 GB, free: 14.1 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5377/0.5381, allocations: 82.3 MB / 0.6495 GB, free: 36.08 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1619/0.7001, allocations: 116.1 MB / 0.7629 GB, free: 15.82 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002787/0.7004, allocations: 91.92 kB / 0.763 GB, free: 15.73 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.02355/0.724, allocations: 9.169 MB / 0.7719 GB, free: 6.539 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.433e-06/0.724, allocations: 0 / 0.7719 GB, free: 6.539 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 1.569e-05/0.724, allocations: 8 kB / 0.7719 GB, free: 6.531 MB / 0.5417 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.0007722/0.7248, allocations: 0.5349 MB / 0.7724 GB, free: 5.949 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.279e-05/0.7249, allocations: 12.02 kB / 0.7725 GB, free: 5.938 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001479/0.725, allocations: 27.72 kB / 0.7725 GB, free: 5.91 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003772/0.7254, allocations: 273.5 kB / 0.7727 GB, free: 5.605 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.652e-05/0.7254, allocations: 23.92 kB / 0.7728 GB, free: 5.582 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.912e-05/0.7255, allocations: 16 kB / 0.7728 GB, free: 5.566 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003949/0.7259, allocations: 228.7 kB / 0.773 GB, free: 5.324 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.688e-06/0.7259, allocations: 0 / 0.773 GB, free: 5.324 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.484e-05/0.7259, allocations: 8 kB / 0.773 GB, free: 5.316 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.153e-06/0.7259, allocations: 4 kB / 0.773 GB, free: 5.312 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000919/0.7269, allocations: 0.7449 MB / 0.7737 GB, free: 4.566 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009483/0.7278, allocations: 0.6098 MB / 0.7743 GB, free: 3.902 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004579/0.7283, allocations: 302 kB / 0.7746 GB, free: 3.602 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 4.354e-05/0.7283, allocations: 20.25 kB / 0.7746 GB, free: 3.582 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003073/0.7287, allocations: 189 kB / 0.7748 GB, free: 3.387 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=35): time 1.663e-06/0.7287, allocations: 0 / 0.7748 GB, free: 3.387 MB / 0.5417 GB Notification: Performance of matching and sorting (n=35): time 0.0006424/0.7293, allocations: 372.8 kB / 0.7752 GB, free: 3.016 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.184e-05/0.7294, allocations: 136.5 kB / 0.7753 GB, free: 2.852 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003095/0.7297, allocations: 268.1 kB / 0.7756 GB, free: 2.582 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 2.86e-05/0.7298, allocations: 33.7 kB / 0.7756 GB, free: 2.543 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 9.176e-05/0.7299, allocations: 136.6 kB / 0.7757 GB, free: 2.406 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001031/0.73, allocations: 114.3 kB / 0.7758 GB, free: 2.293 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.372e-05/0.73, allocations: 11.94 kB / 0.7758 GB, free: 2.281 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001374/0.7301, allocations: 334.8 kB / 0.7762 GB, free: 1.945 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001341/0.7303, allocations: 75.95 kB / 0.7762 GB, free: 1.871 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001667/0.7304, allocations: 131.2 kB / 0.7764 GB, free: 1.73 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001662/0.7306, allocations: 105.7 kB / 0.7765 GB, free: 1.629 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.7306, allocations: 0 / 0.7765 GB, free: 1.629 MB / 0.5417 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0004281/0.7311, allocations: 277 kB / 0.7767 GB, free: 1.352 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 2.008e-05/0.7311, allocations: 8 kB / 0.7767 GB, free: 1.344 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.722e-06/0.7311, allocations: 0 / 0.7767 GB, free: 1.344 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.309e-05/0.7311, allocations: 0 / 0.7767 GB, free: 1.344 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002174/0.7313, allocations: 67.91 kB / 0.7768 GB, free: 1.277 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.979e-06/0.7314, allocations: 7.953 kB / 0.7768 GB, free: 1.27 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000144/0.7315, allocations: 23.83 kB / 0.7768 GB, free: 1.246 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.689e-05/0.7315, allocations: 19.98 kB / 0.7768 GB, free: 1.227 MB / 0.5417 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 ($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.0001668/0.7317, allocations: 161.5 kB / 0.777 GB, free: 1.059 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.401e-05/0.7318, allocations: 31.56 kB / 0.777 GB, free: 1.027 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006624/0.7324, allocations: 396.4 kB / 0.7774 GB, free: 0.6367 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.181e-06/0.7324, allocations: 4 kB / 0.7774 GB, free: 0.6328 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.309e-06/0.7325, allocations: 3.938 kB / 0.7774 GB, free: 0.6289 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.532e-06/0.7325, allocations: 7.938 kB / 0.7774 GB, free: 0.6211 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003532/0.7328, allocations: 349.3 kB / 0.7778 GB, free: 236 kB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.923e-06/0.7328, allocations: 0 / 0.7778 GB, free: 236 kB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001669/0.733, allocations: 59.91 kB / 0.7778 GB, free: 176 kB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.236e-06/0.733, allocations: 0 / 0.7778 GB, free: 176 kB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.261e-05/0.733, allocations: 12 kB / 0.7778 GB, free: 164 kB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.744e-06/0.7331, allocations: 0 / 0.7778 GB, free: 164 kB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.7331, allocations: 4 kB / 0.7778 GB, free: 160 kB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004734/0.7335, allocations: 334.1 kB / 0.7781 GB, free: 15.81 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000176/0.7337, allocations: 152.7 kB / 0.7783 GB, free: 15.64 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.275e-05/0.7338, allocations: 8 kB / 0.7783 GB, free: 15.63 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001807/0.734, allocations: 35.97 kB / 0.7783 GB, free: 15.6 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.84e-05/0.734, allocations: 27.91 kB / 0.7784 GB, free: 15.57 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.95e-05/0.7341, allocations: 15.98 kB / 0.7784 GB, free: 15.55 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0002364/0.7343, allocations: 220.4 kB / 0.7786 GB, free: 15.34 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.8e-07/0.7343, allocations: 0 / 0.7786 GB, free: 15.34 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0003276/0.7347, allocations: 75.94 kB / 0.7787 GB, free: 15.26 MB / 0.5573 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 (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.001017/0.7357, allocations: 423.1 kB / 0.7791 GB, free: 14.99 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0003974/0.7361, allocations: 227.5 kB / 0.7793 GB, free: 14.77 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.7361, allocations: 4 kB / 0.7793 GB, free: 14.76 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0001921/0.7363, allocations: 136.7 kB / 0.7794 GB, free: 14.63 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002518/0.7366, allocations: 36.41 kB / 0.7795 GB, free: 14.59 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009306/0.7375, allocations: 0.5935 MB / 0.78 GB, free: 13.98 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003459/0.7379, allocations: 0.7697 MB / 0.7808 GB, free: 13.18 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0003335/0.7382, allocations: 146.8 kB / 0.7809 GB, free: 13.04 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000102/0.7383, allocations: 47.41 kB / 0.781 GB, free: 12.99 MB / 0.5573 GB Notification: Performance of SimCode: time 1.873e-06/0.7383, allocations: 4 kB / 0.781 GB, free: 12.98 MB / 0.5573 GB Notification: Performance of Templates: time 0.007153/0.7455, allocations: 3.332 MB / 0.7842 GB, free: 9.68 MB / 0.5573 GB make -j1 -f IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.makefile (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 & ./IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe 2>&1)