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.006777/0.006777, allocations: 99.64 kB / 15.73 MB, free: 6.465 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.001544/0.001544, allocations: 190.8 kB / 16.67 MB, free: 6.379 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.329/1.329, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002194/0.002194, allocations: 287 kB / 290.8 MB, free: 1.922 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.95/0.95, allocations: 169.3 MB / 0.4983 GB, free: 13.8 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001877/0.001877, allocations: 105.1 kB / 0.6809 GB, free: 28 kB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1693/0.1712, allocations: 86.97 MB / 0.7659 GB, free: 8.977 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor): time 0.006825/0.178, allocations: 4.429 MB / 0.7702 GB, free: 4.527 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.5314/0.7095, allocations: 150.6 MB / 0.9172 GB, free: 7.926 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008049/0.7103, allocations: 19.88 kB / 0.9173 GB, free: 7.906 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.000565/0.7109, allocations: 166.4 kB / 0.9174 GB, free: 7.742 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.001659/0.7126, allocations: 0.5077 MB / 0.9179 GB, free: 7.25 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.001963/0.7146, allocations: 0.8406 MB / 0.9187 GB, free: 6.441 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.001458/0.7161, allocations: 1.345 MB / 0.9201 GB, free: 5.094 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007896/0.7169, allocations: 0.5507 MB / 0.9206 GB, free: 4.527 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006119/0.7175, allocations: 482.3 kB / 0.9211 GB, free: 4.055 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005924/0.7181, allocations: 485.9 kB / 0.9215 GB, free: 3.578 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0001373/0.7182, allocations: 108 kB / 0.9216 GB, free: 3.473 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001649/0.7199, allocations: 0.8757 MB / 0.9225 GB, free: 2.598 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0002888/0.7202, allocations: 287.1 kB / 0.9227 GB, free: 2.316 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0005207/0.7207, allocations: 0.5285 MB / 0.9233 GB, free: 1.785 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.002478/0.7232, allocations: 1.775 MB / 0.925 GB, free: 8 kB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 6.011e-06/0.7232, allocations: 0 / 0.925 GB, free: 8 kB / 0.67 GB Notification: Performance of FrontEnd: time 1.563e-06/0.7232, allocations: 0 / 0.925 GB, free: 8 kB / 0.67 GB Notification: Performance of Transformations before backend: time 1.827e-05/0.7233, allocations: 4 kB / 0.925 GB, free: 4 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.002675/0.7259, allocations: 1.452 MB / 0.9264 GB, free: 14.5 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.564e-05/0.726, allocations: 12.03 kB / 0.9264 GB, free: 14.49 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001567/0.7262, allocations: 122.8 kB / 0.9265 GB, free: 14.36 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001138/0.7273, allocations: 204.3 kB / 0.9267 GB, free: 14.16 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001344/0.7287, allocations: 0.7665 MB / 0.9275 GB, free: 13.36 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.065e-05/0.7287, allocations: 58 kB / 0.9275 GB, free: 13.3 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001247/0.7289, allocations: 79.98 kB / 0.9276 GB, free: 13.22 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00163/0.7305, allocations: 0.8919 MB / 0.9285 GB, free: 12.29 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.042e-05/0.7305, allocations: 3.938 kB / 0.9285 GB, free: 12.28 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.14e-05/0.7306, allocations: 32 kB / 0.9285 GB, free: 12.25 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.965e-05/0.7307, allocations: 20 kB / 0.9285 GB, free: 12.23 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001951/0.7326, allocations: 1.128 MB / 0.9296 GB, free: 11.1 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004179/0.7368, allocations: 2.467 MB / 0.9321 GB, free: 8.559 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001633/0.7385, allocations: 0.8371 MB / 0.9329 GB, free: 7.719 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006477/0.7391, allocations: 336 kB / 0.9332 GB, free: 7.391 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 8.043e-05/0.7392, allocations: 36.59 kB / 0.9332 GB, free: 7.355 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001031/0.7403, allocations: 0.5265 MB / 0.9337 GB, free: 6.809 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=82): time 2.214e-06/0.7403, allocations: 0 / 0.9337 GB, free: 6.809 MB / 0.6856 GB Notification: Performance of matching and sorting (n=82): time 0.003561/0.7439, allocations: 1.292 MB / 0.935 GB, free: 5.488 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000116/0.744, allocations: 188.6 kB / 0.9352 GB, free: 5.262 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008389/0.7448, allocations: 0.6373 MB / 0.9358 GB, free: 4.621 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 8.061e-05/0.7449, allocations: 41.7 kB / 0.9358 GB, free: 4.574 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003104/0.7452, allocations: 376.5 kB / 0.9362 GB, free: 4.199 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002205/0.7455, allocations: 276.1 kB / 0.9365 GB, free: 3.926 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002449/0.7457, allocations: 150.6 kB / 0.9366 GB, free: 3.773 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001843/0.7459, allocations: 394.7 kB / 0.937 GB, free: 3.379 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006071/0.7465, allocations: 277.6 kB / 0.9373 GB, free: 3.113 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007388/0.7473, allocations: 395.3 kB / 0.9376 GB, free: 2.695 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001301/0.7486, allocations: 0.651 MB / 0.9383 GB, free: 2.035 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.637e-06/0.7486, allocations: 0 / 0.9383 GB, free: 2.035 MB / 0.6856 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.002105/0.7507, allocations: 0.8721 MB / 0.9391 GB, free: 1.152 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.754e-05/0.7508, allocations: 8 kB / 0.9391 GB, free: 1.145 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.715e-06/0.7508, allocations: 0 / 0.9391 GB, free: 1.145 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005896/0.7514, allocations: 80.88 kB / 0.9392 GB, free: 1.062 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007104/0.7521, allocations: 167.8 kB / 0.9394 GB, free: 0.8984 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002179/0.7543, allocations: 1.647 MB / 0.941 GB, free: 15.11 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007124/0.755, allocations: 98 kB / 0.9411 GB, free: 15.02 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.104e-05/0.7551, allocations: 31.98 kB / 0.9411 GB, free: 14.98 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.0004171/0.7555, allocations: 263.5 kB / 0.9413 GB, free: 14.72 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000161/0.7557, allocations: 86.91 kB / 0.9414 GB, free: 14.63 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002716/0.7584, allocations: 1.203 MB / 0.9426 GB, free: 13.42 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.105e-05/0.7584, allocations: 12 kB / 0.9426 GB, free: 13.41 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/0.7584, allocations: 4 kB / 0.9426 GB, free: 13.4 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.253e-05/0.7584, allocations: 3.984 kB / 0.9426 GB, free: 13.4 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00103/0.7595, allocations: 0.9229 MB / 0.9435 GB, free: 12.43 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.31e-06/0.7595, allocations: 4 kB / 0.9435 GB, free: 12.42 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006556/0.7601, allocations: 159.8 kB / 0.9437 GB, free: 12.27 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004316/0.7606, allocations: 72.78 kB / 0.9437 GB, free: 12.19 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.586e-05/0.7607, allocations: 27.98 kB / 0.9438 GB, free: 12.16 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001886/0.7625, allocations: 1.674 MB / 0.9454 GB, free: 10.34 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.7626, allocations: 0 / 0.9454 GB, free: 10.34 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002186/0.7648, allocations: 1.002 MB / 0.9464 GB, free: 9.316 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004038/0.7652, allocations: 283.7 kB / 0.9467 GB, free: 9.02 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001237/0.7653, allocations: 24 kB / 0.9467 GB, free: 8.996 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006486/0.766, allocations: 75.91 kB / 0.9468 GB, free: 8.922 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001477/0.7661, allocations: 72.89 kB / 0.9468 GB, free: 8.852 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.005e-05/0.7662, allocations: 43.97 kB / 0.9469 GB, free: 8.809 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.0005673/0.7668, allocations: 459 kB / 0.9473 GB, free: 8.367 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7668, allocations: 0 / 0.9473 GB, free: 8.367 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.0008345/0.7676, allocations: 315.4 kB / 0.9476 GB, free: 8.059 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.00373/0.7714, allocations: 2.081 MB / 0.9496 GB, free: 6.129 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.001914/0.7733, allocations: 0.8712 MB / 0.9505 GB, free: 5.25 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 4.178e-06/0.7733, allocations: 4.25 kB / 0.9505 GB, free: 5.246 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.001003/0.7743, allocations: 0.5548 MB / 0.951 GB, free: 4.68 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001187/0.7755, allocations: 309.1 kB / 0.9513 GB, free: 4.406 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0115/0.787, allocations: 6.472 MB / 0.9576 GB, free: 13.77 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006645/0.7877, allocations: 1.022 MB / 0.9586 GB, free: 12.72 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0009932/0.7887, allocations: 274.9 kB / 0.9589 GB, free: 12.45 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006004/0.7894, allocations: 383.3 kB / 0.9593 GB, free: 12.07 MB / 0.7169 GB Notification: Performance of SimCode: time 2.836e-06/0.7894, allocations: 0 / 0.9593 GB, free: 12.07 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05544/0.8448, allocations: 22.59 MB / 0.9813 GB, free: 5.836 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.63/13.48, allocations: 5 kB / 0.9813 GB, free: 5.832 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)