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: "" <> 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/Complex 4.0.0+maint.om/package.mo): time 0.01083/0.01083, allocations: 169.2 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9752/0.9752, allocations: 135.2 MB / 151 MB, free: 13.82 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.559/1.559, allocations: 223.2 MB / 406.8 MB, free: 3.23 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.001261/0.00126, allocations: 95.7 kB / 489.9 MB, free: 10.92 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005452/0.000545, allocations: 12 kB / 0.5692 GB, free: 14.07 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3818/0.3824, allocations: 82.3 MB / 0.6495 GB, free: 36.14 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1478/0.5302, allocations: 116.1 MB / 0.7629 GB, free: 15.88 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002658/0.5306, allocations: 99.88 kB / 0.763 GB, free: 15.79 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.02466/0.5552, allocations: 9.176 MB / 0.772 GB, free: 6.586 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.723e-06/0.5553, allocations: 0 / 0.772 GB, free: 6.586 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 1.64e-05/0.5553, allocations: 4 kB / 0.772 GB, free: 6.582 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.0007646/0.5561, allocations: 0.5342 MB / 0.7725 GB, free: 6 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.579e-05/0.5561, allocations: 8.031 kB / 0.7725 GB, free: 5.992 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.465e-05/0.5562, allocations: 54.55 kB / 0.7726 GB, free: 5.93 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001453/0.5563, allocations: 27.72 kB / 0.7726 GB, free: 5.902 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000425/0.5568, allocations: 285.4 kB / 0.7729 GB, free: 5.586 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.283e-05/0.5568, allocations: 16 kB / 0.7729 GB, free: 5.57 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.004e-05/0.5569, allocations: 16 kB / 0.7729 GB, free: 5.555 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004124/0.5573, allocations: 228.7 kB / 0.7731 GB, free: 5.312 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.588e-06/0.5573, allocations: 0 / 0.7731 GB, free: 5.312 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.852e-05/0.5573, allocations: 8 kB / 0.7731 GB, free: 5.305 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.786e-06/0.5573, allocations: 4 kB / 0.7731 GB, free: 5.301 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008999/0.5582, allocations: 0.7449 MB / 0.7738 GB, free: 4.555 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009391/0.5592, allocations: 0.6059 MB / 0.7744 GB, free: 3.895 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004813/0.5597, allocations: 309.9 kB / 0.7747 GB, free: 3.586 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 4.636e-05/0.5597, allocations: 24.25 kB / 0.7748 GB, free: 3.562 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000303/0.5601, allocations: 181 kB / 0.7749 GB, free: 3.375 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=35): time 1.653e-06/0.5601, allocations: 0 / 0.7749 GB, free: 3.375 MB / 0.5417 GB Notification: Performance of matching and sorting (n=35): time 0.0006552/0.5607, allocations: 376.8 kB / 0.7753 GB, free: 3 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.533e-05/0.5608, allocations: 132.5 kB / 0.7754 GB, free: 2.84 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000311/0.5612, allocations: 272.1 kB / 0.7757 GB, free: 2.566 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 3.152e-05/0.5612, allocations: 29.7 kB / 0.7757 GB, free: 2.531 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 9.571e-05/0.5613, allocations: 140.6 kB / 0.7758 GB, free: 2.391 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 8.962e-05/0.5614, allocations: 122.2 kB / 0.776 GB, free: 2.27 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.26e-05/0.5614, allocations: 8 kB / 0.776 GB, free: 2.262 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001299/0.5615, allocations: 338.8 kB / 0.7763 GB, free: 1.922 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001268/0.5617, allocations: 79.89 kB / 0.7764 GB, free: 1.844 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001703/0.5619, allocations: 123.2 kB / 0.7765 GB, free: 1.711 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000162/0.562, allocations: 105.7 kB / 0.7766 GB, free: 1.609 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.562, allocations: 4 kB / 0.7766 GB, free: 1.605 MB / 0.5417 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0004151/0.5625, allocations: 281 kB / 0.7768 GB, free: 1.324 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 2.089e-05/0.5625, allocations: 9.094 kB / 0.7769 GB, free: 1.316 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.581e-06/0.5625, allocations: 0 / 0.7769 GB, free: 1.316 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.554e-05/0.5625, allocations: 0 / 0.7769 GB, free: 1.316 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002261/0.5627, allocations: 67.86 kB / 0.7769 GB, free: 1.25 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.065e-06/0.5628, allocations: 4 kB / 0.7769 GB, free: 1.246 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001578/0.5629, allocations: 23.83 kB / 0.7769 GB, free: 1.223 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.157e-05/0.563, allocations: 16 kB / 0.777 GB, free: 1.207 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.0001632/0.5631, allocations: 173.5 kB / 0.7771 GB, free: 1.027 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.844e-05/0.5632, allocations: 27.62 kB / 0.7772 GB, free: 1 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006448/0.5638, allocations: 392.4 kB / 0.7775 GB, free: 0.6133 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.728e-06/0.5639, allocations: 7.938 kB / 0.7775 GB, free: 0.6055 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.982e-06/0.5639, allocations: 3.953 kB / 0.7775 GB, free: 0.6016 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.5639, allocations: 0 / 0.7775 GB, free: 0.6016 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003254/0.5642, allocations: 353.2 kB / 0.7779 GB, free: 212 kB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.5642, allocations: 0 / 0.7779 GB, free: 212 kB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001712/0.5644, allocations: 63.91 kB / 0.7779 GB, free: 148 kB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.5644, allocations: 0 / 0.7779 GB, free: 148 kB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.978e-05/0.5644, allocations: 8 kB / 0.7779 GB, free: 140 kB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.893e-06/0.5644, allocations: 0 / 0.7779 GB, free: 140 kB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.5644, allocations: 0 / 0.7779 GB, free: 140 kB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004801/0.5649, allocations: 330 kB / 0.7783 GB, free: 15.79 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001863/0.5651, allocations: 156.7 kB / 0.7784 GB, free: 15.62 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.491e-05/0.5652, allocations: 12 kB / 0.7784 GB, free: 15.61 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001844/0.5654, allocations: 27.92 kB / 0.7784 GB, free: 15.58 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.252e-05/0.5654, allocations: 27.95 kB / 0.7785 GB, free: 15.55 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.538e-05/0.5655, allocations: 12 kB / 0.7785 GB, free: 15.54 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0002192/0.5657, allocations: 220.4 kB / 0.7787 GB, free: 15.32 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5657, allocations: 4 kB / 0.7787 GB, free: 15.32 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0003225/0.566, allocations: 83.88 kB / 0.7788 GB, free: 15.24 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.001559/0.5676, allocations: 1.17 MB / 0.7799 GB, free: 14.19 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.000384/0.568, allocations: 228.1 kB / 0.7801 GB, free: 13.96 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.568, allocations: 0 / 0.7801 GB, free: 13.96 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0001831/0.5682, allocations: 131.8 kB / 0.7803 GB, free: 13.84 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002622/0.5685, allocations: 36.86 kB / 0.7803 GB, free: 13.8 MB / 0.5573 GB Warning: Could not resolve URI (OpenModelica_fmuLoadResource("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Resources/weatherdata/USA_IL_Chicago-OHare.Intl.AP.725300_TMY3.mos")) at compile-time; copying all loaded packages into the FMU Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002222/0.5707, allocations: 1.542 MB / 0.7818 GB, free: 12.21 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003342/0.5711, allocations: 0.7658 MB / 0.7826 GB, free: 11.42 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0003551/0.5714, allocations: 151 kB / 0.7827 GB, free: 11.27 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001492/0.5716, allocations: 99.39 kB / 0.7828 GB, free: 11.17 MB / 0.5573 GB Notification: Performance of SimCode: time 3.71e-07/0.5716, allocations: 0 / 0.7828 GB, free: 11.17 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3655/0.9371, allocations: 5.99 MB / 0.7886 GB, free: 5.395 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001957/0.9373, allocations: 254.3 kB / 0.7889 GB, free: 5.113 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.989/2.926, allocations: 3.938 kB / 0.7889 GB, free: 5.109 MB / 0.5573 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/linux/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)