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.8457/0.8457, allocations: 141.8 MB / 149.3 MB, free: 9.23 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.00132/0.00132, allocations: 172.8 kB / 182.2 MB, free: 9.449 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.385/1.385, allocations: 221.5 MB / 436.4 MB, free: 13.36 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.001132/0.001132, allocations: 93.53 kB / 0.5074 GB, free: 10.19 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001761/0.001762, allocations: 290.3 kB / 0.5889 GB, free: 54.68 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 1.85e-05/1.871e-05, allocations: 0 / 0.6766 GB, free: 12.76 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4717/0.4718, allocations: 82.78 MB / 0.7575 GB, free: 31.93 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.334/4.806, allocations: 1.691 GB / 2.448 GB, free: 95.8 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000366/4.807, allocations: 83.95 kB / 2.448 GB, free: 95.71 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.1274/4.934, allocations: 58.68 MB / 2.505 GB, free: 36.8 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.363e-06/4.934, allocations: 0 / 2.505 GB, free: 36.8 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.528e-05/4.934, allocations: 20 kB / 2.505 GB, free: 36.78 MB / 0.698 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.001752/4.936, allocations: 1.12 MB / 2.506 GB, free: 35.61 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.116e-05/4.936, allocations: 12.03 kB / 2.506 GB, free: 35.6 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001005/4.937, allocations: 206.5 kB / 2.507 GB, free: 35.39 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007734/4.938, allocations: 0.6037 MB / 2.507 GB, free: 34.75 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.058e-05/4.938, allocations: 24 kB / 2.507 GB, free: 34.72 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.994e-05/4.938, allocations: 36 kB / 2.507 GB, free: 34.69 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001146/4.939, allocations: 0.9679 MB / 2.508 GB, free: 33.72 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009136/4.94, allocations: 0.6889 MB / 2.509 GB, free: 32.99 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.595e-05/4.94, allocations: 0 / 2.509 GB, free: 32.99 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.843e-05/4.94, allocations: 0 / 2.509 GB, free: 32.99 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.16e-05/4.94, allocations: 20 kB / 2.509 GB, free: 32.97 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002859/4.943, allocations: 2.26 MB / 2.511 GB, free: 30.65 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000769/4.944, allocations: 0.6553 MB / 2.512 GB, free: 29.98 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002918/4.944, allocations: 255.2 kB / 2.512 GB, free: 29.73 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 7.32e-05/4.944, allocations: 32.8 kB / 2.512 GB, free: 29.7 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005091/4.945, allocations: 403.8 kB / 2.512 GB, free: 29.28 MB / 0.698 GB Notification: Performance of pre-optimization done (n=73): time 2.585e-06/4.945, allocations: 3.984 kB / 2.512 GB, free: 29.28 MB / 0.698 GB Notification: Performance of matching and sorting (n=73): time 0.001462/4.946, allocations: 0.6954 MB / 2.513 GB, free: 28.57 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.145e-05/4.946, allocations: 240.1 kB / 2.513 GB, free: 28.29 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005242/4.947, allocations: 0.5102 MB / 2.514 GB, free: 27.77 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 6.817e-05/4.947, allocations: 29.7 kB / 2.514 GB, free: 27.73 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.00018/4.947, allocations: 360.4 kB / 2.514 GB, free: 27.38 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001211/4.947, allocations: 228.5 kB / 2.514 GB, free: 27.15 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.323e-05/4.947, allocations: 0 / 2.514 GB, free: 27.15 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 8.27e-05/4.947, allocations: 378.8 kB / 2.515 GB, free: 26.77 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002602/4.948, allocations: 201.5 kB / 2.515 GB, free: 26.57 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003179/4.948, allocations: 304.4 kB / 2.515 GB, free: 26.24 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000413/4.948, allocations: 260.4 kB / 2.516 GB, free: 25.99 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/4.948, allocations: 4 kB / 2.516 GB, free: 25.98 MB / 0.698 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001326/4.95, allocations: 0.6914 MB / 2.516 GB, free: 25.28 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.796e-05/4.95, allocations: 9.516 kB / 2.516 GB, free: 25.27 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.983e-06/4.95, allocations: 0 / 2.516 GB, free: 25.27 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005594/4.95, allocations: 92.8 kB / 2.516 GB, free: 25.18 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006289/4.951, allocations: 143.8 kB / 2.516 GB, free: 25.04 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001436/4.952, allocations: 1.469 MB / 2.518 GB, free: 23.45 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005478/4.953, allocations: 71.64 kB / 2.518 GB, free: 23.38 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.168e-05/4.953, allocations: 31.91 kB / 2.518 GB, free: 23.34 MB / 0.698 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 () * 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.0001414/4.953, allocations: 117.5 kB / 2.518 GB, free: 23.22 MB / 0.698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001286/4.954, allocations: 0.6953 MB / 2.519 GB, free: 22.52 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.396e-05/4.955, allocations: 71.16 kB / 2.519 GB, free: 22.45 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001977/4.956, allocations: 0.9928 MB / 2.52 GB, free: 21.44 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.264e-06/4.957, allocations: 12 kB / 2.52 GB, free: 21.43 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.257e-06/4.957, allocations: 3.953 kB / 2.52 GB, free: 21.42 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.428e-06/4.957, allocations: 3.984 kB / 2.52 GB, free: 21.42 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007348/4.957, allocations: 0.7561 MB / 2.521 GB, free: 20.62 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.487e-06/4.957, allocations: 0 / 2.521 GB, free: 20.62 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006605/4.958, allocations: 163.7 kB / 2.521 GB, free: 20.46 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004621/4.958, allocations: 80.78 kB / 2.521 GB, free: 20.38 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.589e-05/4.958, allocations: 19.97 kB / 2.521 GB, free: 20.36 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001319/4.96, allocations: 1.496 MB / 2.522 GB, free: 18.75 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.574e-06/4.96, allocations: 0 / 2.522 GB, free: 18.75 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001351/4.961, allocations: 0.7973 MB / 2.523 GB, free: 17.93 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003327/4.962, allocations: 287.7 kB / 2.523 GB, free: 17.63 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.916e-05/4.962, allocations: 3.953 kB / 2.523 GB, free: 17.62 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005244/4.962, allocations: 63.94 kB / 2.523 GB, free: 17.56 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001192/4.962, allocations: 60.69 kB / 2.523 GB, free: 17.5 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.508e-05/4.962, allocations: 39.97 kB / 2.524 GB, free: 17.46 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0004242/4.963, allocations: 423.2 kB / 2.524 GB, free: 17.05 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.6e-07/4.963, allocations: 0 / 2.524 GB, free: 17.05 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001056/4.964, allocations: 339.2 kB / 2.524 GB, free: 16.71 MB / 0.698 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) * 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.003314/4.967, allocations: 2.339 MB / 2.527 GB, free: 14.46 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001104/4.968, allocations: 0.6745 MB / 2.527 GB, free: 13.77 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/4.968, allocations: 0 / 2.527 GB, free: 13.77 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0006035/4.969, allocations: 460.5 kB / 2.528 GB, free: 13.32 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001055/4.97, allocations: 235.8 kB / 2.528 GB, free: 13.09 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003742/4.974, allocations: 1.478 MB / 2.529 GB, free: 11.57 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003566/4.974, allocations: 1.015 MB / 2.53 GB, free: 10.52 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0008293/4.975, allocations: 262 kB / 2.531 GB, free: 10.26 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004289/4.975, allocations: 339.3 kB / 2.531 GB, free: 9.93 MB / 0.698 GB Notification: Performance of SimCode: time 5.01e-07/4.975, allocations: 0 / 2.531 GB, free: 9.93 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.433/5.408, allocations: 23.88 MB / 2.554 GB, free: 231.8 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001842/5.409, allocations: 211.3 kB / 2.554 GB, free: 231.5 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.999/8.408, allocations: 0 / 2.554 GB, free: 231.5 MB / 0.698 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)