Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.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.Validation.ReaderTMY3HDirNor,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_WeatherData_Validation_ReaderTMY3HDirNor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_WeatherData_Validation_ReaderTMY3HDirNor",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.001603/0.001603, allocations: 175 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.8211/0.8211, allocations: 133.4 MB / 146.7 MB, free: 10.79 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.633/1.633, allocations: 221.3 MB / 400.4 MB, free: 5.781 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.0008632/0.0008632, allocations: 88.2 kB / 483.3 MB, free: 5.832 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 4.008e-05/4.035e-05, allocations: 2.094 kB / 0.5601 GB, free: 87.86 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2026/0.2026, allocations: 82.31 MB / 0.6405 GB, free: 7.738 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.411/5.613, allocations: 1.694 GB / 2.334 GB, free: 240.5 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002722/5.614, allocations: 90.19 kB / 2.334 GB, free: 240.4 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.1337/5.747, allocations: 59.52 MB / 2.392 GB, free: 180.7 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.234e-06/5.747, allocations: 0 / 2.392 GB, free: 180.7 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001035/5.747, allocations: 20 kB / 2.393 GB, free: 180.7 MB / 0.6823 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.002614/5.75, allocations: 1.112 MB / 2.394 GB, free: 179.6 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.863e-05/5.75, allocations: 12.03 kB / 2.394 GB, free: 179.5 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000266/5.75, allocations: 118.5 kB / 2.394 GB, free: 179.4 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001332/5.752, allocations: 206.5 kB / 2.394 GB, free: 179.2 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001267/5.753, allocations: 0.6075 MB / 2.395 GB, free: 178.6 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.567e-05/5.753, allocations: 50 kB / 2.395 GB, free: 178.5 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001487/5.753, allocations: 68 kB / 2.395 GB, free: 178.4 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001358/5.755, allocations: 0.7827 MB / 2.395 GB, free: 177.6 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.889e-05/5.755, allocations: 0 / 2.395 GB, free: 177.6 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.889e-05/5.755, allocations: 35.95 kB / 2.395 GB, free: 177.6 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.528e-05/5.755, allocations: 19.94 kB / 2.395 GB, free: 177.6 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001378/5.756, allocations: 1.011 MB / 2.396 GB, free: 176.6 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003932/5.76, allocations: 2.411 MB / 2.399 GB, free: 174.1 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001074/5.761, allocations: 0.6958 MB / 2.399 GB, free: 173.4 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003985/5.762, allocations: 271.2 kB / 2.4 GB, free: 173.1 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 9.977e-05/5.762, allocations: 32.8 kB / 2.4 GB, free: 173.1 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006414/5.762, allocations: 425.3 kB / 2.4 GB, free: 172.6 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=73): time 3.266e-06/5.762, allocations: 0 / 2.4 GB, free: 172.6 MB / 0.6823 GB Notification: Performance of matching and sorting (n=73): time 0.001649/5.764, allocations: 0.7237 MB / 2.401 GB, free: 171.9 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.052e-05/5.764, allocations: 240.1 kB / 2.401 GB, free: 171.6 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007519/5.765, allocations: 0.5778 MB / 2.402 GB, free: 171 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001076/5.765, allocations: 41.7 kB / 2.402 GB, free: 171 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002314/5.765, allocations: 364.4 kB / 2.402 GB, free: 170.6 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001661/5.765, allocations: 240.4 kB / 2.402 GB, free: 170.4 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.36e-05/5.765, allocations: 12 kB / 2.402 GB, free: 170.4 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001127/5.766, allocations: 378.8 kB / 2.403 GB, free: 170 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003123/5.766, allocations: 209.5 kB / 2.403 GB, free: 169.8 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000388/5.766, allocations: 337.9 kB / 2.403 GB, free: 169.4 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003891/5.767, allocations: 254 kB / 2.403 GB, free: 169.2 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.975e-06/5.767, allocations: 0 / 2.403 GB, free: 169.2 MB / 0.6823 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001445/5.768, allocations: 0.7304 MB / 2.404 GB, free: 168.4 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.232e-05/5.768, allocations: 4 kB / 2.404 GB, free: 168.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.476e-06/5.768, allocations: 0 / 2.404 GB, free: 168.4 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005733/5.769, allocations: 84.88 kB / 2.404 GB, free: 168.4 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006328/5.769, allocations: 155.8 kB / 2.404 GB, free: 168.2 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001701/5.771, allocations: 1.52 MB / 2.406 GB, free: 166.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006609/5.772, allocations: 99.42 kB / 2.406 GB, free: 166.4 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.867e-05/5.772, allocations: 27.97 kB / 2.406 GB, free: 166.4 MB / 0.6823 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.0001706/5.772, allocations: 144.8 kB / 2.406 GB, free: 166.3 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001426/5.772, allocations: 83 kB / 2.406 GB, free: 166.2 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002199/5.774, allocations: 1.051 MB / 2.407 GB, free: 165.1 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.125e-06/5.774, allocations: 12 kB / 2.407 GB, free: 165.1 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/5.774, allocations: 0 / 2.407 GB, free: 165.1 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.065e-05/5.774, allocations: 7.938 kB / 2.407 GB, free: 165.1 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001001/5.775, allocations: 0.8643 MB / 2.408 GB, free: 164.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.925e-06/5.775, allocations: 0 / 2.408 GB, free: 164.2 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006035/5.776, allocations: 159.7 kB / 2.408 GB, free: 164 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004612/5.777, allocations: 88.77 kB / 2.408 GB, free: 163.9 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.479e-05/5.777, allocations: 23.98 kB / 2.408 GB, free: 163.9 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001505/5.778, allocations: 1.56 MB / 2.41 GB, free: 162.2 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.774e-06/5.778, allocations: 0 / 2.41 GB, free: 162.2 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001478/5.78, allocations: 0.8324 MB / 2.411 GB, free: 161.4 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004386/5.78, allocations: 291.6 kB / 2.411 GB, free: 161 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001393/5.78, allocations: 16 kB / 2.411 GB, free: 161 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006115/5.781, allocations: 79.92 kB / 2.411 GB, free: 161 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001595/5.781, allocations: 64.69 kB / 2.411 GB, free: 160.9 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.546e-05/5.781, allocations: 36.05 kB / 2.411 GB, free: 160.9 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0005745/5.782, allocations: 479.1 kB / 2.412 GB, free: 160.4 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.3e-07/5.782, allocations: 0 / 2.412 GB, free: 160.4 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001262/5.783, allocations: 363.3 kB / 2.412 GB, free: 160 MB / 0.6823 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.003747/5.787, allocations: 2.331 MB / 2.414 GB, free: 157.8 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001258/5.788, allocations: 0.7136 MB / 2.415 GB, free: 157.1 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.328e-06/5.788, allocations: 0 / 2.415 GB, free: 157.1 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0006884/5.789, allocations: 486.9 kB / 2.415 GB, free: 156.6 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001115/5.79, allocations: 248.3 kB / 2.416 GB, free: 156.4 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004009/5.794, allocations: 1.556 MB / 2.417 GB, free: 154.8 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000479/5.794, allocations: 1.014 MB / 2.418 GB, free: 153.7 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0009701/5.795, allocations: 270.2 kB / 2.418 GB, free: 153.4 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005262/5.796, allocations: 339.3 kB / 2.419 GB, free: 153.1 MB / 0.6823 GB Notification: Performance of SimCode: time 8.32e-07/5.796, allocations: 0 / 2.419 GB, free: 153.1 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06022/5.856, allocations: 31.62 MB / 2.45 GB, free: 121.7 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001695/5.856, allocations: 248.9 kB / 2.45 GB, free: 121.4 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.03/8.886, allocations: 6.531 kB / 2.45 GB, free: 121.4 MB / 0.6823 GB (rm -f IDEAS_IDEAS.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_BoundaryConditions_WeatherData_Validation_ReaderTMY3HDirNor_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_BoundaryConditions_WeatherData_Validation_ReaderTMY3HDirNor.fmu > IDEAS_IDEAS.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.pipe 2>&1)