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/ModelicaServices 4.0.0+maint.om/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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007403/0.007403, allocations: 99.67 kB / 15.73 MB, free: 6.039 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001975/0.001975, allocations: 199.3 kB / 16.68 MB, free: 5.965 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.443/1.443, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002495/0.002495, allocations: 274.9 kB / 290.8 MB, free: 1.926 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9936/0.9936, allocations: 169.3 MB / 0.4983 GB, free: 13.8 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002757/0.002757, allocations: 96.53 kB / 0.6809 GB, free: 32 kB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1589/0.1617, allocations: 86.97 MB / 0.7659 GB, free: 8.98 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor): time 0.006402/0.1682, allocations: 4.441 MB / 0.7702 GB, free: 4.52 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.4679/0.6361, allocations: 150.6 MB / 0.9172 GB, free: 7.957 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006203/0.6368, allocations: 15.94 kB / 0.9173 GB, free: 7.941 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.000546/0.6373, allocations: 177 kB / 0.9174 GB, free: 7.77 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.001486/0.6389, allocations: 0.5002 MB / 0.9179 GB, free: 7.281 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.001814/0.6407, allocations: 0.836 MB / 0.9187 GB, free: 6.473 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.001485/0.6422, allocations: 1.347 MB / 0.9201 GB, free: 5.121 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008359/0.643, allocations: 0.554 MB / 0.9206 GB, free: 4.551 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006558/0.6437, allocations: 474.3 kB / 0.921 GB, free: 4.086 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006331/0.6443, allocations: 489.9 kB / 0.9215 GB, free: 3.605 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0001581/0.6445, allocations: 108 kB / 0.9216 GB, free: 3.5 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001516/0.646, allocations: 0.8777 MB / 0.9225 GB, free: 2.621 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0002845/0.6463, allocations: 291.1 kB / 0.9228 GB, free: 2.336 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0005087/0.6468, allocations: 0.5275 MB / 0.9233 GB, free: 1.809 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.002274/0.6491, allocations: 1.784 MB / 0.925 GB, free: 28 kB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.6491, allocations: 0 / 0.925 GB, free: 28 kB / 0.67 GB Notification: Performance of FrontEnd: time 1.312e-06/0.6491, allocations: 0 / 0.925 GB, free: 28 kB / 0.67 GB Notification: Performance of Transformations before backend: time 1.3e-05/0.6492, allocations: 0 / 0.925 GB, free: 28 kB / 0.67 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 190 * Number of variables: 190 Notification: Performance of Generate backend data structure: time 0.002833/0.652, allocations: 1.494 MB / 0.9265 GB, free: 14.48 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.702e-05/0.652, allocations: 8.031 kB / 0.9265 GB, free: 14.47 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001643/0.6522, allocations: 124.9 kB / 0.9266 GB, free: 14.34 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001204/0.6534, allocations: 216 kB / 0.9268 GB, free: 14.13 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001212/0.6547, allocations: 0.771 MB / 0.9276 GB, free: 13.32 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.551e-05/0.6547, allocations: 54 kB / 0.9276 GB, free: 13.27 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001236/0.6548, allocations: 72 kB / 0.9277 GB, free: 13.2 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001688/0.6565, allocations: 0.8919 MB / 0.9285 GB, free: 12.26 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.663e-05/0.6566, allocations: 0 / 0.9285 GB, free: 12.26 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.847e-05/0.6567, allocations: 35.98 kB / 0.9286 GB, free: 12.23 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.865e-05/0.6567, allocations: 24 kB / 0.9286 GB, free: 12.2 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002117/0.6588, allocations: 1.124 MB / 0.9297 GB, free: 11.08 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004195/0.663, allocations: 2.479 MB / 0.9321 GB, free: 8.523 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001735/0.6648, allocations: 0.8358 MB / 0.9329 GB, free: 7.684 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000715/0.6655, allocations: 335.4 kB / 0.9333 GB, free: 7.355 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 7.945e-05/0.6656, allocations: 32.61 kB / 0.9333 GB, free: 7.324 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001079/0.6667, allocations: 0.5303 MB / 0.9338 GB, free: 6.773 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=82): time 2.465e-06/0.6667, allocations: 0 / 0.9338 GB, free: 6.773 MB / 0.6856 GB Notification: Performance of matching and sorting (n=82): time 0.003807/0.6705, allocations: 1.288 MB / 0.9351 GB, free: 5.457 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001233/0.6707, allocations: 196.6 kB / 0.9353 GB, free: 5.223 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008507/0.6715, allocations: 0.6333 MB / 0.9359 GB, free: 4.586 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 8.308e-05/0.6716, allocations: 45.7 kB / 0.9359 GB, free: 4.535 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003368/0.672, allocations: 385.1 kB / 0.9363 GB, free: 4.152 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002516/0.6722, allocations: 285.6 kB / 0.9366 GB, free: 3.871 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002575/0.6725, allocations: 154.6 kB / 0.9367 GB, free: 3.715 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0002077/0.6727, allocations: 390.4 kB / 0.9371 GB, free: 3.328 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006906/0.6734, allocations: 277.8 kB / 0.9373 GB, free: 3.059 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008113/0.6742, allocations: 395.4 kB / 0.9377 GB, free: 2.641 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001468/0.6757, allocations: 0.6479 MB / 0.9383 GB, free: 1.984 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.6757, allocations: 4 kB / 0.9384 GB, free: 1.98 MB / 0.6856 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.002378/0.6781, allocations: 0.8726 MB / 0.9392 GB, free: 1.098 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.209e-05/0.6781, allocations: 11.98 kB / 0.9392 GB, free: 1.086 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.302e-06/0.6781, allocations: 0 / 0.9392 GB, free: 1.086 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006409/0.6788, allocations: 80.91 kB / 0.9393 GB, free: 1.004 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007783/0.6796, allocations: 163.8 kB / 0.9394 GB, free: 0.8438 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002349/0.6819, allocations: 1.648 MB / 0.9411 GB, free: 15.05 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007892/0.6827, allocations: 105.4 kB / 0.9412 GB, free: 14.95 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.996e-05/0.6828, allocations: 31.97 kB / 0.9412 GB, free: 14.92 MB / 0.7012 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 15 (weaDatInpCon.decAng.tNext,$PRE.weaDatInpCon.decAng.tNext,weaDatInpCon.eqnTim.tNext,$PRE.weaDatInpCon.eqnTim.tNext,weaDatInpCon.conTim.tNext,$PRE.weaDatInpCon.conTim.tNext,weaDatInpCon.conTimMin.tNext,$PRE.weaDatInpCon.conTimMin.tNext,weaDatInpCon.locTim.tNext,$PRE.weaDatInpCon.locTim.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (89): * Single equations (assignments): 88 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0004542/0.6833, allocations: 267.4 kB / 0.9414 GB, free: 14.65 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001901/0.6835, allocations: 91.38 kB / 0.9415 GB, free: 14.56 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002994/0.6865, allocations: 1.202 MB / 0.9427 GB, free: 13.35 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.165e-05/0.6865, allocations: 8 kB / 0.9427 GB, free: 13.34 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.6865, allocations: 0 / 0.9427 GB, free: 13.34 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.016e-05/0.6865, allocations: 7.984 kB / 0.9427 GB, free: 13.33 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00119/0.6877, allocations: 0.9153 MB / 0.9436 GB, free: 12.37 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.536e-06/0.6878, allocations: 0 / 0.9436 GB, free: 12.37 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007161/0.6885, allocations: 163.8 kB / 0.9438 GB, free: 12.21 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00049/0.689, allocations: 72.78 kB / 0.9438 GB, free: 12.13 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.721e-05/0.6891, allocations: 31.97 kB / 0.9439 GB, free: 12.1 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002142/0.6912, allocations: 1.682 MB / 0.9455 GB, free: 10.27 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.592e-06/0.6912, allocations: 7.969 kB / 0.9455 GB, free: 10.26 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002385/0.6936, allocations: 0.9986 MB / 0.9465 GB, free: 9.242 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004156/0.694, allocations: 292.1 kB / 0.9468 GB, free: 8.938 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001178/0.6942, allocations: 24 kB / 0.9468 GB, free: 8.914 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007034/0.6949, allocations: 71.91 kB / 0.9469 GB, free: 8.844 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001704/0.6951, allocations: 76.83 kB / 0.9469 GB, free: 8.77 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.584e-05/0.6951, allocations: 31.98 kB / 0.947 GB, free: 8.738 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.0006166/0.6958, allocations: 475 kB / 0.9474 GB, free: 8.281 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.71e-07/0.6958, allocations: 0 / 0.9474 GB, free: 8.281 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.0009247/0.6967, allocations: 315.2 kB / 0.9477 GB, free: 7.973 MB / 0.7012 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDatInpCon.locTim.tNext,weaDatInpCon.conTimMin.tNext,weaDatInpCon.conTim.tNext,weaDatInpCon.eqnTim.tNext,weaDatInpCon.decAng.tNext) * Number of discrete states: 5 (weaDatInpCon.locTim.tNext,weaDatInpCon.conTimMin.tNext,weaDatInpCon.conTim.tNext,weaDatInpCon.eqnTim.tNext,weaDatInpCon.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (96): * Single equations (assignments): 90 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004499/0.7012, allocations: 2.079 MB / 0.9498 GB, free: 6.047 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.00203/0.7033, allocations: 0.8679 MB / 0.9506 GB, free: 5.172 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 3.105e-06/0.7033, allocations: 7.938 kB / 0.9506 GB, free: 5.164 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.001158/0.7044, allocations: 0.5665 MB / 0.9512 GB, free: 4.586 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001183/0.7056, allocations: 294.5 kB / 0.9514 GB, free: 4.328 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0125/0.7181, allocations: 6.513 MB / 0.9578 GB, free: 13.65 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006835/0.7189, allocations: 1.016 MB / 0.9588 GB, free: 12.61 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.000868/0.7197, allocations: 278.8 kB / 0.9591 GB, free: 12.33 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005887/0.7203, allocations: 379.3 kB / 0.9594 GB, free: 11.96 MB / 0.7169 GB Notification: Performance of SimCode: time 7.21e-07/0.7203, allocations: 0 / 0.9594 GB, free: 11.96 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4269/1.147, allocations: 22.16 MB / 0.9811 GB, free: 6.152 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.41/14.56, allocations: 7.547 kB / 0.9811 GB, free: 6.148 MB / 0.7325 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/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)