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.001795/0.001795, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001792/0.001792, allocations: 194.7 kB / 16.53 MB, free: 6.391 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.135/1.135, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001889/0.001889, allocations: 278.7 kB / 290.7 MB, free: 2 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8188/0.8188, allocations: 169.3 MB / 0.4982 GB, free: 13.89 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001581/0.001581, allocations: 100.5 kB / 0.5953 GB, free: 28.14 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1402/0.1418, allocations: 86.97 MB / 0.6803 GB, free: 0.5781 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor): time 0.005355/0.1472, allocations: 4.431 MB / 0.6846 GB, free: 12.14 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.3814/0.5287, allocations: 150.5 MB / 0.8316 GB, free: 1.203 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005935/0.5293, allocations: 24.03 kB / 0.8316 GB, free: 1.191 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0004312/0.5297, allocations: 172.1 kB / 0.8318 GB, free: 1.102 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001187/0.531, allocations: 0.5079 MB / 0.8323 GB, free: 0.9531 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001429/0.5324, allocations: 0.8303 MB / 0.8331 GB, free: 0.8828 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.000856/0.5333, allocations: 1.336 MB / 0.8344 GB, free: 0.6797 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006117/0.5339, allocations: 0.5682 MB / 0.835 GB, free: 0.5508 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003951/0.5343, allocations: 468.4 kB / 0.8354 GB, free: 472 kB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004301/0.5347, allocations: 0.4887 MB / 0.8359 GB, free: 356 kB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001503/0.5349, allocations: 109.5 kB / 0.836 GB, free: 356 kB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001043/0.5359, allocations: 0.8444 MB / 0.8368 GB, free: 320 kB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001872/0.5361, allocations: 282.2 kB / 0.8371 GB, free: 276 kB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003398/0.5365, allocations: 0.5291 MB / 0.8376 GB, free: 104 kB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001394/0.5379, allocations: 1.736 MB / 0.8393 GB, free: 15.86 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.5379, allocations: 3.562 kB / 0.8393 GB, free: 15.86 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.122e-06/0.5379, allocations: 0 / 0.8393 GB, free: 15.86 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.543e-05/0.5379, allocations: 0 / 0.8393 GB, free: 15.86 MB / 0.5762 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.002223/0.5401, allocations: 1.451 MB / 0.8407 GB, free: 15.02 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.131e-05/0.5402, allocations: 9.625 kB / 0.8407 GB, free: 15.02 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001284/0.5403, allocations: 120.2 kB / 0.8409 GB, free: 14.96 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001104/0.5414, allocations: 210.1 kB / 0.8411 GB, free: 14.87 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009097/0.5423, allocations: 0.7476 MB / 0.8418 GB, free: 14.4 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.473e-05/0.5424, allocations: 57.91 kB / 0.8418 GB, free: 14.39 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.752e-05/0.5425, allocations: 75.92 kB / 0.8419 GB, free: 14.39 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001443/0.5439, allocations: 0.8904 MB / 0.8428 GB, free: 14.06 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.629e-05/0.544, allocations: 0 / 0.8428 GB, free: 14.06 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.626e-05/0.5441, allocations: 32.88 kB / 0.8428 GB, free: 14.06 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.615e-05/0.5441, allocations: 18.41 kB / 0.8428 GB, free: 14.06 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001851/0.5459, allocations: 1.134 MB / 0.8439 GB, free: 13.57 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003459/0.5494, allocations: 2.501 MB / 0.8464 GB, free: 11.65 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001511/0.5509, allocations: 0.8273 MB / 0.8472 GB, free: 11.24 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006549/0.5516, allocations: 331.7 kB / 0.8475 GB, free: 11.07 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 6.939e-05/0.5517, allocations: 34.2 kB / 0.8475 GB, free: 11.06 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009872/0.5527, allocations: 0.531 MB / 0.8481 GB, free: 10.71 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=82): time 1.924e-06/0.5527, allocations: 2.75 kB / 0.8481 GB, free: 10.71 MB / 0.5762 GB Notification: Performance of matching and sorting (n=82): time 0.003391/0.5561, allocations: 1.283 MB / 0.8493 GB, free: 10.03 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.35e-05/0.5562, allocations: 195.3 kB / 0.8495 GB, free: 9.805 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006686/0.5568, allocations: 0.642 MB / 0.8501 GB, free: 9.43 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 6.693e-05/0.5569, allocations: 43.05 kB / 0.8502 GB, free: 9.387 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002488/0.5572, allocations: 380.7 kB / 0.8505 GB, free: 9.055 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001899/0.5574, allocations: 267.3 kB / 0.8508 GB, free: 8.828 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002108/0.5576, allocations: 150.2 kB / 0.8509 GB, free: 8.738 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001566/0.5578, allocations: 398.2 kB / 0.8513 GB, free: 8.359 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006314/0.5584, allocations: 276.8 kB / 0.8516 GB, free: 8.223 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007183/0.5591, allocations: 388.5 kB / 0.8519 GB, free: 7.98 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001318/0.5604, allocations: 0.6546 MB / 0.8526 GB, free: 7.621 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.464e-06/0.5605, allocations: 0 / 0.8526 GB, free: 7.621 MB / 0.5762 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.002063/0.5625, allocations: 0.8651 MB / 0.8534 GB, free: 7.18 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.336e-05/0.5626, allocations: 6.594 kB / 0.8534 GB, free: 7.18 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.102e-06/0.5626, allocations: 2.625 kB / 0.8534 GB, free: 7.18 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005752/0.5631, allocations: 83.59 kB / 0.8535 GB, free: 7.137 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006928/0.5638, allocations: 174.5 kB / 0.8537 GB, free: 7.086 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001904/0.5658, allocations: 1.651 MB / 0.8553 GB, free: 5.469 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006583/0.5664, allocations: 98.5 kB / 0.8554 GB, free: 5.406 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.996e-05/0.5665, allocations: 31.67 kB / 0.8554 GB, free: 5.395 MB / 0.5762 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.0003254/0.5668, allocations: 268.5 kB / 0.8557 GB, free: 5.184 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001537/0.567, allocations: 91.88 kB / 0.8558 GB, free: 5.133 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002784/0.5698, allocations: 1.195 MB / 0.8569 GB, free: 4.477 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.334e-06/0.5698, allocations: 9.75 kB / 0.8569 GB, free: 4.477 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.204e-06/0.5698, allocations: 0 / 0.8569 GB, free: 4.477 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.095e-05/0.5698, allocations: 3.984 kB / 0.8569 GB, free: 4.473 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008977/0.5707, allocations: 0.931 MB / 0.8578 GB, free: 3.781 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.866e-06/0.5707, allocations: 0 / 0.8578 GB, free: 3.781 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006372/0.5714, allocations: 170.7 kB / 0.858 GB, free: 3.734 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004392/0.5718, allocations: 68.03 kB / 0.8581 GB, free: 3.699 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.339e-05/0.5719, allocations: 33.83 kB / 0.8581 GB, free: 3.68 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001746/0.5736, allocations: 1.675 MB / 0.8597 GB, free: 2.047 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.5737, allocations: 0 / 0.8597 GB, free: 2.047 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002091/0.5758, allocations: 1.003 MB / 0.8607 GB, free: 1.52 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000318/0.5761, allocations: 286 kB / 0.861 GB, free: 1.27 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001291/0.5762, allocations: 25.02 kB / 0.861 GB, free: 1.25 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00065/0.5769, allocations: 71.2 kB / 0.8611 GB, free: 1.215 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001402/0.577, allocations: 76.14 kB / 0.8612 GB, free: 1.172 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.905e-05/0.5771, allocations: 41.62 kB / 0.8612 GB, free: 1.156 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004803/0.5776, allocations: 459.5 kB / 0.8616 GB, free: 0.8945 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.51e-07/0.5776, allocations: 0 / 0.8616 GB, free: 0.8945 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0006974/0.5783, allocations: 319.1 kB / 0.8619 GB, free: 0.8008 MB / 0.5762 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.003457/0.5818, allocations: 2.079 MB / 0.864 GB, free: 15.54 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.002431/0.5842, allocations: 1.084 MB / 0.865 GB, free: 15.05 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.599e-06/0.5842, allocations: 6.469 kB / 0.865 GB, free: 15.04 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0009914/0.5852, allocations: 0.5429 MB / 0.8656 GB, free: 14.75 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001041/0.5863, allocations: 292 kB / 0.8658 GB, free: 14.6 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01075/0.597, allocations: 6.715 MB / 0.8724 GB, free: 10.36 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005015/0.5976, allocations: 1.013 MB / 0.8734 GB, free: 9.523 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0008112/0.5984, allocations: 279.3 kB / 0.8737 GB, free: 9.383 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004914/0.5989, allocations: 379.4 kB / 0.874 GB, free: 9.086 MB / 0.5919 GB Notification: Performance of SimCode: time 2.41e-07/0.5989, allocations: 0 / 0.874 GB, free: 9.086 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.154/1.753, allocations: 21.95 MB / 0.8955 GB, free: 4.035 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.07/15.82, allocations: 4.375 kB / 0.8955 GB, free: 4.031 MB / 0.6075 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)