Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.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/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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(Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_WeatherData_Validation_ReaderTMY3HDirNor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor,fileNamePrefix="Buildings_latest_Buildings_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.006013/0.006014, allocations: 101.9 kB / 15.74 MB, free: 6.043 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.001675/0.001675, allocations: 202.1 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.313/1.313, 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/Buildings 12.0.0-master/package.mo): time 2.554/2.554, allocations: 482.6 MB / 0.755 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001686/0.001686, allocations: 64.3 kB / 1.083 GB, free: 12.26 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2622/0.2639, allocations: 162.3 MB / 1.242 GB, free: 9.867 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor): time 0.005837/0.2698, allocations: 4.688 MB / 1.246 GB, free: 5.152 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.6266/0.8964, allocations: 150.6 MB / 1.393 GB, free: 1.629 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006054/0.8971, allocations: 16.5 kB / 1.393 GB, free: 1.625 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.0005586/0.8977, allocations: 194 kB / 1.394 GB, free: 1.453 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.001487/0.8992, allocations: 0.5318 MB / 1.394 GB, free: 1.074 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.001631/0.9008, allocations: 0.8352 MB / 1.395 GB, free: 468 kB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.001151/0.902, allocations: 1.389 MB / 1.396 GB, free: 15.59 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00066/0.9027, allocations: 0.5357 MB / 1.397 GB, free: 15.27 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004548/0.9031, allocations: 475.2 kB / 1.397 GB, free: 14.98 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005068/0.9036, allocations: 492.5 kB / 1.398 GB, free: 14.64 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.0001304/0.9038, allocations: 113.6 kB / 1.398 GB, free: 14.64 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001137/0.9049, allocations: 0.8728 MB / 1.399 GB, free: 14.22 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.0002415/0.9052, allocations: 285 kB / 1.399 GB, free: 14 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.0004397/0.9056, allocations: 0.5369 MB / 1.4 GB, free: 13.6 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.001727/0.9073, allocations: 1.794 MB / 1.401 GB, free: 12.35 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 2.865e-06/0.9074, allocations: 0 / 1.401 GB, free: 12.35 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.092e-06/0.9074, allocations: 0 / 1.401 GB, free: 12.35 MB / 1.107 GB Notification: Performance of Transformations before backend: time 1.059e-05/0.9074, allocations: 0 / 1.401 GB, free: 12.35 MB / 1.107 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.002222/0.9096, allocations: 1.504 MB / 1.403 GB, free: 11.15 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 2.956e-05/0.9096, allocations: 8.844 kB / 1.403 GB, free: 11.15 MB / 1.107 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001336/0.9098, allocations: 121.3 kB / 1.403 GB, free: 11.05 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001011/0.9108, allocations: 222.2 kB / 1.403 GB, free: 10.94 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001001/0.9118, allocations: 0.7687 MB / 1.404 GB, free: 10.31 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.905e-05/0.9119, allocations: 57.25 kB / 1.404 GB, free: 10.29 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.893e-05/0.912, allocations: 69.12 kB / 1.404 GB, free: 10.27 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001477/0.9134, allocations: 0.9008 MB / 1.405 GB, free: 9.668 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.635e-05/0.9135, allocations: 0 / 1.405 GB, free: 9.668 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.32e-05/0.9135, allocations: 32.12 kB / 1.405 GB, free: 9.645 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.6e-05/0.9136, allocations: 22.36 kB / 1.405 GB, free: 9.641 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001842/0.9154, allocations: 1.127 MB / 1.406 GB, free: 9.102 MB / 1.107 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003307/0.9187, allocations: 2.578 MB / 1.409 GB, free: 7.043 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001421/0.9202, allocations: 0.8344 MB / 1.409 GB, free: 6.625 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006151/0.9208, allocations: 340.3 kB / 1.41 GB, free: 6.457 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 6.609e-05/0.9209, allocations: 30.56 kB / 1.41 GB, free: 6.441 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008896/0.9218, allocations: 0.5273 MB / 1.41 GB, free: 6.102 MB / 1.107 GB Notification: Performance of pre-optimization done (n=82): time 1.753e-06/0.9218, allocations: 4 kB / 1.41 GB, free: 6.098 MB / 1.107 GB Notification: Performance of matching and sorting (n=82): time 0.00311/0.9249, allocations: 1.293 MB / 1.411 GB, free: 5.398 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.77e-05/0.925, allocations: 189.4 kB / 1.412 GB, free: 5.18 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006401/0.9256, allocations: 0.6428 MB / 1.412 GB, free: 4.809 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 5.695e-05/0.9257, allocations: 43.2 kB / 1.412 GB, free: 4.766 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002589/0.926, allocations: 386.5 kB / 1.413 GB, free: 4.426 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.000189/0.9262, allocations: 274.7 kB / 1.413 GB, free: 4.188 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002034/0.9264, allocations: 155.2 kB / 1.413 GB, free: 4.09 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.00017/0.9266, allocations: 397.9 kB / 1.413 GB, free: 3.711 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005704/0.9271, allocations: 273 kB / 1.414 GB, free: 3.582 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006769/0.9278, allocations: 395.5 kB / 1.414 GB, free: 3.332 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001254/0.9291, allocations: 0.6495 MB / 1.415 GB, free: 2.977 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.275e-06/0.9291, allocations: 0 / 1.415 GB, free: 2.977 MB / 1.107 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001893/0.931, allocations: 0.8782 MB / 1.416 GB, free: 2.527 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 1.263e-05/0.931, allocations: 6.344 kB / 1.416 GB, free: 2.527 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.561e-06/0.931, allocations: 1.188 kB / 1.416 GB, free: 2.527 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005027/0.9315, allocations: 81.94 kB / 1.416 GB, free: 2.488 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006053/0.9321, allocations: 169.1 kB / 1.416 GB, free: 2.441 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1411/1.073, allocations: 1.652 MB / 1.417 GB, free: 0.8203 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007867/1.074, allocations: 94.03 kB / 1.418 GB, free: 0.7617 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.469e-05/1.074, allocations: 32.36 kB / 1.418 GB, free: 0.75 MB / 1.107 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.0003999/1.075, allocations: 272.1 kB / 1.418 GB, free: 0.5312 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001421/1.075, allocations: 92.16 kB / 1.418 GB, free: 492 kB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00243/1.077, allocations: 1.198 MB / 1.419 GB, free: 15.81 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.472e-06/1.077, allocations: 14.84 kB / 1.419 GB, free: 15.81 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.144e-06/1.077, allocations: 0 / 1.419 GB, free: 15.81 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.034e-05/1.077, allocations: 7.969 kB / 1.419 GB, free: 15.8 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008691/1.078, allocations: 0.9236 MB / 1.42 GB, free: 15.1 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.465e-06/1.078, allocations: 0 / 1.42 GB, free: 15.1 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005622/1.079, allocations: 165.8 kB / 1.42 GB, free: 15.05 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003903/1.079, allocations: 73.38 kB / 1.42 GB, free: 15.02 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.306e-05/1.079, allocations: 24.92 kB / 1.42 GB, free: 15 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001742/1.081, allocations: 1.681 MB / 1.422 GB, free: 13.36 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/1.081, allocations: 0 / 1.422 GB, free: 13.36 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00195/1.083, allocations: 1.008 MB / 1.423 GB, free: 12.83 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002967/1.083, allocations: 283.1 kB / 1.423 GB, free: 12.55 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001006/1.083, allocations: 23.98 kB / 1.423 GB, free: 12.52 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005562/1.084, allocations: 73.48 kB / 1.423 GB, free: 12.45 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000137/1.084, allocations: 80.64 kB / 1.423 GB, free: 12.38 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.34e-05/1.084, allocations: 35.97 kB / 1.423 GB, free: 12.34 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.0004778/1.084, allocations: 467 kB / 1.424 GB, free: 11.89 MB / 1.123 GB Notification: Performance of sort global known variables: time 1.21e-07/1.084, allocations: 4 kB / 1.424 GB, free: 11.89 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.00065/1.085, allocations: 323.2 kB / 1.424 GB, free: 11.57 MB / 1.123 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.003699/1.089, allocations: 2.088 MB / 1.426 GB, free: 9.641 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.001633/1.09, allocations: 0.8751 MB / 1.427 GB, free: 8.754 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 2.245e-06/1.091, allocations: 7.875 kB / 1.427 GB, free: 8.746 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.0009368/1.091, allocations: 0.5548 MB / 1.428 GB, free: 8.176 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009616/1.092, allocations: 301.2 kB / 1.428 GB, free: 7.898 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009222/1.102, allocations: 6.402 MB / 1.434 GB, free: 1.336 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005361/1.102, allocations: 1.012 MB / 1.435 GB, free: 300 kB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.0006491/1.103, allocations: 278.9 kB / 1.435 GB, free: 16 kB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004899/1.103, allocations: 383.3 kB / 1.436 GB, free: 15.64 MB / 1.139 GB Notification: Performance of SimCode: time 2.4e-07/1.103, allocations: 4 kB / 1.436 GB, free: 15.63 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.302/3.405, allocations: 22.44 MB / 1.458 GB, free: 9.539 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate platform static: time 23.26/26.66, allocations: 15.64 kB / 1.458 GB, free: 9.523 MB / 1.154 GB (rm -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor_res.mat --tempDir=temp_Buildings_latest_Buildings_BoundaryConditions_WeatherData_Validation_ReaderTMY3HDirNor_fmu --startTime=0 --stopTime=86400 --timeout=400 --tolerance=1e-06 Buildings_latest_Buildings_BoundaryConditions_WeatherData_Validation_ReaderTMY3HDirNor.fmu > Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.pipe 2>&1)