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.001358/0.001358, allocations: 174.5 kB / 7.648 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8758/0.8758, allocations: 133.6 MB / 141.6 MB, free: 2.855 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.5/1.5, allocations: 221.5 MB / 395.4 MB, free: 10.78 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.0008875/0.0008874, allocations: 97.36 kB / 478.2 MB, free: 1.316 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.101e-05/2.104e-05, allocations: 7.984 kB / 0.5536 GB, free: 8.949 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4575/0.4575, allocations: 82.3 MB / 0.6339 GB, free: 40.85 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1488/0.6064, allocations: 115.4 MB / 0.7466 GB, free: 7.383 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000288/0.6067, allocations: 91.92 kB / 0.7467 GB, free: 7.293 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.0233/0.63, allocations: 8.838 MB / 0.7553 GB, free: 14.45 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.263e-06/0.6301, allocations: 0 / 0.7553 GB, free: 14.45 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 1.532e-05/0.6301, allocations: 4 kB / 0.7553 GB, free: 14.44 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.0006252/0.6307, allocations: 499 kB / 0.7558 GB, free: 13.91 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 7.887e-05/0.6308, allocations: 12.03 kB / 0.7558 GB, free: 13.89 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001499/0.631, allocations: 31.62 kB / 0.7558 GB, free: 13.86 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003789/0.6314, allocations: 285.5 kB / 0.7561 GB, free: 13.54 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.33e-05/0.6314, allocations: 8 kB / 0.7561 GB, free: 13.54 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.397e-05/0.6314, allocations: 8 kB / 0.7561 GB, free: 13.53 MB / 0.5417 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008582/0.6323, allocations: 0.7293 MB / 0.7568 GB, free: 12.8 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003261/0.6326, allocations: 205 kB / 0.757 GB, free: 12.58 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.11e-05/0.6327, allocations: 0 / 0.757 GB, free: 12.58 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.413e-05/0.6327, allocations: 0 / 0.757 GB, free: 12.58 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.715e-06/0.6327, allocations: 4 kB / 0.757 GB, free: 12.57 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008927/0.6336, allocations: 0.5672 MB / 0.7576 GB, free: 11.96 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004163/0.634, allocations: 281.7 kB / 0.7579 GB, free: 11.68 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001398/0.6342, allocations: 101.4 kB / 0.758 GB, free: 11.58 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 4.956e-05/0.6342, allocations: 20.25 kB / 0.758 GB, free: 11.56 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002865/0.6345, allocations: 155.6 kB / 0.7581 GB, free: 11.39 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=35): time 1.533e-06/0.6345, allocations: 0 / 0.7581 GB, free: 11.39 MB / 0.5417 GB Notification: Performance of matching and sorting (n=35): time 0.0005253/0.6351, allocations: 272.9 kB / 0.7584 GB, free: 11.12 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.909e-05/0.6352, allocations: 136.5 kB / 0.7585 GB, free: 10.96 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002767/0.6354, allocations: 256.5 kB / 0.7588 GB, free: 10.7 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 3.021e-05/0.6355, allocations: 29.7 kB / 0.7588 GB, free: 10.67 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 8.87e-05/0.6356, allocations: 132.7 kB / 0.7589 GB, free: 10.54 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 8.439e-05/0.6357, allocations: 106.4 kB / 0.759 GB, free: 10.43 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.07e-05/0.6357, allocations: 0 / 0.759 GB, free: 10.43 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001259/0.6358, allocations: 342.8 kB / 0.7593 GB, free: 10.09 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001058/0.6359, allocations: 71.92 kB / 0.7594 GB, free: 10.02 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000139/0.6361, allocations: 123.6 kB / 0.7595 GB, free: 9.883 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001567/0.6362, allocations: 99.78 kB / 0.7596 GB, free: 9.785 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.6363, allocations: 0 / 0.7596 GB, free: 9.785 MB / 0.5417 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0003735/0.6366, allocations: 253.8 kB / 0.7599 GB, free: 9.531 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.946e-05/0.6367, allocations: 11.94 kB / 0.7599 GB, free: 9.52 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.6367, allocations: 0 / 0.7599 GB, free: 9.52 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.642e-05/0.6367, allocations: 0 / 0.7599 GB, free: 9.52 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002456/0.6369, allocations: 63.91 kB / 0.7599 GB, free: 9.457 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.025e-05/0.637, allocations: 8 kB / 0.7599 GB, free: 9.449 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001631/0.6371, allocations: 31.66 kB / 0.76 GB, free: 9.418 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.864e-05/0.6372, allocations: 12 kB / 0.76 GB, free: 9.406 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 () * 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.000104/0.6373, allocations: 110.6 kB / 0.7601 GB, free: 9.293 MB / 0.5417 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.000393/0.6377, allocations: 273.2 kB / 0.7604 GB, free: 9.02 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.512e-05/0.6377, allocations: 27.72 kB / 0.7604 GB, free: 8.992 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006452/0.6384, allocations: 360.9 kB / 0.7607 GB, free: 8.633 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.131e-06/0.6384, allocations: 7.953 kB / 0.7607 GB, free: 8.625 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.6384, allocations: 0 / 0.7607 GB, free: 8.625 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.732e-06/0.6384, allocations: 7.984 kB / 0.7607 GB, free: 8.617 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003433/0.6388, allocations: 305.8 kB / 0.761 GB, free: 8.281 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.493e-06/0.6388, allocations: 3.984 kB / 0.761 GB, free: 8.277 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001803/0.639, allocations: 63.91 kB / 0.7611 GB, free: 8.215 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.817e-06/0.639, allocations: 0 / 0.7611 GB, free: 8.215 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.973e-05/0.639, allocations: 4 kB / 0.7611 GB, free: 8.211 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.196e-06/0.639, allocations: 8 kB / 0.7611 GB, free: 8.203 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.31e-06/0.639, allocations: 3.984 kB / 0.7611 GB, free: 8.199 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004253/0.6395, allocations: 302.1 kB / 0.7614 GB, free: 7.883 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001738/0.6397, allocations: 164.5 kB / 0.7616 GB, free: 7.703 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.204e-05/0.6397, allocations: 0 / 0.7616 GB, free: 7.703 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001803/0.6399, allocations: 27.97 kB / 0.7616 GB, free: 7.676 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.292e-05/0.64, allocations: 23.97 kB / 0.7616 GB, free: 7.652 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.643e-05/0.64, allocations: 15.98 kB / 0.7616 GB, free: 7.637 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0002033/0.6402, allocations: 212.5 kB / 0.7618 GB, free: 7.43 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6402, allocations: 0 / 0.7618 GB, free: 7.43 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0003291/0.6406, allocations: 67.83 kB / 0.7619 GB, free: 7.363 MB / 0.5417 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.001539/0.6421, allocations: 1.078 MB / 0.7629 GB, free: 6.34 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0003412/0.6425, allocations: 204.3 kB / 0.7631 GB, free: 6.141 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 4.579e-06/0.6425, allocations: 4 kB / 0.7631 GB, free: 6.137 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0001655/0.6426, allocations: 120.4 kB / 0.7633 GB, free: 6.02 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003164/0.643, allocations: 35.03 kB / 0.7633 GB, free: 5.984 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001015/0.644, allocations: 468.6 kB / 0.7637 GB, free: 5.488 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004102/0.6444, allocations: 0.7734 MB / 0.7645 GB, free: 4.684 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0003646/0.6448, allocations: 151.1 kB / 0.7646 GB, free: 4.539 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001716/0.645, allocations: 99.39 kB / 0.7647 GB, free: 4.441 MB / 0.5417 GB Notification: Performance of SimCode: time 2.6e-07/0.645, allocations: 0 / 0.7647 GB, free: 4.441 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4326/1.078, allocations: 5.462 MB / 0.7701 GB, free: 15.02 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000291/1.078, allocations: 206 kB / 0.7703 GB, free: 14.81 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.831/2.909, allocations: 0 / 0.7703 GB, free: 14.81 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)