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/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_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/Complex 4.0.0+maint.om/package.mo): time 0.001073/0.001073, allocations: 174.7 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7087/0.7087, allocations: 133.4 MB / 146.7 MB, free: 10.8 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.745/1.745, allocations: 221.3 MB / 400.4 MB, free: 5.855 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009059/0.0009062, allocations: 98.22 kB / 483.3 MB, free: 5.906 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 4.637e-05/4.639e-05, allocations: 4.375 kB / 0.5601 GB, free: 87.84 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1793/0.1794, allocations: 82.31 MB / 0.6405 GB, free: 7.738 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.664/0.8435, allocations: 116 MB / 0.7538 GB, free: 11.63 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003271/0.8439, allocations: 85.81 kB / 0.7539 GB, free: 11.63 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.02972/0.8736, allocations: 8.985 MB / 0.7627 GB, free: 25.08 MB / 0.5105 GB Notification: Performance of FrontEnd: time 5.3e-06/0.8737, allocations: 0 / 0.7627 GB, free: 25.08 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 5.83e-05/0.8738, allocations: 7.688 kB / 0.7627 GB, free: 25.08 MB / 0.5105 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.00145/0.8752, allocations: 0.495 MB / 0.7632 GB, free: 24.62 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 7.73e-05/0.8753, allocations: 11.22 kB / 0.7632 GB, free: 24.62 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001577/0.8755, allocations: 49.17 kB / 0.7632 GB, free: 24.57 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003369/0.8759, allocations: 38.78 kB / 0.7633 GB, free: 24.55 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006953/0.8766, allocations: 281.8 kB / 0.7635 GB, free: 24.3 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.734e-05/0.8766, allocations: 14.19 kB / 0.7636 GB, free: 24.3 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.949e-05/0.8767, allocations: 14.41 kB / 0.7636 GB, free: 24.3 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006137/0.8773, allocations: 225.7 kB / 0.7638 GB, free: 24.2 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.63e-05/0.8773, allocations: 3.844 kB / 0.7638 GB, free: 24.2 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.718e-05/0.8774, allocations: 5.875 kB / 0.7638 GB, free: 24.2 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.208e-05/0.8774, allocations: 3.844 kB / 0.7638 GB, free: 24.2 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0012/0.8786, allocations: 0.7431 MB / 0.7645 GB, free: 23.95 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001388/0.88, allocations: 0.6106 MB / 0.7651 GB, free: 23.55 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006573/0.8807, allocations: 300.8 kB / 0.7654 GB, free: 23.48 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001779/0.8809, allocations: 103.5 kB / 0.7655 GB, free: 23.47 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 5.943e-05/0.881, allocations: 25.59 kB / 0.7655 GB, free: 23.47 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000361/0.8814, allocations: 173.4 kB / 0.7657 GB, free: 23.39 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=35): time 3.717e-06/0.8814, allocations: 4 kB / 0.7657 GB, free: 23.39 MB / 0.5105 GB Notification: Performance of matching and sorting (n=35): time 0.0005825/0.882, allocations: 292.9 kB / 0.766 GB, free: 23.3 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.44e-05/0.8821, allocations: 136.1 kB / 0.7661 GB, free: 23.14 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000312/0.8824, allocations: 261.4 kB / 0.7664 GB, free: 23.02 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 3.458e-05/0.8824, allocations: 33.48 kB / 0.7664 GB, free: 22.99 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 8.204e-05/0.8825, allocations: 133 kB / 0.7665 GB, free: 22.89 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 7.738e-05/0.8826, allocations: 111.8 kB / 0.7666 GB, free: 22.82 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.406e-05/0.8826, allocations: 7.219 kB / 0.7666 GB, free: 22.82 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001409/0.8828, allocations: 340.7 kB / 0.767 GB, free: 22.49 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001328/0.8829, allocations: 78.69 kB / 0.767 GB, free: 22.48 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001589/0.8831, allocations: 119.8 kB / 0.7671 GB, free: 22.45 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001587/0.8833, allocations: 101.5 kB / 0.7672 GB, free: 22.43 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.507e-06/0.8833, allocations: 3.938 kB / 0.7672 GB, free: 22.42 MB / 0.5105 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0004103/0.8837, allocations: 285 kB / 0.7675 GB, free: 22.34 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.822e-05/0.8837, allocations: 4.781 kB / 0.7675 GB, free: 22.34 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.8837, allocations: 0 / 0.7675 GB, free: 22.34 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.818e-05/0.8837, allocations: 7.953 kB / 0.7675 GB, free: 22.33 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002556/0.884, allocations: 60.81 kB / 0.7676 GB, free: 22.32 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.328e-06/0.884, allocations: 3.812 kB / 0.7676 GB, free: 22.32 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000185/0.8842, allocations: 33.77 kB / 0.7676 GB, free: 22.3 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.758e-05/0.8843, allocations: 10.94 kB / 0.7676 GB, free: 22.3 MB / 0.5105 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 () * 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.0001105/0.8844, allocations: 119 kB / 0.7677 GB, free: 22.19 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.711e-05/0.8844, allocations: 30.69 kB / 0.7678 GB, free: 22.18 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006996/0.8851, allocations: 381.2 kB / 0.7681 GB, free: 22.05 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.33e-06/0.8852, allocations: 3.75 kB / 0.7681 GB, free: 22.05 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.011e-06/0.8852, allocations: 3.953 kB / 0.7682 GB, free: 22.05 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.182e-06/0.8852, allocations: 3.984 kB / 0.7682 GB, free: 22.04 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003192/0.8855, allocations: 357 kB / 0.7685 GB, free: 21.79 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.8855, allocations: 0 / 0.7685 GB, free: 21.79 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000192/0.8857, allocations: 57.59 kB / 0.7685 GB, free: 21.77 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.008e-06/0.8857, allocations: 3.688 kB / 0.7686 GB, free: 21.77 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.208e-05/0.8858, allocations: 15.52 kB / 0.7686 GB, free: 21.77 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.8858, allocations: 0 / 0.7686 GB, free: 21.77 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.8858, allocations: 0 / 0.7686 GB, free: 21.77 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000448/0.8862, allocations: 326.3 kB / 0.7689 GB, free: 21.64 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001886/0.8864, allocations: 159.2 kB / 0.769 GB, free: 21.51 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.882e-05/0.8865, allocations: 7 kB / 0.769 GB, free: 21.51 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002177/0.8867, allocations: 37.03 kB / 0.7691 GB, free: 21.5 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.194e-05/0.8868, allocations: 22.62 kB / 0.7691 GB, free: 21.49 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.875e-05/0.8869, allocations: 15.52 kB / 0.7691 GB, free: 21.48 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0002175/0.8871, allocations: 224.9 kB / 0.7693 GB, free: 21.39 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.81e-07/0.8871, allocations: 0 / 0.7693 GB, free: 21.39 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0003504/0.8874, allocations: 83.81 kB / 0.7694 GB, free: 21.38 MB / 0.5105 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) * 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.001576/0.889, allocations: 1.122 MB / 0.7705 GB, free: 20.63 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0003929/0.8894, allocations: 224.2 kB / 0.7707 GB, free: 20.61 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.8894, allocations: 0 / 0.7707 GB, free: 20.61 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0001802/0.8896, allocations: 130.5 kB / 0.7708 GB, free: 20.59 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002828/0.8899, allocations: 28.61 kB / 0.7709 GB, free: 20.58 MB / 0.5105 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.0009443/0.8909, allocations: 0.5017 MB / 0.7714 GB, free: 20.34 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003373/0.8912, allocations: 0.7681 MB / 0.7721 GB, free: 19.61 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0003722/0.8916, allocations: 157.8 kB / 0.7723 GB, free: 19.53 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001612/0.8918, allocations: 97.55 kB / 0.7723 GB, free: 19.51 MB / 0.5105 GB Notification: Performance of SimCode: time 3.91e-07/0.8918, allocations: 4 kB / 0.7724 GB, free: 19.51 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3255/1.217, allocations: 5.968 MB / 0.7782 GB, free: 14.45 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001432/1.217, allocations: 215.1 kB / 0.7784 GB, free: 14.22 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.972/3.19, allocations: 4.062 kB / 0.7784 GB, free: 14.21 MB / 0.5105 GB (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/linux/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)