Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_Validation_ReaderTMY3HDirNor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_Validation_ReaderTMY3HDirNor",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7917/0.7917, allocations: 143.3 MB / 158.3 MB, free: 5.773 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001078/0.001078, allocations: 179.7 kB / 191.5 MB, free: 5.75 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.417/1.417, allocations: 223.2 MB / 447.7 MB, free: 4.801 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.0009671/0.0009671, allocations: 100.2 kB / 0.5187 GB, free: 1.148 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001762/0.001762, allocations: 274.9 kB / 0.6005 GB, free: 48.74 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000424/0.000424, allocations: 13.81 kB / 0.6929 GB, free: 59.71 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1541/0.1545, allocations: 82.79 MB / 0.7738 GB, free: 13.75 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.399/3.554, allocations: 1.691 GB / 2.465 GB, free: 62.83 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002759/3.554, allocations: 91.25 kB / 2.465 GB, free: 62.79 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.1296/3.684, allocations: 59.84 MB / 2.524 GB, free: 12.39 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.905e-06/3.684, allocations: 0 / 2.524 GB, free: 12.39 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 6.811e-05/3.684, allocations: 23.94 kB / 2.524 GB, free: 12.37 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.002059/3.686, allocations: 1.242 MB / 2.525 GB, free: 11.14 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.865e-05/3.686, allocations: 12.5 kB / 2.525 GB, free: 11.13 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001265/3.686, allocations: 120.6 kB / 2.525 GB, free: 11.05 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001/3.687, allocations: 206.6 kB / 2.525 GB, free: 10.85 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008262/3.688, allocations: 0.6075 MB / 2.526 GB, free: 10.31 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.826e-05/3.688, allocations: 50.81 kB / 2.526 GB, free: 10.28 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.41e-05/3.688, allocations: 66.5 kB / 2.526 GB, free: 10.23 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001279/3.689, allocations: 0.8313 MB / 2.527 GB, free: 9.594 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.698e-05/3.689, allocations: 3.984 kB / 2.527 GB, free: 9.59 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.2e-05/3.689, allocations: 30.81 kB / 2.527 GB, free: 9.582 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.231e-05/3.689, allocations: 27.94 kB / 2.527 GB, free: 9.555 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001607/3.691, allocations: 1.091 MB / 2.528 GB, free: 8.68 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003079/3.694, allocations: 2.397 MB / 2.53 GB, free: 6.73 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001204/3.695, allocations: 0.7544 MB / 2.531 GB, free: 6.051 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 6.364e-05/3.695, allocations: 28.69 kB / 2.531 GB, free: 6.023 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007559/3.696, allocations: 464.3 kB / 2.531 GB, free: 5.555 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=73): time 2.094e-06/3.696, allocations: 0 / 2.531 GB, free: 5.555 MB / 0.7136 GB Notification: Performance of matching and sorting (n=73): time 0.00312/3.699, allocations: 1.202 MB / 2.532 GB, free: 4.324 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.051e-05/3.699, allocations: 252 kB / 2.533 GB, free: 4.023 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006142/3.7, allocations: 0.5854 MB / 2.533 GB, free: 3.434 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 5.549e-05/3.7, allocations: 45.64 kB / 2.533 GB, free: 3.383 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.000187/3.7, allocations: 356.4 kB / 2.534 GB, free: 3.031 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001318/3.7, allocations: 240.5 kB / 2.534 GB, free: 2.793 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.454e-05/3.7, allocations: 12 kB / 2.534 GB, free: 2.781 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.11e-05/3.7, allocations: 378.8 kB / 2.534 GB, free: 2.402 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005229/3.701, allocations: 257.1 kB / 2.534 GB, free: 2.152 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005923/3.702, allocations: 368.5 kB / 2.535 GB, free: 1.758 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005584/3.702, allocations: 299.1 kB / 2.535 GB, free: 1.469 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/3.702, allocations: 0 / 2.535 GB, free: 1.469 MB / 0.7136 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001825/3.704, allocations: 0.8016 MB / 2.536 GB, free: 0.6562 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.76e-05/3.704, allocations: 4 kB / 2.536 GB, free: 0.6523 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/3.704, allocations: 3.984 kB / 2.536 GB, free: 0.6484 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006075/3.705, allocations: 84.86 kB / 2.536 GB, free: 0.5625 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006676/3.705, allocations: 155.8 kB / 2.536 GB, free: 420 kB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3383/4.044, allocations: 1.543 MB / 2.538 GB, free: 231.7 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009547/4.045, allocations: 91.95 kB / 2.538 GB, free: 231.7 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.132e-05/4.045, allocations: 28.23 kB / 2.538 GB, free: 231.7 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDatInpCon.conTimMin.tNext,weaDatInpCon.conTimMin.tNext,$PRE.weaDatInpCon.conTim.tNext,weaDatInpCon.conTim.tNext) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (76): * Single equations (assignments): 75 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.000529/4.045, allocations: 251.8 kB / 2.538 GB, free: 231.6 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001429/4.045, allocations: 81.62 kB / 2.538 GB, free: 231.6 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002586/4.048, allocations: 1.134 MB / 2.539 GB, free: 231.5 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.996e-06/4.048, allocations: 9.328 kB / 2.539 GB, free: 231.5 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.444e-06/4.048, allocations: 3.625 kB / 2.539 GB, free: 231.5 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.201e-05/4.048, allocations: 9.984 kB / 2.539 GB, free: 231.5 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008699/4.049, allocations: 0.8649 MB / 2.54 GB, free: 231.3 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.677e-06/4.049, allocations: 0 / 2.54 GB, free: 231.3 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006685/4.05, allocations: 159.4 kB / 2.54 GB, free: 231.3 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005157/4.05, allocations: 92.91 kB / 2.54 GB, free: 231.3 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.84e-05/4.05, allocations: 23.98 kB / 2.54 GB, free: 231.3 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001494/4.052, allocations: 1.573 MB / 2.542 GB, free: 230 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/4.052, allocations: 0 / 2.542 GB, free: 230 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001885/4.054, allocations: 0.9214 MB / 2.543 GB, free: 229.9 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004053/4.054, allocations: 292.5 kB / 2.543 GB, free: 229.7 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001105/4.054, allocations: 21.66 kB / 2.543 GB, free: 229.7 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005851/4.055, allocations: 75.19 kB / 2.543 GB, free: 229.7 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001255/4.055, allocations: 65.39 kB / 2.543 GB, free: 229.7 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.069e-05/4.055, allocations: 32.98 kB / 2.543 GB, free: 229.7 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0005778/4.055, allocations: 488.3 kB / 2.544 GB, free: 229.6 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.9e-07/4.055, allocations: 0 / 2.544 GB, free: 229.6 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001148/4.057, allocations: 371.2 kB / 2.544 GB, free: 229.6 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDatInpCon.conTimMin.tNext,weaDatInpCon.conTim.tNext) * Number of discrete states: 2 (weaDatInpCon.conTimMin.tNext,weaDatInpCon.conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (87): * Single equations (assignments): 84 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.004293/4.061, allocations: 2.456 MB / 2.546 GB, free: 228.9 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.001822/4.063, allocations: 0.7972 MB / 2.547 GB, free: 228.8 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 4.188e-06/4.063, allocations: 2.75 kB / 2.547 GB, free: 228.8 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0009903/4.064, allocations: 0.5238 MB / 2.548 GB, free: 228.6 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001152/4.065, allocations: 239.1 kB / 2.548 GB, free: 228.6 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01052/4.075, allocations: 5.336 MB / 2.553 GB, free: 226.8 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006835/4.076, allocations: 1.009 MB / 2.554 GB, free: 226.1 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.001278/4.078, allocations: 270.6 kB / 2.554 GB, free: 226.1 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005696/4.078, allocations: 343.2 kB / 2.555 GB, free: 226 MB / 0.7136 GB Notification: Performance of SimCode: time 1.573e-06/4.078, allocations: 0 / 2.555 GB, free: 226 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06309/4.141, allocations: 30.04 MB / 2.584 GB, free: 224.2 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001714/4.141, allocations: 281.6 kB / 2.584 GB, free: 223.8 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.282/7.424, allocations: 3.562 kB / 2.584 GB, free: 223.8 MB / 0.7136 GB (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_Validation_ReaderTMY3HDirNor_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_Validation_ReaderTMY3HDirNor.fmu > BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.pipe 2>&1)